Messenger持久菜单不可见 [英] Messenger persistent menu not visible

查看:128
本文介绍了Messenger持久菜单不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Facebook信使机器人。但是,我无法附加永久菜单。



我阅读了 here


 code>用户必须位于iOS或Android上的Messenger v106或更高版本上。 
机器人所附的页面必须被发布。
机器人必须在开发者控制台中设置为public。
机器人必须通过pages_messaging权限的批准过程


所有这些都满足



当我设置菜单时,我收到了Facebook的反馈:

  Array 

[result] => success

但是,我的Android设备上也没有显示,也没有在Facebook上显示。我删除了会话并重新输入了几次,没有成功。



顺便说一下,我使用这个lib 为Graph api,以防万一。

解决方案

好的,您必须为每个区域设置一组菜单,但奇怪的是,如果您的请求错误,Facebook不会发出警告


I'm currently developing a Facebook messenger bot. However, I can't attach a persistent menu to it.

I read the requirements here:

The user must be on Messenger v106 or above on iOS or Android.
The page the bot is attached to must be published.
The bot must be set to "public" in the developer console.
The bot must have passed the approval process for pages_messaging permission

And all those are met.

When I set the menu, I receive this feedback from Facebook:

Array
(
    [result] => success
)

However, it's still not displayed neither on my Android device, nor in the web Facebook. I deleted the conversation and re-entered several times, with no success.

By the way, I'm using this lib for Graph api, just in case.

解决方案

Okay, the point is that you have to send an array of menus for every locale, but strangely Facebook doesn't warn in case your request is wrong

这篇关于Messenger持久菜单不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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