Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Suddenly, pages_messaging_subscriptions permission is required

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?

like image 963
Old Geezer Avatar asked Aug 20 '16 07:08

Old Geezer


1 Answers

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. screenshot of settings

like image 75
Dmitry Avatar answered Nov 16 '22 02:11

Dmitry