messengerbot
messengerbot copied to clipboard
Added header functionality to send method in __init__.py
The Facebook Messenger API requires this header for json content. This package wasn't fully functional for me in all cases without this header. The current format may be out of date, or simply wrong. In any case, I propose this branch be merged.
Take a look at Facebook's Messenger API documentation for buttons, for example. POST requests are sent with the header "Content-Type: application/json"
, which is not part of this package's current formatting.
Please update the failing unit test.
Hey I'm not sure how to do that. If you can give me some help, I'd be happy to contribute. I'm pretty inexperienced.
On Fri, May 12, 2017 at 4:46 PM Nam Ngo [email protected] wrote:
Please update the failing unit test.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/geeknam/messengerbot/pull/23#issuecomment-301209384, or mute the thread https://github.com/notifications/unsubscribe-auth/AZHwvPwLG6kLpk-QpWytKRZPdfQW-jzkks5r5O9qgaJpZM4NY_ua .