facebook-messenger icon indicating copy to clipboard operation
facebook-messenger copied to clipboard

To subscribe to the feed field, one of these permissions is needed: pages_manage_metadata

Open bradeaton opened this issue 1 year ago • 1 comments

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

bradeaton avatar Mar 02 '23 22:03 bradeaton

@bradeaton how do you listen for events for field feed, there are no events supported?

nguyendinhlam88 avatar Nov 12 '23 16:11 nguyendinhlam88