Home > Linux > Posting Status Twitter Menggunakan Perintah curl di Terminal Linux

Posting Status Twitter Menggunakan Perintah curl di Terminal Linux

February 8th, 2010 Leave a comment Go to comments

twitter and linux 300x236 Posting Status Twitter Menggunakan Perintah curl di Terminal LinuxLagi-lagi membahas Twitter, namun kali ini lagi-lagi khusus untuk pengguna Linux. Terus apa hubungannya Linux sama Twitter?  Dalam posting sebelumnya pun saya membahas beberapa aplikasi client Twitter khusus Linux yang memiliki tampilan grafis alias desktop seperti GNOME maupun KDE. Namun bagaimana dengan nasib Anda yang menangani Linux tanpa tampilan grafis sama sekali yang ada hanya tampilan terminal berwarna hitam putih?Jangan khawatir ada sebuah perintah Linux yaitu curl yang mampu menangani hal ini. Jadi para administrator Linux yang gatal ingin memposting status dapat menggunakan perintah ini.

curl ini kependekan dari Client URL Request Library yaitu sebuah tool yang berfungsi mengirim dan menerima data melalui berbagai macam protokol seperti http, https, ftp, gopher, telnet, dict, file, dan ldap serta mendukung HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling. (Mohon dikoreksi kalau ada kesalahan). Fungsi curl ini pun juga pernah saya bahas di postingan sebelumnya yaitu Posting Status Twitter Melalui Fungsi Curl PHP namun menggunakan PHP. Berikut langkah-langkahnya memposting status menggunakan perintah curl di terminal Linux:

1. Pastikan curl telah diinstal di sistem Linux Anda, jika belum lakukan penginstalan dengan mengetik perintah sebagai berikut :

Ubuntu/Debian :

#sudo apt-get install curl

SUSE/openSUSE :

#zypper in curl

Fedora :

#yum install curl

2. Posting status Twitter Anda dengan mengetik perintah sebagai berikut :

#curl -u username:password -d status=”Status Anda” http://twitter.com/statuses/update.xml

Misalkan :

#curl -u myadhit:blablabla -d status=”Tes status lewat curl” http://twitter.com/statuses/update.xml

Jika berhasil Anda akan menerima notifikasi berformat XML. Mudah bukan?Jangan lupa jumlah karakter status Anda tidak boleh melebihi 140 karakter sesuai dengan batasan Twitter. icon biggrin Posting Status Twitter Menggunakan Perintah curl di Terminal Linux

Share :
  • facebook Posting Status Twitter Menggunakan Perintah curl di Terminal Linux
  • twitter Posting Status Twitter Menggunakan Perintah curl di Terminal Linux
Categories: Linux Tags: , , ,
  1. March 23rd, 2010 at 22:44 | #1

    wew baru tau..

  2. March 25th, 2010 at 16:57 | #2

    Numpang lewat. Salam knal aja bro! Sukses slalu buat anda. Salam kompak dr blogger pemula ini.

  3. July 13th, 2010 at 17:23 | #3

    nice artikel

  4. January 16th, 2012 at 21:44 | #4

    Hello. excellent job. I did not imagine this. This is a splendid story. Thanks!

  5. January 17th, 2012 at 00:04 | #5

    many thanks for your informations , i enjoy the web site considerably.

  6. January 17th, 2012 at 22:18 | #6

    Salut les amis quel est votre point de vue de mon nouveau blog sur l’ immobilier ?

  7. February 14th, 2012 at 17:59 | #7

    Great blog! I really love how it’s easy on my eyes as well as the information are well written. I am wondering how I could be notified whenever a new post has been made. I have subscribed to your rss feed which ought to do the trick! Have a nice day!

  8. February 22nd, 2012 at 19:12 | #8

    link:I, too loved the idea of supporting our farms which was why I signed on for a share with Stone Gardens. Unfortunately, we do not get to choose what we get in our shares as the restaurants do. I have had more than my share of collard greens and kale, to say nothing of garlic. I would have liked to have seen more beans and carrots for example. One week I got four carrots, not even one inch long that someone actually put a rubber band around! We got one week of white beans and that was it. I don’t know that I will buy a share next year.

  9. March 1st, 2012 at 14:40 | #9

    Wow, amazing blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is great, as well as the content!. Thanks For Your article about Posting Status Twitter Menggunakan Perintah curl di Terminal Linux | adhit.web.idâ„¢ .

  10. March 6th, 2012 at 21:51 | #10

    Posting Status Twitter Menggunakan Perintah curl di Terminal Linux | adhit.web.idâ„¢ I was recommended this blog by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty. You are amazing! Thanks! your article about Posting Status Twitter Menggunakan Perintah curl di Terminal Linux | adhit.web.idâ„¢ Best Regards Agata Schaad

  11. March 9th, 2012 at 10:20 | #11

    I like the helpful info you provide in your articles. I will bookmark your weblog and check again here regularly. I am quite sure I will learn lots of new stuff right here! Good luck for the next!

  12. March 21st, 2012 at 12:50 | #12

    I think this is one of the most vital info for me. And i’m glad reading your article. But wanna remark on some general things, The website style is perfect, the articles is really excellent : D. Good job, cheers

  13. March 26th, 2012 at 15:21 | #13

    Hello There. I found your blog using msn. This is a very well written article. I’ll make sure to bookmark it and return to read more of Posting Status Twitter Menggunakan Perintah curl di Terminal Linux | adhit.web.idâ„¢ . Thanks for the post. I will certainly return.

  14. March 26th, 2012 at 22:05 | #14

    I truly similar when you discuss this identify of shove surface your posts. Perhaps could you preserve this?

Comment pages
1 2 769
  1. No trackbacks yet.

CommentLuv badge