Haha. For people like terminals like me, if they can do something on the terminal, they will not use the mouse to point it. Weibo is the same, so there will be this little thing ~ The other is to use the curl library to call this interface of the http://open.t.sina.com.cn/wiki/index.php/Statuses/update.
This library is used for libcurl. Ubuntu testing is okay as long as there are libcurl. So, libcurl. so.3 or libcurl. so.4.
DownloadClifaweibo.zipAfter
Unzip clifaweibo.zip
Sudo mV./faweibo o/usr/bin
(Of course, you can also run it directly under the decompressed file)
Enter:FaweiboEnter the user name and password and you will be able to see the following prompt.
* ****************** | Sina Weibo terminal publisher | Author: jessonchan | blog: Weibo | input: -T "text" sending information | input:-P image path sending image | input:-TP "text" image path sending information + image | input: -D. reconfigure the file ********************
well, how can I try it!
example:
text: faweibo-T "I use my terminal to send Weibo posts! "
sending image: faweibo-P ~ /P/ubuntu.jpg
send images and text: faweibo-TP "I posted a microblog on my terminal, do you want to try it? "~ /P/love/loevyou.jpg