I get this error log, which says to email support@fabric about “upgrading” the API key. Support has been very helpful but say the consumerKey in use is perfectly fine and enabled for guest auth. It’s not a key from a Twitter App I made, but a Twitter App Fabric made automatically.
The code is basically:
[[[TWTRAPIClient alloc] init] loadTweetWithID:self.tweetId completion:^(TWTRTweet *tweet, NSError *error) { ... } ];
The error is:
2015-12-14 12:22:53.033 MyApp[65368:4736799] Guest authentication failed: Error Domain=TwitterAPIErrorDomain Code=89 "Request failed: unauthorized (401)" UserInfo={NSErrorFailingURLKey=https://api.twitter.com/1.1/guest/activate.json, NSLocalizedDescription=Request failed: unauthorized (401), NSLocalizedFailureReason=Twitter API error : Invalid or expired token. (code 89)}
2015-12-14 12:22:53.034 MyApp[65368:4736799] [TWTRGuestSessionRefreshStrategy] Your app may not be enabled for guest authentication. Please contact support@fabric.io to upgrade your consumer key.
(lldb) po error
Error Domain=TwitterAPIErrorDomain Code=89 "Request failed: unauthorized (401)" UserInfo={NSErrorFailingURLKey=https://api.twitter.com/1.1/guest/activate.json, NSLocalizedDescription=Request failed: unauthorized (401), NSLocalizedFailureReason=Twitter API error : Invalid or expired token. (code 89)}