-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
post 'attached_media' array #187
Comments
Hey @Art3miX
and this is the request i'm sending
and this is the error i'm getting
|
That was a long time ago, but I think you first need to upload the images, and use the given imageId in your post. |
Thanks for the reply. I appreciate |
After a bunch of trial and error , i fixed it! When you make the first request you get an id and a post_id , Capture the ID NOT THE POST_ID
Capture the Id's and store them in exactly this format
Send the final request to post to your page
Hope this helps someone |
Awesome, happy i could help :) |
I was trying to post a post to Facebook with multiple images, but facebook was giving me error when I was adding
attached_media
parameter to the${pageId}/feed
, This is how I ended up doing it:Looping over all the images, and manually adding
attached_media[index]
parameter.It would be nice if we could just add it as an array, like this:
The text was updated successfully, but these errors were encountered: