English 中文(简体)
任何人都知道如何从网页上打开一只听器的狂热页面?
原标题:Anyone know how to open a fb fan page in iphone app from web page?

我试图在笔记中从一个网页上打开我的脸书狂热页面。

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

我试图确定联系

  • fb://pages/[pageid]
  • fb://pages/?id=[pageid]
  • fb://page/[pageid]
  • fb://page/?id=[pageid]
  • fb://profile/[pageid]

They all open the app( of course ) but not at my page, I feel like i m close but I ve been poking round at it for a while now, any help much appreciated.

最佳回答

To open facebook page in facebook app you should:

(1) 您网页的封建(例如,可以通过查阅你的面纱页的源代码)

页: 1

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

N.B.: To check if uid is correct substitute uid for pagename: http://www.facebook.com/73728918115 This url should open your page.

2) 在发现所建工程结束时正确使用该守则:

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

This code will open you page within facebook app. N.B.: Do not forget to check if the facebook app exists( or more precisely that the url can be opened) using: if ([[UIApplication sharedApplication] canOpenURL:urlApp]) otherwise open it in Safari.

问题回答

Face tab pages do not show in the Mobile or app edition of facebook. 不可能。





相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签