fbDidLogin never called (facebook-ios-sdk)

前端 未结 10 809
花落未央
花落未央 2020-12-20 05:09

I\'m using a pop up Facebook dialog for the user login and the publishing of a post on his/her stream

NSMutableDictionary* params = [NSMutableDictionary dict         


        
10条回答
  •  醉话见心
    2020-12-20 05:55

    I just had the same problem and solved it. You NEED to implement

    - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
    

    in your app delegate class, not your custom UIViewController or any other class. Then direct the call from your app delegate to whatever controller is responsible for your Facebook.

提交回复
热议问题