jgorset / facebook-messenger

Definitely the best way to make Bots on Facebook Messenger with Ruby
MIT License
962 stars 211 forks source link

Is this gem compatible with Workplace bots for Messenger? #248

Open anthonyhamou opened 5 years ago

anthonyhamou commented 5 years ago

Hi,

I am using this Ruby client code for FB messenger since months

One of my customer asked me to develop a bot on Workplace by Facebook.

Is it still possible to use this GEM ? Is is compatible with Workplace bots for Messenger ?

Here below the code error i got when i try to run my usual bot code ?

Thank you

code error screenshot

amrutjadhav commented 5 years ago

Hello, @anthonyhamou I am not familiar with the Workplace API. But by seeing the error, I am can say that this bot is not compatible with Workplace. There seems to be a difference in the request parameter of normal bot and Workplace bot request.

jgorset commented 5 years ago

Yep, that seems about right. I've not put any effort into Workplace for this gem, because I haven't needed it, but your contributions are welcome if you do! :slightly_smiling_face: