Starting Facebook App

cbanks

Active Member
Licensed User
Longtime User
The following code works to start the Facebook app, but I want to start the Facebook app AND and have it go to a certain page (LDS Scriptures Premium | Facebook). What modification to the code below would need to be done to accomplish this? Thanks.

Dim pm As PackageManager
Dim in As Intent
in = pm.GetApplicationIntent("com.facebook.katana")
StartActivity(in)
 
Last edited:

luke2012

Well-Known Member
Licensed User
Longtime User
Upvote 0

trebun

Member
Licensed User
Longtime User
Hi,

change the url from
B4X:
https://www.facebook.com/TheBigBangTheory
to
B4X:
https://graph.facebook.com/TheBigBangTheory

You will see this:
B4X:
{
   "name": "The Big Bang Theory",
   "is_published": true,
   "website": "http://www.cbs.com/shows/big_bang_theory/ ",
   "username": "TheBigBangTheory",
   "about": "Welcome to The Big Bang Theory's OFFICIAL Facebook page! Tune in Thursdays at 8/7c on CBS! ",
   "starring": "Johnny Galecki, Jim Parsons, Kaley Cuoco, Simon Helberg, Kunal Nayyar, Sara Gilbert",
   "plot_outline": "Leonard and Sheldon are brilliant physicists, the kind of \"beautiful minds\" that understand how the universe works. But none of that genius helps them interact with people, especially women. \n\nAll this begins to change when a free-spirited beauty named Penny moves in next door. Sheldon, Leonard's roommate, is quite content spending his nights playing Klingon Boggle with their socially dysfunctional friends, fellow CalTech scientists Wolowitz and Koothrappali. However, Leonard sees in Penny a whole new universe of possibilities... including love. ",
   "schedule": "Tune in Thursdays at 8/7c on CBS! ",
   "talking_about_count": 238944,
   "category": "Tv show",
   "id": "22934684677",
   "link": "https://www.facebook.com/TheBigBangTheory",
   "likes": 23828105,
   "cover": {
      "cover_id": "10150638079659678",
      "source": "http://sphotos-h.ak.fbcdn.net/hphotos-ak-ash4/s720x720/419443_10150638079659678_510138455_n.jpg",
      "offset_y": 0
   }
}

B4X:
   "id": "22934684677",

regards,
trebun
 
Upvote 0
Top