开发者

Problem running Facebook iphone DemoApp

When I press on the Login button, i transfer to Safari, why? I entered 开发者_运维问答the app id as they asked. Whats wrong?

Tnx


The latest version of the Facebook iOS SDK uses a technique called Single Sign On (short: SSO). If your users don't have the Facebook App installed the framework will use Safari as a fallback method to authorize your application.


@henrik is right, if you want to change this behavior, in Facebook.m, at about line 214, change line to

  [self authorizeWithFBAppAuth:YES safariAuth:NO];

if you do not want Facebook App auth, change as well :

  [self authorizeWithFBAppAuth:NO safariAuth:NO];

it will open the good old popup

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜