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.
Related
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!
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.
When using facebook apps like chatfuel and manychat (which are bot creation platforms), these apps request permissions that allow them to manage my pages and send messages.
I want to create a similar app that allows users to send messages from their pages through my app, but I can't find how to request such permissions in Facebook's documentation.
You need to be given the administrator role for each Page, then connect your app to the Page and generate a page-scoped token for each one.
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.
Is it possible to send private messages to the friends of a user after getting the offline_access permission from him?
While sending app requests, I know its possible to send app_requests to any user(using app_access_token) who is already a part of the application. Like wise is it possible to send using offline_access permission without using send dialog or any other operation which needs the user consent?
No, this is not possible, the only Facebook communication channels you can use are stream Posts and App requests, and if the user is offline, you cannot publish posts as it is against Facebook Platform Policy IV.3.
If this is user-to-user communication, you may be able to send an email to the users username#facebook.com email address, which will create a message for them. However Policy IV.5 explains the limitations of this.