I have an FQL query:
$FQLQuery = 'SELECT uid, sex, pic_square FROM user WHERE uid in (implode(",", $man);)';
$man is an array.
This query is not working, and I am getting an error from Facebook saying “unexpected $ in line 45”
What’s wrong with this query?
I tried it with join() also giving me the same error. How can I fix this problem?
Assuming
$manis a single dimensional array of Facebook User IDs, it should be: