Reputation: 61
I've followed the docs: https://developers.facebook.com/docs/messenger-platform/send-messages#messaging_types on uploading an image to the facebook graph API.
I've successfully uploaded the img, and got an attachment_id
as response, as expected.
(#100) Incorrect number of files uploaded. Must upload exactly one file."
Attached is the body and response:
Anybody knows how to fix this? I looked EVERYWEHRE LOL (i think), ranging from facebook developer community posts to other SO posts. One thing to note is both uploading to API using URL image and local image files will give me an attachment_id
, but still just can't POST out using them.
Thanks.
EDIT: here's the link to the same question on facebook developer community. https://developers.facebook.com/community/threads/625390676140313/?post_id=625390679473646
Upvotes: 0
Views: 489