send tweets to twitter (and get user details)

curl --basic --user "user:pass" --data-ascii "status=tweeting%20from%20%the%20linux%20command%20line"
great for outputting tweets from cron jobs and batch scripts
Sample Output
{"truncated":false,"user":{"followers_count":25,"profile_image_url":"http:\/\/\/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:\/\/","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,...

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

What Others Think

doula st louis This is the only site the helped me
yeoyeo · 84 weeks and 6 days ago
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. ??
KayGasaway · 68 weeks and 3 days ago
Incredible articles and awesome design. Your blog entry merits the greater part of the positive input it"s been getting. ??
KayGasaway · 68 weeks and 1 day ago
Cool stuff you have got and you keep update all of us. ??????
KayGasaway · 67 weeks and 2 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 · 66 weeks and 4 days 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 · 65 weeks and 1 day 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 · 64 weeks and 4 days 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 · 64 weeks and 4 days 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 · 64 weeks and 1 day ago
Merely a smiling visitant here to share the love (:, btw outstanding style.
hiknigarde · 63 weeks and 3 days ago
I'm constantly searching on the internet for posts that will help me. Too much is clearly to learn about this. I believe you created good quality items in Functions also. Keep working, congrats! eye doctor Collinsville
jackson2321 · 58 weeks and 5 days ago
Contact us now or get a quote & get an instant offer & the highest value cash on the spot we are the #1 leading scrap car removal company in the GTA west areas pay big dollar/cash for cars on the spot, and offers free towing service. scrap car mississauga
ayesha · 53 weeks and 5 days ago
Slots sites are the most popular search online, that is why we try to collect the Best Slots Sites ?here as a list for convenience over time.
KayGasaway · 49 weeks ago
seofox · 32 weeks ago ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? 5
seofox · 21 weeks and 1 day ago
seofox · 20 weeks and 2 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? 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.


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: