简体   繁体   中英

python facebook wall post (#200)

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) ??

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM