How to add voice call feature to facebook page from messenger - facebook

I am currently developing a facebook messenger bot.
There is one feature that I want to add to my bot--voice call.
Is there a way to allow users to call my page when I update the phone number on my app page?
Best case would be putting calling button in menu or upper right corner where setting button is at.
Thank you in advance.

Related

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.

Facebook Messenger, send webview directly

So i found that the 3 ways to send webviews on facebook messenger are:
All of those solutions implies to send either a Menu, a Card or a Chat extension where the user have to click.
What im looking for is that when the user interacts with my bot (at the moment he says "please send me the webview"), the chat without clicking some button redirects the user to a webview. In this way the conversational flow its not affected by pop-up screens.
Is there a way?
Thanks in advance

Don't open intercom messenger on load

I am integrating Intercom into my website, but when a user loads the page, the chat window automatically opens up. I have gone through their documentation, adding things like Intercom('hide'), turning off and removing auto messaging, etc, but the messenger still opens up. I have reached out to their customer support (on their own chat app) and no one has responded back or reached out. Kind of bad UX to have it open without anyone clicking the chat button. Anyone know how to disable this feature?
The answer is in one of their guides Customize the Intercom Messenger (technical) rather than the technical documentation:
First, you’ll need to hide the Messenger for all of your customers. Just visit your Messenger settings and deselect the options for turning the Messenger on.
Next, you’ll need to think about which users you’d like to show the Messenger to (for example, your VIP customers).
Finally, add the hide_default_launcher attribute to your intercomSettings object on your site. The value of thehide_default_launcher attribute should be true or false, depending on if you want to hide or show the launcher.
So hide_default_launcher is the key.
You can go to App Settings > Messenger Settings section and blank Welcome Message:
click to open an image

How to share text to Facebook

In RootviewController of my application I have a textfield and a button. I write something in that text field and after that when I click on the button then that text should be shared in Facebook. How to do this??
i think you need to integrate FB in your app to post your comments...
You must integrate Facebook SDK in order to do anything in user's account from iPhone app. After integrating and login You need to ask for permission "set_status" and after that you can show dialog for "set_status". That will show what exactly you want.

How can I remove a cancel button using the Facebook Graph API?

Can any one suggest how I could remove the cancel button next to login button in the Facebook graph API for iPhone. Where does the code lie?
You shouldn't be doing this - messing around with the login dialogs is a big no-no for Facebook. The whole point of the SDK is that login dialogs look uniform across all applications.