Facebook share button on android issue - android

I have a web page that contains a Facebook share button.
The link it shares is in following format:
www.example.com/index?id=1234&info=56789
This link is shared using Facebook plugin share button. On desktop browsers it works fine but on Android (chrome browser), when clicking the share button , the Facebook app is opened and only "www.example.com/index?id=1234" part of the link is sent to the app for sharing.
I replaced the "&" with "%26" and it fixed it, but it breaks when sharing using on desktop.
Did any one had the same problem and know the solution for this?

Related

Android react-native deep linking and application embedded browser

I have a react-native application which use deep linking for Android.
Basically I have a working setup, which means that when im testing on a real device if I go to my website page displaying a link mapped by the AndroidManifest.xml, my app is correctly opening when clicking on the link. Same thing when I'm clicking the mapped link directly from Gmail app or Slack, everything works correctly.
However, when I'm going to my website page (which is displaying the mapped link) from the "embedded" Gmail or Slack browser and clicking on the link, the deep link doesn't work and it redirects on the web directly without asking to open the app first.
It seems a strange behaviour for me and after some research I wasn't able to find an explanation or a solution, so anyone have an idea on how to handle this ?
Thank you for your time.

Share in Facebook app using URL scheme

I'm trying to create a HTML link that shares a text through the Facebook app using URL scheme. This link will be accessed by mobile, Android and iOS.
Share
When I click this link on my Android phone, the Facebook app opens but does nothing! What is wrong here?
The Facebook URL Schemes shift a lot, and their functionality is generally not well documented. There was an attempt to catalog them at
What are all the custom URL schemes supported by the Facebook iPhone app?
If you can settle for opening the dialog in the browser, you can use the Share Dialog:
https://developers.facebook.com/docs/sharing/reference/share-dialog

Where do Google plus and twitter app open links on Android

When you click on a link in Twitter app or Google+ app on android, it opens in a chrome webview. Attaching a image. I dont know what its called and where can I find information about it and basic example.
it is called Chrome Custom Tabs.Check the link below customtabs

Sharing url to facebook from cross platform mobile app - Random Folder

I have a simple cordova app that has a facebook share button that shares a url to facebook. Facebook is putting in a random photo when the mobile facebook page opens. How do I replace this?
EDIT::: It has been suggested i use og:image to show an image. I did this, but it doesn't seem to be carrying through? Any thoughts? Is this due to using Cordova vs Java somehow?

Adobe AIR for Android - Open native facebook app

So I've been trying to figure out a way to open the native android facebook app from my Adobe AIR game but couldn't find a solution yet.
Basically I am interesting in letting my users open my game's facebook page and be able to click the like button.
My current solution is to open a webview but that is not good enough because users will have to enter their facebook login details.
So I just need them to open my game's page directly in their facebook app without needing to enter login details in a webview.
Is there a solution for this?
I think you can use navigateToURL(new URLRequest("fb://profile/your_page_id"));
You can get your page id by going to your Facebook page and pressing the Edit Page button. It will be in the browser url bar. E.g. https://www.facebook.com/pages/edit/?id=261615207268847&tab=public
The id is 261615207268847 so navigateToURL(new URLRequest("fb://profile/261615207268847"));

Categories

Resources