I’m trying to query the permissions FQL table with my app access_token with something like:
https://graph.facebook.com/fql?&access_token=337313372909587|U_TaFVlx-9D6vOJXXXXZp22034k&q=select user_about_me from permissions where uid = me()
Where 337313372909587|U_TaFVlx-9D6vOJXXXXZp22034k is my app access token (of course I changed it)
The problem is that it doesn’t work. If I try, instead, to replace the app access_token with the user access_token, it works.
The point is that, according to the documentation what I’m trying to do should be possible.
Is this a bug, either in the API or in the documentation? Is there a workaround?
If that’s not a typo in your question, you are using
where uid=me()in the queryme()is a placeholder for the user ID of the current session user (i.e the user whose access token you’re using)If you’re trying to make that call with an app access token you need to specify the user ID
https://graph.facebook.com/fql?&access_token=APP_ACCESS_TOKEN&q=select user_about_me from permissions where uid = USER_IDshould work (works for me)