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

Send a private message on facebook – Facebook api

I am able to send a private message to my facebook friend using belwo facebook API. <html xmlns:fb="https://www.facebook.com/2008/fbml"> <body> <script src="http://connect.facebook.net/en_US/all.js"></script> <div id="fb-root"></div> <script> FB.init({appId: '315462388662460', xfbml: true, cookie: true}); FB.ui({ method: 'send', link: 'https://www.youtube.com/watch?v=uia0PQy5ksg', }); </script> </body> </html> And…

VIEW QUESTION
Back To Top
Search