Open Facebook App
This site uses cookies to deliver our services and to show you relevant ads and job listings. By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. Your use of Stack Overflow’s Products and Services, including the Stack Overflow Network, is subject to these policies and terms.
Join Stack Overflow to learn, share knowledge, and build your career.
Correct way in 2018 to open Facebook app via website link?
Ask Question
up vote 2 down vote favorite
Let me say first that I've researched this for the past 4 hours. From various threads, I have seen that linking to fb://page/PAGEID is the OLD way of opening the Facebook app via a website link and that fb://facewebmodal/f?href=FACEBOOKURL is the new way.
As a reference: Open Facebook Page in Facebook App (if installed) on Android
The problem now is, I've tested both of them on iOS and Android today (June 04, 2018) and the one that works is the supposedly old way: fb://page/PAGEID. Did Facebook change this at some point again? I'm using the absolutely latest version of the Facebook app.
What is the correct way to do this in 2018?
I figured it out, hope it helps someone else.
If the device is Android, use:
If you do it automatically you need to detect the device first and then redirect to the appropriate link.
This site uses cookies to deliver our services and to show you relevant ads and job listings. By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. Your use of Stack Overflow’s Products and Services, including the Stack Overflow Network, is subject to these policies and terms.
Join Stack Overflow to learn, share knowledge, and build your career.
Correct way in 2018 to open Facebook app via website link?
Ask Question
up vote 2 down vote favorite
Let me say first that I've researched this for the past 4 hours. From various threads, I have seen that linking to fb://page/PAGEID is the OLD way of opening the Facebook app via a website link and that fb://facewebmodal/f?href=FACEBOOKURL is the new way.
As a reference: Open Facebook Page in Facebook App (if installed) on Android
The problem now is, I've tested both of them on iOS and Android today (June 04, 2018) and the one that works is the supposedly old way: fb://page/PAGEID. Did Facebook change this at some point again? I'm using the absolutely latest version of the Facebook app.
What is the correct way to do this in 2018?
I figured it out, hope it helps someone else.
If the device is Android, use:
If you do it automatically you need to detect the device first and then redirect to the appropriate link.
Related Posts:
fb://facewebmodal/f?href=FACEBOOKURL works, but doesn't display the page correctly - the header image is missed off and you end up in "about" with no way to like the app.
fb://page/PAGEID works fine in android and displays the page as intended. (for clarity this is the numeric pageid that the page owner can see in the about box in facebook)
- Open Facebook App
- Facebook Auto Friend Request App
- Facebook Fogin in Face
- Facebook Homepage Login Screen
- Fb Id Delete
- How To Reactivate Deactivated Facebook Account
- Facebook Login Home Page English P
- Facebook Icon Free Download For Pc
- Sign Me In
- Facebook Friend Checker
- Facebook Sech
fb://facewebmodal/f?href=FACEBOOKURL works, but doesn't display the page correctly - the header image is missed off and you end up in "about" with no way to like the app.
fb://page/PAGEID works fine in android and displays the page as intended. (for clarity this is the numeric pageid that the page owner can see in the about box in facebook)
0 comments:
Post a Comment
Facebook has greatly reduced the distribution of our stories in our readers' newsfeeds and is instead promoting mainstream media sources. When you share to your friends, however, you greatly help distribute our content. Please take a moment and consider sharing this article with your friends and family. Thank you.