'DELETE Post using Python FaceBook Graph API
I'm currently programming a Facebook auto poster using the FaceBook Graph API (Facebook-SDK 3.1.0)with Python 3.10.
I have it posting an image and a status to a group with the below code...
graph.put_object(group, 'photos', message=message, url=image)
The problem I'm having is making it DELETE a post.
graph.delete_object(id=final_id)
When this is ran, I get the below error...
Error: (#200) The user hasn't authorized the application to perform this action
My FB app has the below permissions...
user_events
user_photos
user_posts
user_managed_groups
groups_show_list
pages_manage_cta
pages_show_list
publish_to_groups
groups_access_member_info
attribution_read
pages_read_engagement
pages_read_user_content
pages_manage_posts
pages_manage_engagement
public_profile
Just wondering if anyone has come across this before and got it working or deleted a post in some other way?
Thanks in advance
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
