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?
Related
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.
I'm trying to develop a facebook app for facebook pages (Ex: the page has a tab that opens the app directly in the facebook interface).
Unfortunatly i'm not finding any documentation about... I found docs for classical facebook apps, (Ex: a website that want to load some data from facebook).
I don't understand how this kind of apps work.. Are the apps only iframes that show one of my server php? how can I define this relation?
I have developed an app for organizing and grouping of hashtags. One functionality I want to add to this app is the following: The user can copy his/hers tags and then should be able to switch to the desired social media app (in fact app or web page). Starting a web page is not a problem but how can I switch to another app (twitter, tumblr, youtube, facebook, atc. etc.) from my own app? I couldn't find any solution for that. Please help!
The complete list of apps I want to start is: Facebook, GooglePlus, Instagram, LinkedIn, Pinterest, Tumblr, Twitter, Vine, Vk, Youtube
You can just use Display.execute to launch Android/iOS apps implicitly e.g. this site lists the URL schemes for various apps including facebook.
On iOS you can also check if an app is already installed using the Display.canExecute(String) API.
For Android I couldn't find a conclusive list of URL's like that but generally googling "intent URI" with your desired network should provide you with the answer.
I have a mobile website that I would like to allow users to share the url via their native Facebook and Twitter apps (it is tedious to have to login to m.facebook.com).
I can have a link to fb://post to open the FB app, but I can't figure out how to actually pass params for updating a status. I want the functionality of using the sharer.php link on the desktop, but for the native mobile app.
Is this possible?
Im planning to develop a free facebook app. I need to know if its possible to have my app on user's wall?
Maybe like an icon or something. And when visitors of this user(my app's user) click this icon on his wall, this app should generate a jQuery popup and display some information.
Do you think it is possible? Does facebook allow third-party applications to be integrated right onto user wall?
The only way this is possible is to post a link to your site (assuming you have defined the og:image meta tag) on the user's wall and have them advertise your application. This can be considered intrusive, however, so stay clear of this if you wish to retain users.
Short answer is no. Facebook removed every app based profile page customization.
If your app is a canvas app, your users can bookmark your app on their home page.
The most app-like output you can place in your user's facebook wall is a flash object, that could display anything you want and be interactive after the first click (think of the youtube videos that plays in timeline). If your users pin it on their timeline it will stay on top for two weeks. To post flash content to feeds, use the source attribe of the Post object.