Reputation: 39
I would like to do the following (if possible).
What I have:
Permissions:
publish_stream, user_likes, offline_access
When I try to like a story:
{
"error": {
"message": "(#200) Permissions error",
"type": "OAuthException",
"code": 200
}
}
I've tried with a token of another app that I have allowed myself, and it works, but it's not that easy to derive the correct permissions from it.
So; Which permissions do i need to like a comment/img? (if possible the correct name of that permission)
Thanks.
Upvotes: 2
Views: 1182
Reputation: 38135
Double check your permissions & code. You only need the publish_stream
permission:
Comments
You can like a
comment
by issuing an HTTP POST request toCOMMENT_ID/likes
with thepublish_stream
permission. No parameters necessary.
You can write to the
STATUS_MESSAGE_ID/likes
connection to like the status message by issuing an HTTP POST request with thepublish_stream
permission. No parameters necessary.
Upvotes: 2