Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Problem reinitialize Twitter #157

Open
sindycarlo opened this issue Dec 5, 2018 · 0 comments
Open

Problem reinitialize Twitter #157

sindycarlo opened this issue Dec 5, 2018 · 0 comments

Comments

@sindycarlo
Copy link

Hi,
in my app set TwitterConfig with consumer_key and consumer_secret in this way:

    TwitterConfig twitterConfig = new TwitterConfig
            .Builder(this.activity)
            .logger(new DefaultLogger(Log.DEBUG))
            .twitterAuthConfig(new TwitterAuthConfig(CONSUMER_KEY, CONSUMER_SECRET))
            .debug(true)
            .build();
    Twitter.initialize(twitterConfig);

how can reinitialize TwitterConfig (with new tokens) when i restart the activity?. Because if i restart application TwitterSession not change. (i test app passing tokens not valid).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant