Well, I've definitely found the Facebook SDK to be a little tricky myself, but here are a couple things I'm seeing that will hopefully help.
Up vote 0 down vote favorite share g+ share fb share tw.
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={type = mutable dict, count = 2, entries => 2 : {contents = "type"} = {contents = "OAuthException"} 3 : {contents = "message"} = {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; ios facebook sdk facebook-graph-api link|improve this question edited Jul 23 '11 at 17:08OffBySome15.6k52646 asked Jul 20 '11 at 7:22Ben367 100% accept rate.
Possible duplicate of stackoverflow.com/questions/4950337/… – webarto Jul 20 '11 at 7:26.
Well, I've definitely found the Facebook SDK to be a little tricky myself, but here are a couple things I'm seeing that will hopefully help. First off, I think you might have copied a couple methods incorrectly when entering the code accompanying your question. The allocation of the "facebook" object is where the delegate is set, and the "authorize" method only takes a NSMutableDictionary of parameters.
For clarity's sake, the code should look like: facebook = Facebook alloc initWithAppId:@"00000000000000" andDelegate:self; NSArray *permissions = NSArray arrayWithObjects:@"read_stream", @"publish_stream", @"offline_access",nil retain; facebook authorize:permissions; facebook requestWithGraphPath:@"1342568689/feed" andDelegate:self; Aside from that, the only real problem is that you are making a call to the graph API before the app has had time to be authorized completely. These calls are all done asynchronously, so as the main thread is moving on to your requestWithGraphPath:andDelegate call before the authorization process has actually returned a valid access token. You could move this call, or any other like it, into button onClick handler, or for a more direct test, into the Facebook Session Delegate method fbDidLogin.
Hope that helps!
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.