Closed victorstewart closed 7 years ago
I've set up my twitter application / api account. Got my consumer key and secret... but when I try to authenticate a user like this.... no callbacks are ever called, neither success nor failure.
Any idea what could be causing that?
Here's the code I'm using
[[STTwitterAPI twitterAPIWithOAuthConsumerKey:@"xxxxxxxxxxxx" consumerSecret:@"xxxxx"] postTokenRequest:^(NSURL *url, NSString *oauthToken) { LOG(@"twitter auth returned"); LOG(@"url = %@", url); LOG(@"oauthToken = %@", oauthToken); [[Web sharedWeb] loadURL:url.absoluteString caller:self]; } oauthCallback:@"xxxx://twitter" errorBlock:^(NSError *error) { LOG(@"error occured while trying to auth twitter = %@", error); }];
all that appears in NSLog is...
2017-02-10 00:28:56.006282 xxx[4305:1407180] -- <__NSObserver: 0x1702433c0>
I've set up my twitter application / api account. Got my consumer key and secret... but when I try to authenticate a user like this.... no callbacks are ever called, neither success nor failure.
Any idea what could be causing that?
Here's the code I'm using