(Android) How to open a Facebook page from app?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
(Android) How to open a Facebook page from app?
How do I create a button that will send the user to a Facebook page when pressed? Should I send the user to the Facebook app or a browser (and the browser will send them to the Facebook app?)
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: (Android) How to open a Facebook page from app?
The launch url command will open any valid web link in the user's default browser.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: (Android) How to open a Facebook page from app?
for the app use
Where facebookrequest can be any valid facebook request.
If the app is installed it, Android would ask if open the URL with Facebook app, because fb: is the standard custom URL of facebook.
Code: Select all
launch URL "fb://facebookRequest"
If the app is installed it, Android would ask if open the URL with Facebook app, because fb: is the standard custom URL of facebook.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w