zousan
zousan

Reputation: 93

Invalid or expired token on Twurl

I've done some research and found a question that wants to understand the reasons for “invalid or expired token” but that doesn't solve my problem / doesn't provide one solution to this case using twurl.

Situation is that

  1. Registered app and got the Consumer API token & access, Access token & access.
  2. Authentication succeeded (using pin code)

    twurl authorize --consumer-key ************** --consumer-secret *****************
    
  3. Now get error "Invalid or expired token" when running the following command

    $ twurl /1.1/statuses/mentions_timeline
    

{"errors":[{"code":89,"message":"Invalid or expired token."}]}

How can this be fixed?

Upvotes: 2

Views: 580

Answers (1)

Gonçalo Peres
Gonçalo Peres

Reputation: 13582

Without paying, you will only be able to create the dev environment (sandbox), which is something you haven't considered.

As I have answered here:

Counts is only available to paid premium accounts, and one needs to pay for premium access.

Use this link to Apply for access.

Upvotes: 1

Related Questions