All questions related to chatbot development on the Facebook Messenger platform.
Questions tagged [facebook-messenger-bot]
795 questions
6
votes
1 answer
FB Messenger webview X-Frame-Options: Deny ruining webview
I'm developing a Messenger application featuring wevbiews
It used to work fine on web but at some point it started showing this:
Refused to display
'https://www.messenger.com/t/EAPdevelopment?fb_iframe_origin=https%3A%2F%2Fwww.messenger.com'
in…

Арсен Гоян
- 330
- 4
- 14
6
votes
3 answers
How to fix CSP issues with facebook messenger-checkbox
I'm trying to make facebook messenger checkbox work, I've added the following code to my html
window.fbAsyncInit = function() {
FB.init({
appId: "{{ fb_app_id }}",
xfbml: true,
version: "v2.6"
});
…

ibaguio
- 2,298
- 3
- 20
- 32
6
votes
1 answer
Facebook Messenger Bot, test users, has anyone got this working?
We've created an FB messenger bot and can test it fine with real FB accounts. But we would like to create 2000 test users via the developer console/graph api.
The problem I've come across is that, test users (created via the API) can't see public…

Paul Broomfield
- 148
- 10
5
votes
1 answer
Facebook Server-side Conversion Tracking
I am wondering if it is possible to track conversions based on the information Facebook provides. (FBID, @facebook.com email)
The only option I see is this
https://developers.facebook.com/docs/marketing-api/app-event-api
And I am still not sure if…

Chad Cache
- 9,668
- 3
- 56
- 48
5
votes
2 answers
Facebook Messenger bot rejected because it doesn't respond to non-tester profiles
...But this is what it needs to be reviewed for.
My Messenger app approval keeps being rejected with this:
pages_messaging
This item was not approved. Click Edit Details for information.
Facebook then states that the app does not respond when…

JamesH
- 51
- 3
5
votes
1 answer
How do I convert the timestamp of Facebook "Message" object
I apologize if this turns out to be a really dumb question. I am reading a message object through the Facebook messenger API, using Flask in Python.
I first extract the timestamp after reading in the JSON object
# read the JSON from Flask "request"…

patrick
- 4,455
- 6
- 44
- 61
5
votes
1 answer
Any idea on how to get this id from the conversation between attendee and bot?
Context:
BotFramework (C# SDK) + Messenger channel, bot handles two types of users: attendees (Messenger users) and organizers (who are Facebook Page's admins).
Use case:
When an attendee requests a human support (using an option in my bot's menu),…

Bob Swager
- 884
- 9
- 25
5
votes
5 answers
How can I use the same bot on multiple facebook pages using bot framework
I have several facebook pages and I would like to run the same bot on each page. I am using the bot framework and everything works perfectly for one page now. How do I associate with multiple pages?

PirateApp
- 5,433
- 4
- 57
- 90
5
votes
2 answers
Are Facebook Messenger page-scoped IDs globally unique?
I understand that the same user will have different page-scoped IDs (PSIDs) across different pages. But is it guaranteed that no two users will have the same PSID across different pages?
For example, is it possible that user A has PSID 1234 while…

David
- 127
- 1
- 6
4
votes
1 answer
What to put in the callback URL of Cognito user pool app client for account linking with FB Messenger?
I am trying to set up account linking between a FB Messenger bot and AWS Cognito user pool using OAuth.
I have used Messenger account linking button template and pointed it to my Cognito domain login endpoint. Then set the callback URL in Cognito…

Newbie
- 43
- 1
- 3
4
votes
0 answers
Trouble in facebook messenger account linking process
Problem:
In my case what happening is, it is always saying Account Linking Failed
What I am doing
following this doc word by word: https://developers.facebook.com/docs/messenger-platform/identity/account-linking/
when I need user to be linked to…

Inzamam Malik
- 3,238
- 3
- 29
- 61
4
votes
0 answers
My facebook messenger webhook isn't receiving messages for the pages which are not created using the same account as fb application
Webhooks sends message for:
The pages created in the same account as app account.
I can subscribe the pages for the webhook using page-id/subscribed_apps and it starts showing up in Webhooks Subscribed pages: XXXXXXXXX
When subscribe the pages for…

Ashish
- 189
- 2
- 9
4
votes
1 answer
ManyChat Bot not closing and 2 messenger chat appearing for new session
Someone help, I have been trying to search for the code or styling that causes the issue of two chat widget appearing and X button won't work for new sessions, but I really couldn't find anything that cause this issue.
We installed this in our site…

Chrissa
- 155
- 2
- 14
4
votes
2 answers
Access Facebook Messenger User Profile API in DialogFlow
I'm building a cross-platform chatbot in Google's DialogFlow. I'd like to access the Facebook User Profile API to learn the user's first name.
I'm struggling to find advice on how (or if) I can make this…

Kevin Robinson
- 63
- 1
- 4
4
votes
1 answer
Multi-Language Agent in Dialogflow
My team and I are building a bot for Facebook Messenger using Dialogflow, but since our users don't speak the same language (Spanish is the default language in the project), we want to implement an English version of our project, but here's the…

Daniel Vasquez
- 53
- 7