Created app on Facebook.
Setup a page and connected it to the FB App.
Got the access token.
Configured the webhook.
All that is working fine.
However when I try to subscribe my application to a page with the following:
Facebook::Messenger::Subscriptions.subscribe(access_token: ENV['ACCESS_TOKEN'], subscribed_fields: %w[feed mention name])
I get back errors:
(#200) To subscribe to the feed field, one of these permissions is needed: pages_manage_metadata. (Facebook::Messenger::Subscriptions::Error) To subscribe to the mention field, one of these permissions is needed: pages_manage_metadata. To subscribe to the name field, one of these permissions is needed: pages_manage_metadata
Created app on Facebook.
Setup a page and connected it to the FB App.
Got the access token.
Configured the webhook.
All that is working fine.
However when I try to subscribe my application to a page with the following:
Facebook::Messenger::Subscriptions.subscribe(access_token: ENV['ACCESS_TOKEN'], subscribed_fields: %w[feed mention name])I get back errors:
(#200) To subscribe to the feed field, one of these permissions is needed: pages_manage_metadata. (Facebook::Messenger::Subscriptions::Error) To subscribe to the mention field, one of these permissions is needed: pages_manage_metadata. To subscribe to the name field, one of these permissions is needed: pages_manage_metadata