Search code examples
jsontwitterpostman

Get Twitter Timeline (JSON) using Postman Client


I want to get user Twitter timeline in JSON using Postman client Please find the screenshot of my request here

I have already followed already answered questions here, but I am not able to get the response from Twitter.

I am getting the response as

{
    "errors": [
        {
            "code": 32,
            "message": "Could not authenticate you."
        }
    ]
}

Now either Twitter has banned request from other client or I am doing it wrong please help.


Solution

  • You need to set the Auth token to be used in the request header rather than part of the request body.

    This can be set via the drop down option in the Auth feature. Select the option to use it as a request header and then hit the Preview Request button. You should be able to see this token on the list of headers.