facebook-messenger-bot

Facebook Graph API subscribed_apps edge only works with pages I own

亡梦爱人 提交于 2019-12-07 15:37:55
问题 Introduction I have a Facebook APP and it is already published and approved to access the manage_pages and pages_messaging permissions. Facebook Login and Messenger are also installed. I also have a Webhook set and it works well. My objective I would like to make it easy for my users to create and publish a bot within the app, like what Chatfuel does. The user logins in using Facebook, create a new bot, link to a page and automatically the bot is available for use. The user will not be

Facebook Messenger Bot, test users, has anyone got this working?

旧时模样 提交于 2019-12-07 05:47:40
问题 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 pages. So I logged in as the test users, created a page, and great! test users can see test pages created by other test users. But now I can't link my bot to that page. Has anyone managed to get this working? We have made a bot for a large corp and

Facebook messenger bot error nonexisting field (messages)

☆樱花仙子☆ 提交于 2019-12-06 06:04:43
I am a new member. I have an error when send message using HTTP Post to "graph.facebook.com/v2.11/me/messages?access_token=MY_PAGE_TOKEN" This is error return: `{"error":{"message":"(#100) Tried accessing nonexisting field (messages) on node type (Page)","type":"OAuthException","code":100,"fbtrace_id":"EB39Xkxnf6O"}}` Despite error, tester and developer still able to receive message. But the FB viewer might not and they not approve my review submission: "We did not receive an automated response when we messaged your Page. Bots should respond to all input from the user within 30 seconds so that

“Get Started” button does not appear for FB Messenger bot on Messenger app

﹥>﹥吖頭↗ 提交于 2019-12-05 23:17:09
For some reason, the " get started " button doesn't appear on mobile Messenger app but it works perfectly on web . I have try to delete the button and re-post it . but still have the same problem. I used node js and I followed FaceBook's documentation: facebook get started button documentation Anyone has a solution? Is it a bug? Thanks a lot in advance for your answers. There are certain conditions to seeing the Welcome Screen and the Get Started button: They are only rendered the first time the user interacts with the Page on Messenger Only admins/developers/testers of the app can see it when

Facebook Graph API subscribed_apps edge only works with pages I own

六眼飞鱼酱① 提交于 2019-12-05 19:37:33
Introduction I have a Facebook APP and it is already published and approved to access the manage_pages and pages_messaging permissions. Facebook Login and Messenger are also installed. I also have a Webhook set and it works well. My objective I would like to make it easy for my users to create and publish a bot within the app, like what Chatfuel does. The user logins in using Facebook, create a new bot, link to a page and automatically the bot is available for use. The user will not be involved in manual configuration of the bot publishing process but rather simply pointing the page they would

Are Facebook Messenger page-scoped IDs globally unique?

痴心易碎 提交于 2019-12-05 13:21:22
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 messaging page X, and user B has the same PSID 1234 when messaging page Y? Technically user A and user B would be differentiable even if they have the same PSID because they are messaging different pages. But can I assume that there will be no overlap on PSIDs across all pages, so that I may use the PSID as a globally unique ID regardless of the

URL Button with Messenger Extensions always redirect to fallback_url

℡╲_俬逩灬. 提交于 2019-12-05 06:47:22
问题 Working on a facebook messenger chatbot , I try to use Webview and Extensions to display enhanced content (in my case, a datepicker) . As describe in documentation, I send a URL Button with Messenger Extensions message, with a fallback_url to handle browser users. { 'type': 'web_url', 'url':'https://abcdef.localtunnel.me/html/chatbotDatepicker.html', 'title': 'Pick a date', 'webview_height_ratio': 'tall', 'messenger_extensions': true, 'fallback_url': 'https://abcdef.localtunnel.me/html

API authentication from a facebook messenger bot conversation

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 04:26:21
问题 What is the best way to authenticate with an external API from a conversation with a bot on the facebook messenger platform? For a broad example, I would like a user of my bot to create items on their own profiles of an external website. Is there a way to get login information from the user, or connect my bot to the external website, without the user explicitly sending a message to the bot with their username and password? What I found in the documentation under User Profile API: You can

API authentication from a facebook messenger bot conversation

老子叫甜甜 提交于 2019-12-02 17:41:50
What is the best way to authenticate with an external API from a conversation with a bot on the facebook messenger platform? For a broad example, I would like a user of my bot to create items on their own profiles of an external website. Is there a way to get login information from the user, or connect my bot to the external website, without the user explicitly sending a message to the bot with their username and password? What I found in the documentation under User Profile API : You can personalize the conversation using the person's name or profile pic from the User Profile API. In order to

How to use a single webhook for multiple messenger apps/bots?

谁都会走 提交于 2019-12-02 03:06:54
问题 I'm developing different chatbots for different fb pages but I only have one server to run them. For the first chatbot I am using https://mydomain/webhook as webhook and everything works fine, all the messages are sent to the 443 port and my program process them. Now I was wondering what should be the webhook for my second chatbot. My idea was to open a https connection on another port and use https://mydomain/webhook:myport as webhook so that each bot listen on a different port and each