'Posting to personal album with Facebook Graph API
I'm trying out some automation to post multiple photos from my computer to my album through graph API. I used the following guidelines to do this: https://developers.facebook.com/docs/graph-api/reference/v12.0/album/photos
My user token contains the following access: user_photos, user_videos, user_posts, publish_to_groups
I tried the API using Postman, with the following POST URI:
https://graph.facebook.com/v12.0/{my_album_id}/photos?access_token={my_access_token}
the body contains form-data of 'source' with the file I wanted to post.
Upon executing this, I received the following error:
{
"error": {
"message": "(#200) This endpoint is deprecated since the required permission publish_actions is deprecated",
"type": "OAuthException",
"code": 200,
"fbtrace_id": {fbtrace_id}
}
}
Would anyone be able to help giving me a direction, if I missed out any step? Thank you in advance for your help.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
