简体   繁体   English

Bot Framework,自动将页面添加到Facebook频道

[英]Bot Framework, Automatically add page to facebook channel

every time I add a page to my facebook application, I need to resend this form manually. 每次我向Facebook应用程序添加页面时,我都需要手动重新发送此表单。

Azure Panel Image Azure面板映像

But it is impossible to work like this, because I am developing an automatic and instantaneous integration. 但是不可能像这样工作,因为我正在开发一个自动的,即时的集成。

Is there any way to automate this? 有什么办法可以自动化吗?

You can try to install Azure CLI 2.0 and add botservice extension, and then you can use the following command to create facebook channel through CLI. 您可以尝试安装Azure CLI 2.0并添加botservice扩展,然后可以使用以下命令通过CLI创建Facebook频道。

az bot facebook create [-h] [--verbose] [--debug]
                              [--output {json,jsonc,table,tsv}]
                              [--query JMESPATH] --resource-group
                              RESOURCE_GROUP_NAME --name NAME --page-id
                              PAGE_ID --appid APP_ID --secret APP_SECRET
                              --token ACCESS_TOKEN
                              [--add-disabled [{true,false}]]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM