i'm new in facebook messenger platform and i'm trying to build a bot on top of messenger.
One of my bot's operation is to make the user able to check it's credit account. So i made a call button and i want it to make an USSD Call (i mean calling a number like #144#)
The Problem is : specials characters like # are removed when the call action come to my mobile phone.
My question i :is there any equivalent of the caracter # ?; Or is there any solution that will help me to make that possible ?
Related
I'm building a app where users can share specific content with one another. I'm trying to make it so when the user has relevant content in their clip board the app automatically asks them if they want to paste it into the conversation.
Is this possible? Where can I find the documentation for this.
First of all Messenger Platform only supports page <> user conversations, not user <> user conversations.
Then Messenger Platform is cross-platform, where most likely the majority uses the Messenger app on mobile where you cannot access the content of the clipboard for obvious reasons.
Taking these 2 into account you may want to reconsider your original app idea.
I'm building a web application that performs an analysis based on the inputs a user enters. I want to allow the user to send this analysis, which will be 2-3 sentences max, to one or more of their Facebook friends through the messenger platform.
At first I thought the Send Dialog was the way to go, but it appears I can't pre-populate the message field at all (source).
Next I tried integrating the Messenger Platform but this appears to target businesses that want to connect their site to a Facebook Page and setup a chat bot, which seems far too complex for my use case.
Is there anyway I can allow the user to send a private message to one or more of their Facebook friends or is this not possible for a specific reason (e.g. prevent spam, security concerns)?
This SO question here appears similar to my question.
There's no way to do this unfortunately. Makes sense, however, as apps could spam people's imessenger if it was possible.
The best alternative is to use the Send Dialog component.
My aim is to use a single bot code to run the bot at two different channels DirectLine and Facebook#work. I am going to cite an example of issues that I face when I am using facebook channel and directLine channel. The issues I have are the following:
The links or urls though supported through mark down in DirectLine are not supported in facebook, I have to make a seperate hero card.
Even if i use an url through hero card in facebook, the skype link cant be connected, bcos the link "sip:***#xxx.com", is changed to xxx alone.
I cannot get the name of the user from the "From.Name".
So what is the best possible way to resolve this? Should I simply write functions for each channels??Is that the only option.
What I want in the end is a bot code that is independent of the channel that is used for chatting
Use a simple switch-case for the Activity.Channel in the messagesController, then format the Activity.Text that is giving you troubles for each channel
Mark down is not supported in the Facebook channel. So there's no way to directly connect to Skype from Facebook channel.
Facebook# work returns only the id of the corresponding user to the bot framework. We have to then use the Facebook api to get the name of the user with the corresponding id.
I've got a FB page, that I used on a bot creation platform, then I use it for another bot creation platform.
What I expected was FB to cancel the previous subscription before setting the second one but looks like no.
I always get 2 responses, one from each of the platform.
I'm testing a handmade webhook, now and I'm getting 3 responses, the previous 2 ones and mine.
Is there a way to make FB drop the 2 first webhooks ?
By going to your page Settings and then Messenger platform you can uninstall any applications you do not wish to receive postbacks and/or send messages.
I have done few things with the facebook. And one of the easiest is what you are asking for.
So go to https://developers.facebook.com
Log and find you app
Go to webhooks
There are listed all the webhooks and next to each of them there is a button "Unsubscribe"
It is working without any verifications etc..
I want to make my bot available for download for testing purpose without
going through the actual review process of Facebook? This is just for testing purpose as I want to test how exactly end user will
download my bot from FB messenger platform and then will start using my bot. Is there a way/platform to try this? Can I do that?
(currently i am testing am sending message to my bot using FB page's messenger link as indicated in almost all the blogs/sites including FB's official
site.)
Can you please provide any pointers/links on this?
I see two options for you:
You want users to test your bot on Messenger:
Simply add them as testers in your bot corresponding Facebook page then ask them to look for your bot in their Messenger app.
Or you want to test your bot behaviors:
Enter botgen the chatbot generator I'm currently working on, which could help you test more publicly the bot you're working on. (assuming your bot doesn't need coding and is all about pattern conversation).
Just use the designer interface to design, run and test your chatbot.
Publish it and share it with your actual test users.