Thursday, July 30, 2020

Get an Invalid or Expired Token Error Response in postman for twitter api

The following error can occur if you have regenerated tokens or revoked access to your Twitter application.

Solution: Check the authorization for your application on the Twitter developer page and update the credentials for the adapter.

  1. Log in to the Twitter developer page and go to https://apps.twitter.com.

  2. If you have revoked access to the application, provide access by clicking Generate Access Token.

    
  1. Make a note of the following tokens in the Keys and Access Tokens tab:

    • Consumer key

    • Consumer secret

    • Access token

    • Access token secret

  2. Update the Twitter Adapter connection with these credentials.