facebook-send-api

MessengerExtensions : how to send a message by messenger to users?

▼魔方 西西 提交于 2019-12-25 12:48:15
问题 I use webviews with my messenger chatbot. On my webapp's view, I used MessengerExtensions.requestCloseBrowser() to close the webview on iOS and Android. It works perfectly but, i have no idea how i could give feedback to my user by send a message when the webview is closed Could you help me please ? Thx. 回答1: You can do a server round trip. closing webview has a success callback. You can make an api call to one of your webservice. You pass the page scoped user id to this service. Then once

Facebook Instant game bot message often results in “Cannot send Instant Game message to user at this time”

佐手、 提交于 2019-12-11 05:10:02
问题 I'm making a Facebook instant game, and am sending myself test messages via the associated bot. It works. But not always, why? Very often I get this: { "error": { "message": "(#100) Cannot send Instant Game message to user at this time.", "type": "OAuthException", "code": 100, "error_subcode": 2018144, "fbtrace_id": "DNZhKZlP83D" } } This error code is not listed in the error code documentation. I suppose it could be some message sending limit, but I would assume that as the listed developer