Update to authenticated API :(
kaihendry opened this issue · 3 comments
As I understand it, each user does not need to authenticate. You could authenticate the app once and then effectively let everyone else use your token, as long as their feeds are public.
From https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline it is a little confusing what needs to happen.
Requires user context is a bit confusing, since the Oauth tool indicates an Access token... and from the FAQ, "We do not currently expire access tokens.". We only need read/access here. I wonder if this means we just need a token and we are away.
https://twitter.com/kaihendry/status/299104954436694016 point to a proxy solution I'm looking at. :/ mojodna/oauth-proxy#2
Need help here.
Using this PHP script and jsontool
$ php oauth.php | json -d '|' -a id created_at text 299129791485972500|Wed Feb 06 12:17:54 +0000 2013|Yay, I have a 59LOC PHP script to authenticate with the new 1.1 API @twitterapi #sobs 299113372518055940|Wed Feb 06 11:12:39 +0000 2013|@cheeaun so I don't have to implement that crap in my code? :)
curl → Oauth PHP script
xmlstarlet → jsontool