I do not know what is happening - but I can not find my previous posts.
I am trying to follow this: https://dev.twitter.com/docs/api/1.1/post/oauth2/token
I get the access_token just fine.
So then I move on to getting the user timeline.
NSString *accessTokenHeaderToPost = [NSString stringWithFormat:@“Bearer %@”, accessTokenString64];
twitURL = @"https://api.twitter.com/1.1/statuses/user_timeline.json?count=30&screen_name=skillsusari";
request = [[NSMutableURLRequest alloc] init];
[request setURL:[NSURL URLWithString: twitURL]];
[request setHTTPMethod:@"GET"];
[request setValue:accessTokenHeaderToPost forHTTPHeaderField:@"Authorization"];
responseData = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&err];
responseString = [[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding];
NSLog (@"RESP: %@", err);
I get an error about bad authentication.