0
votes

I´m using API Grapgh Facebook trying to Post in the Wall of a {User-id}.

I use this:

POST /v2.3/{user-id}/feed HTTP/1.1 Host: graph.facebook.com

message=This+is+a+test+message

with the token for the application.

enter image description here

It returns "(#200) The user hasn't authorized the application to perform this action" but the user-id has permission "publish_actions".

I don't know why I have not permission

1
So I think you need to get a page token from your user token to gain permissions. See manage_pages for more information. You then would use that page access key such as described in this answer - Dean coakley
The {user-id} is not a page, it is a personal acount, it is necessary manage_page and publish_pages? - user1253414
That doesn’t look like a user access token, but an app access token. Switch to a user access token. - CBroe

1 Answers

0
votes

You cannot post to another user's wall without their permissions to your app.

Post on your wall with user access token, tag your friend see example here