I want to make a batch query similar to this:
SELECT name FROM user
WHERE uid IN (userID1, userID2, userID3 ...) and name LIKE '%searchParameter%'
Is this even possible? And how can I achieve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes it is possible
SELECT name, uid from user WHERE uid in (SELECT uid2 FROM friend WHERE uid1=me()) and strpos(lower(name),lower('Zuck')) >= 0In the case above I’m querying for names from friends that include the letters
zuckhttp://developers.facebook.com/docs/reference/fql/user/