In AS3, I use this code to retrieve users.
var headers:Dictionary = new Dictionary();
headers.like = searchString;
But this works on UserID parameters. Users logged with facebook accounts have username which is their facebook id. So, it becomes useless.
How can I search people by firstname, lastname etc parameters.
I also tried getUsersByProfileData but it works for full strings. (e.g. for "Nick" , not "Ni")