06. 07. 09
Turbo Tweeting
curl -u username:password -d status="Lets's have a excellent ancient tweet. http://goodoldtweet.twt" http://twitter.com/statuses/update.xmlThe username:password is honestly obvious - just replace it with your own Twitter account login details. The text following -d status= is your tweet message (I included my blog url). See below Sponsored Links
Now, this produces output to the screen and is helpful when you want to know that the command has worked and what it did. But, this is no excellent if you want to automate the command. Screen output will cause an error in scheduled running of scripts and applications. Fortunately there is a way around this. I shall show you how to do this in Linux as I currently don't know the equivalent in Windows (it may be the same in Windows but don't count on it).
curl -u username:password -d status="Lets have a excellent ancient tweet. http://goodoldtweet.twt" http://twitter.com/statuses/update.xml > /dev/null 2>&1This makes sure that all output is cleanly dealt with without causing errors. The shell script in which you place the command can now be scheduled as you wish.




















































Will this work in a Mac? Thanks
If you have installed cURL on your Mac then yes.
Hey, Fantastic blog you have here. I wanted to let you all know that I reckon Twitter is going to be one of the better networks because of the fact that it is supported by so many industries. I also reckon when Twitter shows some of it’s new functions, returning traffic will go up to show the real growth of the network.
Anyway, I build a website that gives away fantastic resources for Twitter that are 100% free, so come and visit and don’t be a weirder.
Keep up the excellent work!