I want to read my own twit in a litte localhost application in js + php.
I know how to read the json in api.twitter.com/1/statuses/user_timeline.json?screen_name=myName but due to the limit rate I need to make a User Stream (https://dev.twitter.com/docs/streaming-api/user-streams)
I have my 4 keys by create a dev account :
'consumer_key' => '*****',
'consumer_secret' => '*****',
'user_token' => '*******',
'user_secret' => '******',
So I try with this https://github.com/themattharris/tmhOAuth/blob/master/examples/userstream.php
- download the lib
- run my MAMP (or WAMP or LAMP)
- open the example, put my key
- go to the page
- and nothing. except the browser loader.
Why this hapeens?
- is it due to localhost ?
- or no params ?
- or new twitter restriction ?