Suddenly, pages_messaging_subscriptions permission is required

℡╲_俬逩灬. 提交于 2020-01-14 07:38:09

问题


I have a simple message bot that was set up according to the Messenger Platform guide. It has been working fine for the last few months, with about half a dozen messages sent a day. I have not touched it at all, but suddenly, sending a message, ie calling https://graph.facebook.com/v2.6/me/messages?access_token=..., returns:

{"message":"(#230) Requires pages_messaging_subscriptions permission to manage the object","type":"OAuthException","code":230,"fbtrace_id":"DVs...."}

This was out of the blue. Things were working fine, I did not even log on to Facebook during this time, and I haven't even looked at my webhook callback website. But some time from Aug 17 onward, this exception was returned for every attempted message send.

Has something changed? Anyway, I could not find a subscription field by the name pages_messaging_subscriptions in the Webhooks Page Subscription page.

What do I need to get my message bot to work again?


回答1:


August 15 was Updater Messenger Platform Policies. official post in blog

Now, to send a message a day after the activity of the user is necessary to request additional permission in the application settings.



来源:https://stackoverflow.com/questions/39051750/suddenly-pages-messaging-subscriptions-permission-is-required

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