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.
Related
It seems in order to embed Facebook Customer Chat Plugin, dev has to create a custom Facebook app to act as hook receiver to be called from the embed. The flow is somehow this way:
Embed on browser ---custom app id,page id---> Custom web server ---page access token,text response--> Facebook Messenger Server --> Back to Embed on browser.
This is good for making a chatbot but can it be simpler to chat directly between visitor and a Facebook page owner, this way:?
Embed on browser ---Messenger app id,page id---> Facebook Messenger Server ---> Page owner on Messenger.com ---text response--> Embed on browser.
Facebook Message Us Plugin and m.me link are other options but overlay embed (Customer Chat Plugin) is more interesting as visitors can chat right on the web page.
PS.
m.me link is nice on Android, it opens Messenger app.
I would like to have my app post to facebook and then when "friends" see the link, they can click on it and since it is a deeplink, clicking on it would take the user to the app store if the app isnt downloaded otherwise it would take them to the correct page of the app. Would this need approval from Facebook?
No approval needed, but in most cases this is currently not possible — Facebook has decided to block the functionality. The best option is to post a link pointing to a page on your website, and then open your app from there.
In other words, you can't open a link from the news feed and have it launch the app. However you can open a link to your website, and once the website is open you can launch your app successfully from there. This is the approach we currently use at Branch.io
I want to share a text and link to users if an Android app. If the user selects Faebook, it should share only a link (as Facebook only accepts links from native Android share), if user selects other apps like whatsapp,soma it should share text. How can I implement this?
I have a simple Facebook App that I use to allow users of my website to login with Facebook. Recently I added a basic custom story via the open graph API, e.g.
Nick plays a mixtape via anexample.com
The custom story appears in my stream as expected, however when I click the anexample.com link on the story I get the following error and cannot access the actual Facebook App page:
Sorry, the details for anexample.com cannot be displayed because the app is
misconfigured.
What is strange, is that the application redirects at
https://www.facebook.com/games/?app_id=AN_APPLICATION_ID
despite the fact that the app is not registered as a game.
Has anyone else faced this behaviour?
Thanks,
On tapping on the App link, you could navigate it in one of the two possible ways
Any FB page: Add the page in Advanced settings of your App.
A website: Add a web platform
I cannot find any information on this in the developers guide. I'm setting up a facebook app so users can connect and publish content to their feed. I want to create a page that looks like this: https://www.facebook.com/appcenter/houzzapp
On the right side you will see the two blue buttons, one that says Visit Website, the other Send to Mobile. These are the functions that I want as far as the facebook app is concerened. Does anyone know how to do this or can point me to some documentation or a tutorial?
This is Facebook's App Center.
In order to get your App on Facebook's App Center you have to go through a Approval which you can review/edit and submit via Your App -> App Details.
Once all necessary Fields and Pictures are uploaded, you can Submit App Detail Page.
Pointing out the Specific questions about Facebook's App Center:
Visit Website button: Will use the link you entered in your Basic Settings under Website with Facebook Login
Mobile Web: Will use the mobile version url you entered in your Basic Settings under Mobile Web