NSString *SocialAuthToken = [FBSDKAccessToken currentAccessToken];
NSDictionary *postContent = @{ @"LoginType" :LoginType, @"SocialAuthToken" : SocialAuthToken, @"Password" : @"123", @"Info" : DictInfo};
NSLog(@"%@",postContent);
NSData *postdata = [NSJSONSerialization dataWithJSONObject:postContent options:NSJSONWritingPrettyPrinted error:&error];
答案 0 :(得分:0)
从tokenString
获取FBSDKAccessToken
。
NSString *SocialAuthToken = [[FBSDKAccessToken currentAccessToken] tokenString];