Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bradeaton opened this issue Mar 2, 2023 · 1 comment

Comments

@bradeaton
Copy link

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

@nguyendinhlam88
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants