Upgrade consumer key to allow guest auth


#1

I am implementing Tweet UI to show Tweet inside Android mobile application but I keep getting following error.

Your app may not allow guest auth. Please talk to us regarding upgrading your consumer key.

Where do I request to upgrade consumer key. Is it possible there could be any other problem that’s causing this problem?

Complete exception:

E/Twitter (28784): Your app may not allow guest auth. Please talk to us regarding upgrading your consumer key.
E/Twitter (28784): com.twitter.sdk.android.core.TwitterApiException: 403 Forbidden
E/Twitter (28784): 	at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:383)
E/Twitter (28784): 	at retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220)
E/Twitter (28784): 	at retrofit.RestAdapter$RestHandler$2.obtainResponse(RestAdapter.java:278)
E/Twitter (28784): 	at retrofit.CallbackRunnable.run(CallbackRunnable.java:42)
E/Twitter (28784): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/Twitter (28784): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/Twitter (28784): 	at retrofit.Platform$Android$2$1.run(Platform.java:142)
E/Twitter (28784): 	at java.lang.Thread.run(Thread.java:818)
E/TwitterKit(28784): Load Tweet failure
E/TwitterKit(28784): com.twitter.sdk.android.core.TwitterApiException: 403 Forbidden
E/TwitterKit(28784): 	at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:383)
E/TwitterKit(28784): 	at retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220)
E/TwitterKit(28784): 	at retrofit.RestAdapter$RestHandler$2.obtainResponse(RestAdapter.java:278)
E/TwitterKit(28784): 	at retrofit.CallbackRunnable.run(CallbackRunnable.java:42)
E/TwitterKit(28784): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/TwitterKit(28784): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/TwitterKit(28784): 	at retrofit.Platform$Android$2$1.run(Platform.java:142)
E/TwitterKit(28784): 	at java.lang.Thread.run(Thread.java:818)

Here’s the simplest code snippet that I am trying to run:

    TwitterAuthConfig authConfig = new TwitterAuthConfig(App.TWITTER_KEY, App.TWITTER_SECRET);
    Fabric.with(getActivity(), new TwitterCore(authConfig), new TweetUi());

    TwitterCore.getInstance().logInGuest(new Callback<AppSession>() {
        @Override
        public void success(Result<AppSession> result) {
            Log.e("TwitterKit", "Load Tweet Success");
        }

        @Override
        public void failure(TwitterException e) {
            Log.e("TwitterKit", "Load Tweet failure", e);
        }
    });

#2

Same problem here. We work on an Android mobile application. We did what the fabric documentation told us to do.
And now we get the error:

Your app may not allow guest auth. Please talk to us regarding upgrading your consumer key.

What does this exactly mean?


#3

This usually occurs when using a Twitter Consumer Key and Secret that have been generated through apps.twitter.com, instead of Fabric. If you need your key whitelisted, just email into support(at)fabric(dot)io and let us know how you’re looking to use Twitter Kit within your app.

-Mike


#4

Issue was fixed whitelisting keys by sending email to twitter staff.


#5

@Sharj to which email address did you wrote? Thanks.


#6

You can contact us via support(at)fabric(dot)io for assistance if required, as @bonnell states above.


Upgrade consumer key to allow guest auth
#7