How to retrieve Facebook response using Facebook iOS SDK

后端 未结 2 1651
借酒劲吻你
借酒劲吻你 2020-12-02 11:28

I am using the Facebook iOS SDK for iPhone. I initialize the Facebook instance

facebook = [[Facebook alloc] initWithAppId:kAppId];

And then

2条回答
  •  误落风尘
    2020-12-02 12:26

    Thanks for this hint Yogesh!

    In facebook.m you can also set the safariAuth param in the authorize method.

    - (void)authorize:(NSArray *)permissions
         delegate:(id)delegate {
    
      ...
    
      [self authorizeWithFBAppAuth:YES safariAuth:NO];
    }
    

提交回复
热议问题