I'm having an issue with the Facebook graph API, and more precisely the iOS SDK. My code used to work properly but now I get this error description when trying do use it (to get personal feed, friend's feed, friends list,...) :
Err details: Error Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0x7113b80 {error=<CFBasicHash 0x7113910 [0x176e400]>{type = mutable dict, count = 2,
entries =>
2 : <CFString 0x7121e60 [0x176e400]>{contents = "type"} = <CFString 0x7113a20 [0x176e400]>{contents = "OAuthException"}
3 : <CFString 0x7113b40 [0x176e400]>{contents = "message"} = <CFString 0x7113a00 [0x176e400]>{contents = "An access token is required to request this resource."}
}
}
Would anyone have an idea of where it might come from ?
Here is my source code too :
facebook = [[Facebook alloc] initWithAppId:@"00000000000000"];
NSArray *permissions = [[NSArray arrayWithObjects:@"read_stream", @"publish_stream", @"offline_access",nil] retain];
[facebook authorize:permissions delegate:self];
[facebook requestWithGraphPath:@"1342568689/feed" andDelegate:self];