I am running below query but it display like 10 20 results even though i have thousands of friends
how can i get all friends userids ?
SELECT uid1 FROM friend WHERE uid2 = me()
I am running below query but it display like 10 20 results even though i have thousands of friends
how can i get all friends userids ?
SELECT uid1 FROM friend WHERE uid2 = me()
Not every info is available with the API. And as Wizkid commented, you only get friends who authorized your App too. But you should not use FQL for this, it´s a simple call to /me/friends with the Graph API.
You can find more information in the changelog: https://developers.facebook.com/docs/apps/changelog
There is also a very detailed answer about that topic in this thread: Facebook Graph Api v2.0+ - /me/friends returns empty, or only friends who also use my app