Android Question Open a specific Facebook Page

luke2012

Well-Known Member
Licensed User
Longtime User
Hi to all,
I wish to implement a android menu entry that open a specific facebook page.
Could be possible using intents ?
 
If you want the Facebook app to open it, then do something like this:
Code: Copy
Try
 
     Dim Facebook As Intent
 
     Facebook.Initialize(Facebook.ACTION_VIEW, "fb://page/413041102094633")
     StartActivity(Facebook)
 
Catch
 
     Dim i As Intent
     i.Initialize(i.ACTION_VIEW, "http://m.facebook.com/RistoLite")
 
     StartActivity(i)
 
End Try

To learn how to get the user ID check THIS post.
 
Upvote 0
Back
Top