unable to get the access token through [FBSDKAccessToken currentAccessToken] in iphone sdk

前端 未结 4 1772
野性不改
野性不改 2020-11-27 22:13

I am creating a facebook app. I have implemented the login using class FBSDKLoginManager. At first time when i login the facebook, success block return the FBSDKLogi

4条回答
  •  自闭症患者
    2020-11-27 22:38

    You need to call

    [[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions]
    

    Before

    [FBSDKAccessToken currentAccessToken]
    

提交回复
热议问题