1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

twitter api

Posted at

Twitter updated the api to 1.1 so the user/pw authentication has been moved to OAuth.

So the simple https://stream.twitter.com/1/statuses/sample.json54 demo in your browser will need the hashkey generated authentication details under the twitter app dev details.

https://dev.twitter.com/116 -> My Applications under your name in top right -> Add new.
Generate your authentication details.
Oath tool -> Request URI -> paste https://stream.twitter.com/1.1/statuses/sample.json57 and hit Create request
Paste the command into your termnal ie. curl –get ‘https://stream.twitter.com/1.1/statuses/sample.json’ –header ‘Authorization: xxxxxxxxxxxxxxxxxxxxx”‘ –verbose
You should see a bunch of twitter streams in real time…
This request will eventually time out.

Magoo

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?