I created a facebook Page, & a Facebook App that is subscribed to webhooks.
So I my external server was successfully able to receive messages sent from my account->my page(webhook triggers), but when other other accounts send message to my page, no webhook gets triggered.
Any leads why? Do I need my application to be submitted & reviewed by facebook team for this feature to enable?
Will appreciate any help. Thanks in advance! :)
Until you bot is approved and set to public, only users with the Developer, Tester, or Admin role can interact with it.
Related
I'm working on creating a webhook app and when working will then create an app integrating the FB API to pass lead data to backend.
I finally got the Webhook setup and all the permissions
pages_show_list
leads_retrieval
pages_read_engagement
pages_manage_metadata
pages_read_user_content
pages_manage_engagement
I subscribed to the client's page and all seems to be good now that I finally see my Webhook on the Lead Ads Testing Tool
However, when I submit a test I get the message "Manage_pages permission has been revoked for the app". I'm not exactly sure why but I suspect need review process? Here are my questions
Do I need to go through App Review to solve this problem?
I created the webhook/app for a client and I have access to his Business manger account. Do I still need to go through App review ?
If I do need to go through app review, one of the requirements is to do Business Verfication and the only option is to create a Business Manager account. But this isn't for me, its for my client. Do I still need to create the Busines manager account?
This is going to be just a webhook for leadgen so no facebook login needed. Is FB Login required for App reivew?
Anything else I'm missing to get "magage_pagess permissions"?
Thanks!
Yes
Yes
Yes
You can find details here about which permission needs app review. ( just click on the permissions which will redirect to detail page , thats where you'll find whether it needs app review or not )
Nope, Process is simple. you need to add verified business account / individual verification in order to use your app in live.
I have a chat bot linked from Dialogflow to Facebook Messenger. Everything is set up but now it just needs pages_messaging permission approval from the Facebook team. I have submitted the request and the Facebook team messaged me this:
This is a test message from the Facebook team. Please respond from your app within 2 days to confirm that the integration is functioning.
However, the Facebook team test account is not able to receive messages from my app due to the app not having the pages_messaging permission in the first place. What should I do now? Will they not accept my request? Please help, I am new to this. Thanks!
My bot is live however still only users whom are added as tester/developer role are only able to access the bot. Why is general public unable to access the bot?
I cannot see a problem in the messaging pipeline - since people with tester/developer roles are able to send/receive messages...
I don't see pages_messaging anywhere
What else is required to receive messages from general public?
You need to submit your facebook app for review. For sending and receiving messages to the users your apps needs pages_messaging permission . You can find it in the messenger product tab.
I have facebook messenger application (it is bot using MS Bot Framework, although I don't think it is relevant). It has webhook subscribed to page events. It used to work fine until few days ago, when the webhook was unsubscribed from page and when I am trying to subscribe again it tells me:
"Insufficient Permission You do not have the necessary permission for
the specified Page to perform the requested action."
I am owner and admin on both the FB page and messenger app. I created similar page and messenger app and it works there, but I still need to use this old one. I tried subscribing to other pages which I own and admin, but with same result. I also tried it with other person who is admin.
I found other people experiencing same/similar message on FB, but not in this particular case. But I haven't found any solution.
Does anyone know what could be the problem? Or have anyone experienced this issue?
Thanks in advance for any ideas.
You need to generate a token first. Under messager->Settings->Token Generation-> Select your page and you'll be prompted to give the permission. Grant all permission required, then you shall be able to subscribe or unsubscribe to pages you manage.
This process gives your application the token to validate if you have the moderator or higher rights to the page you want to subscribe to.
After spending 3 days on this. Here is the solution for this.
Go to your Facebook Profile - > Settings -> Apps
and Remove YOUR APP from there.
In Developer Dashboard Go to App Review -> Add Items
manage_pages
(This Permission Needed for Accessing page access tokens)
Add above permission for review - with any simple video of above error
Now go to Messanger-> Settings -> Token Generation
Select page from dropdown List
now it will open a popup (because you removed this app in 1st step) for app access permission , notice that now it will ask for manage pages permission
Grant those permission and create access tokens
Now try again subscribing Webhook to Pages
This Works for me.
You need to generate your page access token for this.
Go to your facebook Developer dashboard, and open the messenger tab. There, you will see this for token generation. Select your page and generate the token. Then use this token in your bot.
Page access token generation
I am creating an application where I need a user to be able to grant us access to their facebook page so that all incoming messages can flow through our application (as well as outgoing).
I have this all working correctly, but facebook will not approve my app due to the facebook permission pages_messaging and them "not receiving a response from my bot" (I have been denied three straight times). What am I doing wrong here? We are not using bots, do I even need the pages_messaging permission (I am using their webhook to get incoming page messages, and graph api to send outgoing)?
When submitting app, pages_messaging permission says:
Please provide the page that can be used to test this bot. Make sure the bot is properly connected and functional, otherwise your submission may be rejected.
Here is facebook's feedback from my submission (denied multiple times):
Thank you for your submission. We tested the messenger experience on your associated page and received no response from your messenger bot. Please resubmit with the new, improved version of your bot.
You got to create a bot to use the messaging API: https://developers.facebook.com/docs/messenger-platform/implementation
To just read/send messages:
https://developers.facebook.com/docs/graph-api/reference/v2.6/conversation/messages
You can use the /pageID/conversations endpoint to retrieve all conversations your page has had with FB profiles.
Next you can read/post to the /conversationID/messages endpoint to read/respond to a person.
And you can even subscribe to the conversations field for pages with webhooks.
You will need a page admin's page access token that has the read_page_mailboxes permission scope to set up the subscription, and to read/reply to messages.