Features of a facebook messenger chatbox - facebook

Firstly, I am a telecommunications engineering student and I am doing an investigation about how can I implement different types of features for chatbots on Facebook Messenger.
I want to include a survey (I've made my survey at a url) on chatbot but I would like to respond that survey on THAT CHATBOT! I don't want to click on my url and then a new page is opened for respond the survey.
For example:
I have two things:
-By one side: My url with my survey.
-By other side: My Chatbot.
Okey, now someone is going to talk to me through my chatbot and I want him to do my survey, so, how can I make him my survey on chatbot? It's possible?
I don't want make him click on my url that contains the survey and a new page opens!.
Regards,
Manuel.

Related

How to know the source of a link and load web app accordingly

I'm making an online ordering web app in Flutter, there's a link to the app on the restaurant website. The app needs to know which restaurant website the customer came from so that it can load the correct menu.
How would you do this? Webhook?
I see two methods:
Referrer, Webbrowsers send a referrer-header. Maybe unstable for privacy browsers. More information
Link-Parameter, give each resturant a unique link (with your-app.com?source=mcdonalds). More information

facebook messenger m.me share link

I have a referral page with a modal where users can send a share link to their friends. I need to implement the following flow:
a user clicks on facebook messenger icon and their messenger opens up where the user can choose someone of their contacts to send a share link to.
Looks like this is a solution for me but I can't clarify some questions https://developers.facebook.com/docs/messenger-platform/discovery/m-me-links/
I don't have an app and a page, I just need a user to open their messenger and paste and send a text to their friends.
Is this the same flow for web, iOS, Android?
Can I preload the text I want the user to share so that it will appear in the dialog with the contact the user has chosen (in some messengers it is possible)?
FB has 2 different APIs for solving this issue: for web and for mobile. They are very similar and described here:
web https://developers.facebook.com/docs/sharing/reference/send-dialog/
mobile https://developers.facebook.com/docs/sharing/messenger/web
In two words, you need to add a FB script to activate FB JS SDK and then call a method to share a link.

Deeplink from a Website to an Action on Google

I would like to create buttons on my website which redirect the user to a Action on Google. Are these kinds of deeplinks possible with AoG?
Example:
Let's say I have a furniture E-Commerce shop and I would like to provide customers step-by-step instructions to put the furniture together. For this purpose I create an Action on Google.
If a users looks at the detail page of a chair on my website, there should be a button "Assemble the chair with Google Assisant". Basically this would deeplink him into the Google Assistant on his device.
Is this already possible?
Yes, this is known as Action Links. You can configure them in the Actions Console, and you can pass specific intents and parameters in the URL.
The format is like this https://assistant.google.com/services/invoke[/$action_id][?intent=$intent&param.$param=$value][&$utm_param=$utm_value]

Facebook Messenger Chatbot for personal fan page

I created a chatbot using Dialogflow, hooked it up as a facebook messenger chatbot for my personal fan page (A fan page for my app).
I passed through the first review process and it got approved. The next step is to "verify my business".
I am not a business, I am just an individual developer, and I wanna allow my facebook fan page to have a chatbot that can interact with the users. I don't have a "bill" that shows my business cause I don't have on.
How do I go about that, how to enable the chatbot on a personal fan page without business verification?
In this case, I would go to Facebook Support and rise your question: https://developers.facebook.com/support.
Another approach would be to change of your solution provider. Dialogflow has the disadvantage that they force you to create a Facebook App. There are solutions which does it for you, you don't need to verify the business, go through App approval, etc.
If you need free hands with custom solutions or even hold the chatbot code, than I would recommend programmer tools like:
amio.io
botkit.ai
https://www.messagebird.com/en-gg/chat-api
recime.io
dev.botframework.com
If it's a simple chatbot you could take advantage of chat bot builders like:
chatfuel.com
motion.ai
botsify.com
there are many...
Disclaimer: I work at Amio.
Business verification step and acceptance of supplemental terms is mandatory for messenger apps.
However, for the business verification step if you are not an actual business you can instead submit your home utility bill (with your name). I had done the same and my app was approved recently.

Sending Invitations to Participate in Facebook Messenger Bot

I am very new to Messenger platform and I'm trying to wrap my head around the types of things that are possible. In particular, I'm interested in using a bot as a "mediator" of communication among friends. For example, one could build build a bot to help make a group decision, like where four or five people will have lunch. Each person interacts only with the bot, the bot gathers lunch preferences, and communicates some type of optimal choice to all participants. This could require a back-and-forth discussion of preferences with each participant. Is that clear?
At this point, I'm wondering two things:
How would a user initially invite another user into the conversation? Suppose user A starts talking to the bot and the bot tells user A, "Invite some friends to join us in this conversation". Can the bot actually send these invitations on behalf of user A? Or does invitation have to take place via some other out-of-band mechanism?
Is messenger platform the most appropriate FB platform technology for creating this sort of interactive mediation app?
Thanks in advance, InterWebs...
If I'm understanding your idea correctly, it would be very difficult to build a bot that could chat with each person separately but offer a shared experience. When a user shares the bot with another user and the new user starts a chat, the bot has no way of knowing where the referral comes from, so there's really no way to know that the two users are linked.
What you could do is build a chat extension, which basically makes functionality from your bot available in a group chat:
https://developers.facebook.com/docs/messenger-platform/guides/chat-extensions