如何将Facebook测试页订阅到Facebook应用程序Webhook [英] How to subscribe facebook test pages to facebook apps webhook

查看:165
本文介绍了如何将Facebook测试页订阅到Facebook应用程序Webhook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建聊天机器人,并希望在Facebook上进行连接。
我想在页面上测试我的Messenger聊天机器人,但是我必须先进行应用程序审查和业务验证,并且由于我刚刚开发了聊天机器人,所以我不想这样做(或者可以说这是一个临时环境)

I am creating chatbot and want to connect on facebook. I want to test my messenger chatbot in my page, but I must do app review and business verification first and I don't want to do that since I just developed my chatbot (or you can say this is staging environment).

我发现我们可以创建测试用户,测试页面和测试应用。我已经全部创建了它们,但是我找不到从我的测试应用程序向我的测试页面订阅webhook的方法。

I found that we can create test users, test pages, and test apps. I already create them all, but I cannot find a way to subscribe webhook from my test app to my test pages.

在选择页面框中仅显示真实页面。

only real page appear in that select a page box.

如何订阅我的webhook到我的测试页?还是有其他方法可以聊天至我的页面以测试我的聊天机器人而无需先使用业务验证?

How to subscribe my webhook to my test page? or is there any other way I can chat to my pages to test my chatbot without using business verification first?

推荐答案

不幸的是,Facebook测试应用程序/测试页/测试用户存在错误,似乎无法按预期工作。 (我花了几个小时试图弄清楚)

Unfortunately, Facebook test apps / test pages / test users is buggy and seem to not work as expected. (I spent a few hours trying to figure that out)

它们似乎专注于真实用户帐户。

They seem to focus on real user accounts.

当应用的状态为:开发中时,我们不需要进行业务验证

提示:您可以在Facebook中创建一个真实的用户帐户,并使用任何匿名的虚假身份名称-这样您的身份就会更加匿名,并且所有页面都附在其中-是否发布。 (风险:但是请不要忘记此FB帐户的密码,因为您将无法恢复该第二 FB帐户,因为它们可能要求您的护照带有错误的身份名称才能恢复)

HINT: You can create a real user account in Facebook with any anonymous "false identity" name - so that your identity feels more anonymous and all the pages attached to it - whether published or not. (RISKS: But do not forget your password for this FB account, as you will not be able to recover this "second" FB account, as they might require your passport with that false identity "name" for recovery)

然后-您可以通过管理员从Facebook上的真实应用为开发人员创建页面:设置->高级->应用页面->创建页面

Then - you can create page by admin from real app in Facebook for Developers: Settings -> Advanced -> App Page -> Create Page

然后-只需以标准方式将您的机器人连接到Webhooks。

And then - just connect your bot to Webhooks in a standard way.

这篇关于如何将Facebook测试页订阅到Facebook应用程序Webhook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆