Fabric - Twitter API Exception 403


Trying to display search timeline in an android app but it throws an exception with the message:
Your app may not allow guest auth. Please talk to us regarding upgrading your consumer key.
com.twitter.sdk.android.core.TwitterApiException: 403 Forbidden

Code snippet:

    View view = inflater.inflate(R.layout.twitter_layout, container, false);
    ListView listView = (ListView) view.findViewById(R.id.twitter_list);

    if(!Fabric.isInitialized()) {

        TwitterAuthConfig authConfig = new TwitterAuthConfig( KEY, SECRET);
        Fabric.with(getContext(), new Twitter(authConfig));

        Log.d("TAG", "Fabric already initialized");

    SearchTimeline searchTimeline = new SearchTimeline.Builder().query("#Wwe").build();
    TweetTimelineListAdapter adapter = new TweetTimelineListAdapter.Builder(getContext()).setTimeline(searchTimeline).build();
    return inflater.inflate(R.layout.twitter_layout,null);


Was your Twitter Consumer Key generated via Fabric or from apps.twitter.com?


Key was generated via Fabric.


Hmm, that should be all set then. Can you email into support(at)fabric(dot)io with the Twitter Consumer Key that you’re using from your info.plist and the KEY from this line?

TwitterAuthConfig authConfig = new TwitterAuthConfig( KEY, SECRET);


Okay will do, thanks.