Receiving an attachment using Facebook Bot
See original GitHub issueI’m using NodeJS and I managed to get my Bot working with regular messages on Facebook Messenger (plain text).
However, when I send my location, picture or any sort of attachment, I don’t get any messages on my listener, until it fails with :
at=error code=H12 desc="Request timeout" method=POST path="MY_PATH" host=MY_HOST request_id=XXX fwd="XXX.XXX.XX.XXX" dyno=web.1 connect=1ms service=30002ms status=503 bytes=0
Is this some sort of bug? One of the main features of my application involves receiving the user’s location.
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Attachment Upload API - Messenger Platform - Documentation
The Attachment Upload API allows you to upload assets that can be sent in messages at a later time. This allows you to...
Read more >Receiving an attachment using Facebook Bot #235 - GitHub
I'm using NodeJS and I managed to get my Bot working with regular messages on Facebook Messenger (plain text).
Read more >How To Send Attachments in Facebook Messenger - Alphr
How to Send Attachments in Messenger on the Android App · From your “Home” screen, head to your Google Drive app (or wherever...
Read more >Is there a safe way to open a possibly spam facebook ...
Alternatively, is it possible to forward a facebook private message? Or somehow open that attachment without logging in to facebook, or get ......
Read more >How to receive an image in a Facebook Messenger bot
I am not sure what language you are using to code your bot but since you are referring to the facebook documents where...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
When i tested their API, I managed to send my location as an attachment tomy Bot on the Messenger app for Android and I received, on my webhook, a message which had as an attachment a latitude & longitude JSON object with my location…
I think that’s right, BTW: we should be mapping the location information into the Entities[] array as a GeoCoordinate object.