Does anyone know how to open fb fan page in iphone application from web page?

I am trying to open a facebook fan page in a fbook application from a webpage in safari.

I found. What are all the custom URL schemes supported by the iPhone Facebook application?

and I tried to set a link to

  • fb: // pages / [PageId]
  • fb: // pages / identifier = [PageId]
  • fb: // page / [PageId]
  • fb: // page / id = [PageId]
  • fb: // Profile / [PageId]

They all open the application (of course), but not on my page, I feel like I'm near, but I was just joking about it for a while, any help was greatly appreciated.

+5
source share
2 answers

facebook facebook, :

1) uid ( , , facebook).

: http://www.facebook.com/Innova.et.Bella

{"text":"Innova et Bella","type":"ent:page","uid":73728918115}

N.B.: uid, uid pagename: http://www.facebook.com/73728918115 URL- .

2) uid , , :

NSURL *urlApp = [NSURL URLWithString:@"fb://profile/73728918115"];
[[UIApplication sharedApplication] openURL:urlApp];

facebook. N.B.: , facebook (, URL ), : if ([[UIApplication sharedApplication] canOpenURL:urlApp]) Safari.

+10

Facebook facebook. .

-2

All Articles