Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1.  
  2. OAuth Signing Results
  3.  
  4. Important: This will only be valid for a few minutes. Also remember the cURL command will actually execute the request.
  5. Signature base string
  6. GET&https%3A%2F%2Fstream.twitter.com%2F1.1%2Fstatuses%2Fsample.json&oauth_consumer_key%3DMsK25M0sTox9dhCn7cVBALhp6%26oauth_nonce%3Dc10bfa1285e09dcd139d8a2d157c5c78%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1414753538%26oauth_version%3D1.0
  7. Authorization header
  8. Authorization: OAuth oauth_consumer_key="MsK25M0sTox9dhCn7cVBALhp6", oauth_nonce="c10bfa1285e09dcd139d8a2d157c5c78", oauth_signature="50DofY96wMIqri9Y8cemjoAYtkI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1414753538", oauth_version="1.0"
  9. cURL command
  10. curl --get 'https://stream.twitter.com/1.1/statuses/sample.json' --header 'Authorization: OAuth oauth_consumer_key="MsK25M0sTox9dhCn7cVBALhp6", oauth_nonce="c10bfa1285e09dcd139d8a2d157c5c78", oauth_signature="50DofY96wMIqri9Y8cemjoAYtkI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1414753538", oauth_version="1.0"' --verbose
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement