Facebook Messenger复选框复选框已隐藏(已检查其他答案) [英] Facebook messenger checkbox plugin is hidden (already checked other answers)

查看:112
本文介绍了Facebook Messenger复选框复选框已隐藏(已检查其他答案)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了与此处相同的问题: Facebook Messenger复选框复选框已隐藏

I have the same problem like asked here: Facebook messenger checkbox plugin is hidden

我尝试根据Facebook的文档实施Facebook Checkbox插件,但该插件不会显示在我公司的VM中。

I tried the implementation of the Facebook Checkbox Plugin according to Facebooks documentation but it won't show on my VM in my Company.

Facebook SDK实现正常,我尝试了显示正确的 Share和 Like按钮。

The Facebook SDK Implementation works fine, I tried the "Share" and "Like"-Button, which show up correct.

我有具有公共访问权限的Facbook页面和处于DEV模式的Messenger APP。来自Facebook的 Send-API也可以正常工作:我可以从开发虚拟机上的网页以管理员身份向自己发送消息。

I have a Facbook Page which has public access and a Messenger APP in DEV-mode. The "Send-API" from Facebook works correct too: I am able to send message to myself as administrator from my Webpage on my development VM.

完成以下步骤:对每个请求使用随机的 user_ref ,将我的页面设置为白名单,使用 https,访问我的页面FB-loggedIN和FB-loggedOut

Following Steps are done: use a random user_ref on every request, set my page on the whitelist, use "https", visit my page FB-loggedIN and FB-loggedOut

但结果以如下屏幕所示的标记和日志信息结尾:
请参阅FF DeveloperTools标记屏幕快照以了解当前状态

But the result ends in Markup and Log-Infos like this screen: See FF DeveloperTools Markup Screenshot for current state

据此,我访问了一个页面,该页面的名称为 origin 插件应该可以工作的地方(请参阅我的问题的第一个链接)-但是那里的插件的HTML就像我的一样。

According to this I visited a page given as origin where the Plugin should work (see first link in my question) - but there the plugins' HTML is the same like mine.

所以有一个通用的Facebook网站上的问题还是有更多必要让此插件运行?我的VM上的自签名证书可能有问题吗?

So is there a general problem on Facebooks' site or is there quite more necessary, to get this plugin running? Could it be a problem with self-signed certificate on my VM?

目前,我不想通知或登录任何用户。我只想显示该复选框。

At the moment I don't want to notify or login any user. All I want is that the checkbox is shown.

也许任何人都有想法或相同的经历:)

Pherhaps anyone has an idea or the same experiences :)

其他信息:控制台显示以下消息
fb:messenger_checkbox在45秒内无法调整大小

Additional Info: the console shows following message fb:messenger_checkbox failed to resize in 45s

推荐答案

经过一番摆弄之后,我们发现需要一个已注册的Webhook(即使您不使用事件)也才能使Messenger复选框正确呈现。

after some fiddling we found out that a registered webhook is required (even if you dont consume the events) to make the messenger checkbox plugin render properly.

这篇关于Facebook Messenger复选框复选框已隐藏(已检查其他答案)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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