Sean H Jenkins
Sean H Jenkins

Reputation: 1780

Facebook Graph API error?

I'm fairly new to Facebook's Graph API. I'm trying to use their Graph API Explorer to post a message to my Fan Page wall. I have the paramters setup like below:-

Req Type: POST

Post URI: https://graph.facebook.com/MY_APP_ID/feed

Name Value: { message : 'This is a test message' }

Obviously the access token is set-up automatically in the Explorer.

But for some reason I get the error (#200) The user hasn't authorized the application to perform this action when I try to make the request.

I assume I've got to set something up somewhere, but can't find anything? Any ideas?

Upvotes: 2

Views: 2544

Answers (1)

Igy
Igy

Reputation: 43816

See https://developers.facebook.com/docs/authentication/permissions/ - you likely don't have the correct permissions in your access token - most likely to be missing is publish_stream

Upvotes: 2

Related Questions