Skip to content

Error when using rest.get #16

@CRL-Cosmos

Description

@CRL-Cosmos

I am getting one problem when I implement rest.get
var tokens = {
consumerKey: this.state.config.twitter.consumerKey,
consumerSecret: this.state.config.twitter.consumerSecret,
accessToken: this.state.config.twitter.oauth_token,
accessTokenSecret: this.state.config.twitter.oauth_verifier
};
const {rest, stream} = twitter(tokens);
rest.get("account/settings").then(() => {Alert.alert('done');}).catch(console.error);

I get this error :
Error: 89 Invalid or expired token.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions