Facebook SDK iOS - 授权应用内? [英] Facebook SDK iOS - Authorise In-App?
问题描述
我发现在Facebook.m类中我可以这么做:
I have found that in the Facebook.m class I can do this:
[self authorizeWithFBAppAuth:NO safariAuth:NO];
我将每个都从YES更改为NO,因为我不想让用户离开我的应用程序授权我的申请。
I changed each of these from YES to NO as I don't want to user to leave my application to authorise my application.
然而,现在做完了,我没有任何类型的应用内提示进行授权,所以如何在我的应用程序中授权我自己,而无需用户去Safari或者Facebook应用程序授权?
However now having done that I get no in-app prompt of any kind to authorise, so how can I authorise myself now inside my application without the user going to either Safari or the Facebook app to authorise?
谢谢。
推荐答案
看看你的问题是什么。
在我看来,获得最新的
https://github.com/facebook/facebook-ios-sdk
然后覆盖
in my opinion get the latest https://github.com/facebook/facebook-ios-sdk and then override
[device respondsToSelector:@selector(isMultitaskingSupported)] && [device isMultitaskingSupported]
在facebook.m总是返回false行160
in facebook.m to always return false line 160
这篇关于Facebook SDK iOS - 授权应用内?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!