新的Facebook iOS应用程序的自定义URL方案 [英] Custom URL scheme for new Facebook iOS app
本文介绍了新的Facebook iOS应用程序的自定义URL方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
使用个人资料替换 您的新陈述将是:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@fb:// profile / 247377102029332 ]];
Does anyone know what the custom URL scheme is to open a Facebook page in their new iOS app. I was using fb://page/PAGE_ID however this doesn't seem to be working in the recently updated Facebook iOS app, it just opens the app but doesn't go to the required page.
解决方案
I got this answer at developer.facebook.com:
Replace the word page with profile and it will work. Your new statement will be:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"fb://profile/247377102029332"]];
这篇关于新的Facebook iOS应用程序的自定义URL方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文