skip to Main Content

sending a image attachment to facebook chat with curl does't work – Facebook api

i'm trying to send a image attachment to a facebook chat with curl. I got the instructions form (https://developers.facebook.com/docs/messenger-platform/send-api-reference/image-attachment) curl -F 'recipient={"id":"YYYY"}' -F 'message={"attachment":{"type":"image", "payload":{}}' -F 'filedata=@/home/dominic/site/drophere/hitcat.jpg;type=image/jpeg' "https://graph.facebook.com/v2.6/me/messages?access_token=XXXX" after I ececuted it, this error message appear: {"error":{"message":"(#100) Message cannot be…

VIEW QUESTION

Facebook API error subcode 33

I have an app that gets leads from facebook after webhook request when leads fill out forms: Some pages are throwing this error: { "error": { "message": "Unsupported get request. Object with ID '233332620530416' does not exist, cannot be loaded…

VIEW QUESTION
Back To Top
Search