nsomar / facebook_messenger

ExFacebookMessenger is a library that helps you create facebook messenger bots easily.
MIT License
58 stars 35 forks source link

Quick reply support #4

Open makefunstuff opened 7 years ago

makefunstuff commented 7 years ago

https://developers.facebook.com/docs/messenger-platform/send-api-reference/quick-replies in facebook messenger you can also specify optional quick reply. I think it should be also added into facebook_messenger_models. Currently message structure can possibly ignore quick replies.

nsomar commented 7 years ago

Hello @strangeworks as with the other issue, if you would like to take this on that would be great. Do you think you'd be open to handle this too?

makefunstuff commented 7 years ago

I want to use your library, as there no alternatives I would like to add support of this functionality aswell.

makefunstuff commented 7 years ago
== Compilation error on file lib/httpotion.ex ==
** (ArgumentError) Access is not a protocol
    (elixir) lib/protocol.ex:76: Protocol.assert_protocol!/2
    lib/httpotion.ex:292: (module)
    (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6

could not compile dependency :httpotion, "mix compile" failed. You can recompile this dependency with "mix deps.compile httpotion", update it with "mix deps.update httpotion" or clean it with "mix deps.clean httpotion"

might be unrelated but attempting to run tests for the project i'm constantly receiving compilation error for the httppotion library, did you have such problems?

nsomar commented 7 years ago

@strangeworks Yes, this was an issue with an outdated httpotion. I submitted a pr that fixes it https://github.com/oarrabi/facebook_messenger/pull/5

Looks like httpotion and newer elixirs dont work well together

nsomar commented 7 years ago

Closing this issue since its solved

aguxez commented 7 years ago

Any updates on this feature yet? Quick replies would be very useful.