I am building a Chat Bot using Facebook Messenger Platform.
According to Facebook documentation, all users who previously contacted my page via Messenger chat can be contacted using the bot.
My question is: is there a way to retrieve the list of user ids who previously contacted my page on Messenger, previous to the bot being enabled on the page?
My intention is to engage them and let them know that they can use the bot now.
Thanks.
Related
I want a user to be able to send a message to the chat application on my website from Facebook Messenger Chat, but I can't find an API that I can do so. Is there a Facebook Messenger API that will allow them to be integrated? How do I proceed?
I'm writing a facebook bot and want to enable the user to be able to post or share a URL, description and hashtag to their own wall, from within the messenger app.
Looking at messenger it appears as though the only native sharing options are to share to other messenger users or post an update to your day, not post to your facebook wall.
The only way I can think of doing this is having a standard FB share button hosted on the page I want them to share, but that would not be as fluid a user experience for the user, it would be lovely if there was a way within the messenger app that I could enable the user to share the URL with description and hashtag directly.
Is this possible? Thanks.
I have developed FB messenger bot using Microsoft bot framework. The bot is ready and approved by FB.
Now I am working on the hybrid part so human(web panel user) can take over chat and do conversation.
Now Issue is, I don't now which permissions need to read and show bot conversation in my web panel.
Also, it will be great if you can suggest that should I need to save conversation in DB to show in web panel or Is it possible that I can make a direct get request to FB API and show.
Thanks.
For FB Permission: pages_messaging
Development:
Show message: From our database.
Reply message: Using botframework
i made a demo bot (Free version) on Api.ai and integrated it with facebook but the problem is that it doesnt't respond to anyone else except me?
Maybe it is because of the fact that i created the facebook page from my account and generated page access token...
But How can i make my bot to communicate with other users too??
The bot on facebook will only respond to people you specifically add as admins or testers of your bot on developers.facebook.com.
If you want to make it available to anyone, you need to request facebook's approval for pages_messaging on developers.facebook.com and it will take a couple of days.
I have a bot that was developed using the Microsoft Bot Framework and it has a Facebook channel. If I chat to it using the Facebook profile of the user who created it (the Facebook app that is linked to the bot), it responds. But if I try another user, it does nothing.
What could be causing this?
Facebook Bots have to be reviewed by Facebook before they are available to anyone other than page admins and the app developers. You can find more details on their development pages
https://developers.facebook.com/docs/messenger-platform/app-review
You have to set your Facebook app as Public, by default your Facebook app is in development and it is not available to the public.