Archive - Mar 22, 2008
Paul W. Campbell posted a photo:
Paul W. Campbell posted a photo:
.netrc is an already defined file standard that is already recognized by curl for storing usernames and passwords.
curl doesn't insist that this file not be world readable, so checks will still need to be made to ensure that it is a secure file.
Users would then simply add lines like:
machine twitter.com login kemitix password my-twitter-password
machine myproxy login myproxyuser password my-proxy-password
A normal proxy can be used by setting the $http_proxy environment variable, but an authenticating proxy need curl to send it a username and password.
The JSON status confirmation message that is returned from twitter.com when a message is posted should be quietly discarded. It is currently being dumped on the command line.
Changelog for 0.0.3 said that this had been fixed but it hasn't. I/YOU LIED!
Download: cl-twit
Size: 2.04 KB
md5_file hash: de44cc5ad9e9b5a12b48c2bd39713561
First released: Sat, 2008-03-22 00:33
Last updated: Sat, 2008-03-22 00:32
0.0.3
- Don't print JSON returned by twitter.com
- Add verbose option to report # chars used/left.
- Discard account and message environment variables after used.
0.0.2
- Protect against errors when using:
cl-twit "This isn't going to cause an error."
The double quotes are needed because of the '.
The quotes introduce spaces into $1, so it gets wrapped with ""
0.0.1
- Initial adaptation from
http://www.fsckin.com/2008/03/19/twittering-from-the-command-line/

