ios Facebook custom url scheme to open user profile

匿名 (未验证) 提交于 2019-12-03 01:26:01

问题:

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"fb://profile/user.x"]]; 

fb://profile/[your ID] and the facebook app will open to your page.

fb://profile/(fbid)

I followed the steps above to open Facebook native app in iOS 8 but it does not work, is there a way to do this?

I mean twitter works perfect whats wrong with Facebook not updating their API!.

Thanks

回答1:

As Ming Li pointed out in his comment, this is not officially supported. You can't deeplink to a user profile in the Facebook app.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!