Twitter API with Paw Register with Twitter Set the Authorization header Use the API (example: Get Latest Tweets) Use Environment Variables Twitter API with Paw¶ Discover APIs Twitter Build and send your request OAuth 1 Environments as reusable presets Obfuscate and encrypt your passwords Reuse values from previous responses Register with TwitterRegister with Twitter¶ Create a new App or pick an existing one at Twitter Application Management console Switch to the Keys and Access Tokens tab where you can find the app credentials (Consumer Key and Consumer Secret) and the user credentials (Access Token and Access Token Secret). Set the Authorization headerSet the Authorization header¶ In the Request Headers tab, add a new Authorization header, and right-click the value field. In the contextual menu, pick “Authorization” then “OAuth 1.0a Authorization Header”. You can now setup your credentials: Consumer Key: app credentials Consumer Secret: app credentials Token (aka. Access Token): user credentials Token Secret (aka. Access Token Secret): user credentials Timestamp: for a normal use, leave this as is Nonce: for a normal use, leave this as is Signature Method: make sure HMAC-SHA1 is selected Callback URL: leave this empty Additional Params: leave this empty Body Hash: leave this unchecked Use the API (example: Get Latest Tweets)Use the API (example: Get Latest Tweets)¶ We will now setup Paw for retrieving the most recent Tweets and retweets posted by the authenticating user and the users they follow. Method: select GET URL: enter as https://api.twitter.com/1.1/statuses/home_timeline.json as URL Request Name: give a user-friendly name to this request in Paw, like “Twitter Home Timeline” Learn more about Twitter REST APIs. Use Environment VariablesUse Environment Variables¶ orphan: As you may often switch between development and production environments, or between several users, you may need to have several OAuth credentials you may apply to your Requests. You can keep those credentials in Environments, and then use them in the OAuth Header Dynamic Value. Read more about Environments and how to use Environments as Reusable Presets.