Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

launch facebook app from other app

Tags:

How can I launch a facebook app from my app in android?

like image 309
Aswan Avatar asked Nov 16 '10 05:11

Aswan


People also ask

What happens when you link an app to Facebook?

When someone using your app shares content to Facebook or another App Links-enabled app you can create a link to jump back into your app from that piece of content. Seamlessly launch your app with the right information so someone can see the content immediately and quickly.

How do I remove Facebook access from other Apps?

Tap in the top right of Facebook. Scroll down and tap Settings. Go to the Security section and tap Apps and Websites. Tap Edit next to Apps, Websites and Games, then tap Turn Off.


1 Answers

Looking at the latest Facebook apk (1.6), it looks like both "facebook://" and "fb://" are registered protocols.

facebook://

facebook:/chat facebook:/events facebook:/friends facebook:/inbox facebook:/info facebook:/newsfeed facebook:/places facebook:/requests facebook:/wall 

fb://

fb://root fb://feed fb://feed/{userID} fb://profile fb://profile/{userID} fb://page/{id} fb://group/{id} fb://place/fw?pid={id} fb://profile/{#user_id}/wall fb://profile/{#user_id}/info fb://profile/{#user_id}/photos fb://profile/{#user_id}/mutualfriends fb://profile/{#user_id}/friends fb://profile/{#user_id}/fans fb://search fb://friends fb://pages fb://messaging fb://messaging/{#user_id} fb://online fb://requests fb://events fb://places fb://birthdays fb://notes fb://places fb://groups fb://notifications fb://albums fb://album/{%s}?owner={#%s} fb://video/?href={href} fb://post/{postid}?owner={uid}¹ 

Sorry if I missed some... only played with a handful of them in the emulator to see if they actually work - a bunch of them will cause the Facebook application to crash.

¹ where postid is in the uid_postid format, e.g 11204705797_10100412949637447

like image 91
NPike Avatar answered Nov 18 '22 17:11

NPike