问题
Relatively new to interacting with Facebook through the Graph API, so apologies in advance.
I a simply trying to post a facebook status to my own facebook with the python facebook-sdk and the Graph API.
I have authorized a user-access-token with literally every permission:
Sceenshot of Permissions
And then using the API documentation, I am simply doing
graph.put_object(parent_object='me', connection_name='feed',
message='Hello, world')
With the graph object built by calling the provided access key.
However, I keep getting this error:
facebook.GraphAPIError: (#200) Requires either publish_to_groups permission and app being installed in the group, or manage_pages and publish_pages as an admin with sufficient administrative permission
Any chance you guys know what I'm missing?
回答1:
Posting to your own feed with the API is not possible anymore, the required permission publish_actions
has been removed. You can use the share dialog instead.
More information: Facebook "publish_actions" permission
来源:https://stackoverflow.com/questions/52353828/posting-to-facebook-with-python-and-graph-api-permissions-issue