试图在我的 iPhone 应用中发布 OPEN GRAPH Facebook Action。它返回对象类型的错误。虽然对象类型是正确的。不确定是什么问题...
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
facebookToken, @"facebook_access_token",
@"photo", @"type",
@"IMG_URL_HERE", @"url",
@"Test Title", @"title",
@"IMG_URL_HERE", @"image",
@"Test Description", @"description",
nil];
[delegate.facebook requestWithGraphPath: @"me/APP_SHARED_NAME:shared" andParams:params andHttpMethod: @"POST" andDelegate: self];
它返回此错误
Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0x7fa78f0 {error=<CFBasicHash 0x7fa6b10 [0x1a0bb48]>{type = mutable dict, count = 3,
entries => 2 : {contents = "type"} = {contents = "Exception"} 3 : {contents = "message"} = {contents = "您尝试发布的操作无效,因为它没有指定任何引用对象。必须至少指定以下属性之一:照片。"} 6 : {contents = "code"} = 1611072 } }
有人对此有想法吗???