我想实现Facebook功能,但是以下代码行有错误:
[FBRequestConnection startWithGraphPath:[NSString stringWithFormat:@"%@/photos",[fbidarray objectAtIndex:j]] parameters:params HTTPMethod:@"POST" completionHandler:^(FBRequestConnection *connection, id result, NSError *error1)
错误信息为:
use of undeclare identifier 'FBRequestConnection'
我已经导入了以下框架:
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <FBSDKLoginKit/FBSDKLoginKit.h>
你们中的任何一位知道错误原因吗?
非常感谢你的帮助。