Reputation: 306
I'm use facebook-sdk-0.4.0 I trying run from my server
access_token = get_app_access_token(settings.FACEBOOK_APP_ID, settings.FACEBOOK_API_SECRET)
graph = GraphAPI(access_token)
response = graph.put_wall_post(profile_id='274460312618957', message=message, attachment={'link':link, })
But have error
(#200) The user hasn't authorized the application to perform this action
I have admin-rules of this page (274460312618957) I have admin-rules of this APP settings.FACEBOOK_APP_ID
Way error (#200) ??
Upvotes: 1
Views: 201
Reputation: 12092
You need publish_stream
permission for your app in order to create posts as detailed here. As to why you get a response code 200
, they are detailed here
Upvotes: 1