Mashersam mBlog'S

Negara, Republik, Hidup, Tumpah darah, Persatuan, Kesatuan,->,Indonesia 100% Twitterologi, facebookologi, Googler, ->,Islam

Command Line using CURL for Updating Profile Images

Tidak ada komentar

here is a quick command-line request using cURL that might give you a hint about how to make the


update_profile_background_image and


update_profile_image methods work:



curl -k -F 'image=@filename.jpg;type=image/jpeg' -u yourusername:yourpassword -H 'Expect:' https://twitter.com/account/update_profile_image.xml



The important part here is -F section, which allows the raw data to be sucked out of a graphics file (@filename.jpg) and POSTed to the Twitter


method. For more information about using cURL from the command line

Tidak ada komentar :

Posting Komentar