Reputation: 685
How can I check if the user has given permission and not disabled (publish_action) permission to do post (publish_action) using open graph apis ?
Upvotes: 1
Views: 523
Reputation: 43816
Make a call to /me/permissions
with the user's access token or /USER_ID/permissions
with the app access token. It shows which permissions you have for that user.
Sample output is:
{
"data": [
{
"installed": 1,
"manage_pages": 1,
"user_actions.music": 1
}
]
}
Upvotes: 2