I have an idea for a twitter feed, show instances of head shots on my
counter strike source server (http://colo.doghousedean.com)
Since i last did twitter from command line you could use curl command but
now i get “Basic authentication not supported”
Has any one done this recently, I’m coding in BaCon it converts basic to C
and can import libraries (liboauth) but I have no clue where to start.
I would appreciate any help on offer.
Twitter’s not so keen on basic auth any more, you have to use oauth.
I’ve written quite a few clients against twitter, but not using Basic
or C, if I point you at one of my libraries for doing this perhaps
you’ll be able to work backwards ?
 - A lib of mine for interacting with OAuth from Node.js
 - A page showing example usage for sending a 'tweet’
I hope this helps a little ? In basic terms to get started with
OAuth, you need to register your ‘app’ with twitter (this takes 30
seconds) and gives you both a key and a shared secret.
In your particular case you’ll not be wanting to use the standard
3-legged OAuth, but use a pre-canned Access Token + Access Token
secret, which can be found by hunting around the dev.twitter.com site
after registering your app (‘My Access Token’) … I can never remember
where it is, or I’d tell you more explicitly.
Once you have the shared secret, the key, the token and the token
secret you’re good to go . You throw all these parameters at an
OAuth library that can ‘sign’ urls (take those parameters, concatenate
them with the HTTP method, url and parameters, generate a hash etc.)
using this ‘signed’ url you should be able to access the resource
you’re interested in, or in your case POST a tweet