Take the 2-minute tour ×  As the title says i want to search
with Facebook Api (Graph Api or FQL, that doesnt matter, or even
REST) for users. For example: I want to search for "Britney
Spears" and i want to get all users with that name (like
%search%). The result should be like http://www.facebook.com/sea
rch/results.php?q=britney%20spears&init=quick&tas=0.805843561532
4403&type=users  share|improve this question  1 Answer 1  up
vote 1 down vote accepted  you can use the search API from the
Graph API for a particular user like this:  People:
https://graph.facebook.com/search?q=USER_NAME&type=user  If you
want to search for a list of users, you can you this:  SELECT
uid, username, name, pic_square FROM user WHERE contains("Joe
Biden")  Refer official user table docs to see all the fields
you can query  But the CONTAINS() function is known to be
mysterious and no one from facebook has clarified it yet. It
might work in some cases and others it might not.  see thread:
Documentation for CONTAINS() in FQL?  I guess