Microsoft Botframework channel messenger not working in development mode

允我心安 提交于 2019-12-25 19:00:12

问题


I need enable channel messenger for botframework. i make follow this guide: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-facebook#enable-messenger

exclude "submit for review". i want test before submit review.

Until an app is published, it is in Development Mode. Plugin and API functionality will only work for admins, developers, and testers.

i am administrator for app & that page. i try chat but bot not working.

Env info:
Facebook API version: 2.12
Bot framework ver: 3.14
And i has migrated to azure bot service.

My bot screenshots:

Facebook app & web hook setting

Bot setting

Channel status

Skype channel status is ok

In messenger bot not working

Any one can help me ?

Thank in advance!


回答1:


Problem solved!

My problem is: i detected a problem about my account "Your free credit has expired after i create new bot service. then i fix above issue, and bot worked.

Hope Azure service will show alert when create new channel for trial program.




回答2:


If you just channel messenger for botframework about yesterday, so I think that your issues relate to my issues:

403 forbidden with POST request on https://facebook.botframework.com

My facebook channels bot framework worked well about 6 months till 2018, 19 April. All request suddendly response 403 forbidden.

And I am trying to find any document which mentioned to any change or update API from microsoft bot server at 2018, 19 April.




回答3:


The following is some steps for facebook set up which help me on the succcess:

step1 - Get app_id and app_secret

https://i.stack.imgur.com/WCdKH.jpg

step2 - Webhooks for page

https://i.stack.imgur.com/1Ve8u.jpg

step3 - Webhooks for page - enter microsoft bot service callback and verify token

https://i.stack.imgur.com/HX2qR.png

step 4- Messenger setting - subscribe page and get page access_token

https://i.stack.imgur.com/wwwj4.jpg

step 5 - Get page_id at facebook page

https://i.stack.imgur.com/JL78m.jpg



来源:https://stackoverflow.com/questions/49916935/microsoft-botframework-channel-messenger-not-working-in-development-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!