send tweets to twitter (and get user details)

curl --basic --user "user:pass" --data-ascii "status=tweeting%20from%20%the%20linux%20command%20line" http://twitter.com/statuses/update.json
great for outputting tweets from cron jobs and batch scripts
Sample Output
{"truncated":false,"user":{"followers_count":25,"profile_image_url":"http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/65645645\/tao_normal.JPG","description":"Running the bits of Tangent that create cool websites, online marketing and smart technology","screen_name":"g__j","url":"http:\/\/www.tangentplc.com","name":"Greg Jackson","protected":false,"location":"London, Engerland","id":17157813},"favorited":false,"created_at":"Fri Jan 30 17:21:30 +0000 2009","text":"tweeting from %the linux command line","in_reply_to_user_id":null,"in_reply_to_screen_name":null,...

2
By: g__j
2009-01-30 18:08:35

What Others Think

doula st louis This is the only site the helped me
yeoyeo · 25 weeks and 2 days ago
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. ??
KayGasaway · 8 weeks and 6 days ago
Incredible articles and awesome design. Your blog entry merits the greater part of the positive input it"s been getting. ??
KayGasaway · 8 weeks and 4 days ago
Cool stuff you have got and you keep update all of us. ??????
KayGasaway · 7 weeks and 5 days ago
You delivered such an impressive piece to read, giving every subject enlightenment for us to gain information. Thanks for sharing such information with us due to which my several concepts have been cleared. ??? ???
KayGasaway · 7 weeks ago
I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. The Float Life
KayGasaway · 5 weeks and 4 days ago
Super Bazar Online Shopping in Pakistan Best Deals available at discounted rates Cah on delivery Service in Karachi, Lahore, Rawalpindi, across Pakistan loungewear
KayGasaway · 5 weeks ago
Just pure classic stuff from you here. I have never seen such a brilliantly written article in a long time. I am thankful to you that you produced this! Flightfins
KayGasaway · 5 weeks ago
Interesting post. I Have Been wondering about this issue. so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks Computer Support and Services companies Beverlywoods Los Angeles
KayGasaway · 4 weeks and 4 days ago
Merely a smiling visitant here to share the love (:, btw outstanding style. https://nc.locanto.com/ID_4960145818/Wolfleys-com.html
hiknigarde · 3 weeks and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: