Query this table to return the extended permissions the current user has granted to the application.
Note: You can cache this data and subscribe to real time updates on its fields.
Highlighted rows are indexable / searchable and one is usually required in the WHERE portion of the query.
|uid||int||The user ID of the current user, or the page_id of the Page.|
|[PERMISSION_NAME]||bool||Indicates whether the user granted your application the extended permission.|
Test if the current user has
SELECT publish_stream,read_stream FROM permissions WHERE uid=me()
Returns a "1" for each permission that has been granted.
You can query using a Facebook UID, but if you query for a user other than the current one or for a page not owned by the current user, you get an empty result.