Powie Member Licensed User Longtime User Aug 28, 2014 #1 How I have to link perfect to a facebook page..... Example: In my Database I have the FB Site Id: modelairfields. In Browser I Have to open https://facebook.com/modelairfields In iOS it uses: fb://modelairfields Is it possible to link directly to com.facebook.katana ?
How I have to link perfect to a facebook page..... Example: In my Database I have the FB Site Id: modelairfields. In Browser I Have to open https://facebook.com/modelairfields In iOS it uses: fb://modelairfields Is it possible to link directly to com.facebook.katana ?
Douglas Farias Expert Licensed User Longtime User Aug 28, 2014 #2 why dont open via intent browser? Upvote 0
Douglas Farias Expert Licensed User Longtime User Aug 28, 2014 #3 Code: Copy Dim p As PhoneIntents StartActivity(p.OpenBrowser("https://facebook.com/modelairfields")) Upvote 0
Powie Member Licensed User Longtime User Aug 28, 2014 #4 Douglas Farias said: why dont open via intent browser? Click to expand... it opens only the browser. not the app. Upvote 0
Douglas Farias said: why dont open via intent browser? Click to expand... it opens only the browser. not the app.
Powie Member Licensed User Longtime User Sep 20, 2014 #5 So, if anybody later also will use it, this is the solution. First, fetch the page id from FBgraph, in my example: modelairfields: https://graph.facebook.com/modelairfields This gives me the ID: 257995927658591 The Code for B4A: Code: Copy Try Dim In As Intent In.Initialize(In.ACTION_VIEW, "fb://profile/257995927658591") StartActivity(In) Catch Dim p As PhoneIntents StartActivity(p.OpenBrowser("https://facebook.com/modelairfields")) End Try It starts the Facebook app, if not installed, it starts the browser. Upvote 0
So, if anybody later also will use it, this is the solution. First, fetch the page id from FBgraph, in my example: modelairfields: https://graph.facebook.com/modelairfields This gives me the ID: 257995927658591 The Code for B4A: Code: Copy Try Dim In As Intent In.Initialize(In.ACTION_VIEW, "fb://profile/257995927658591") StartActivity(In) Catch Dim p As PhoneIntents StartActivity(p.OpenBrowser("https://facebook.com/modelairfields")) End Try It starts the Facebook app, if not installed, it starts the browser.