I’m trying to access basic information from a FRIEND page via FQL:
SELECT name, status, locale FROM user WHERE uid = 11111111
I can get the name and locale, but I can’t see their status. If I go to their page, I can see their status, so I should have access to it via the FQL api too, shouldn’t I?
Or, do I have to request every user for user_status (or friends_status?) when next they visit the page? This is definitely my stumbling block.
thanks.
To see what permissions you have for your access token, lint it at https://developers.facebook.com/tools/lint.
To see a friend’s status, the user will need to grant
friends_statusper https://developers.facebook.com/docs/reference/api/permissions.If you find that you don’t have those permissions for that user, send them to FB.login() with the
scopeparameter set to the permissions you require.