新浪微博使用curl


SINAUSER=username
SINAPASS=password
SINACOOKIE=/path/store/sina/cookie
curl -d "service=miniblog&entry=miniblog&username=${SINAUSER}&password=${SINAPASS}&url=http://t.sina.com.cn/ajaxlogin.php"  "http://login.sina.com.cn/sso/login.php?client=ssologin.js(v1.3.0)" -e "http://t.sina.com.cn/" -c ${SINACOOKIE} -s >> /dev/null
 curl -d "content=${STATUS}&pic=&from=myprofile" "http://t.sina.com.cn/mblog/publish.php" -e "http://t.sina.com.cn/jinuljt" -b ${SINACOOKIE}

Related posts:

  1. 同时更新renren与twitter
  2. linux通过Blackberry上网

,

  1. No comments yet.
(will not be published)


SetTextSize SetPageWidth