81,094
社区成员
发帖
与我相关
我的任务
分享
HttpPost postAdd = new HttpPost
("http://weibo.com/aj/mblog/add?_wv=5&__rnd="+getServerTimeStamp());
List<NameValuePair> postAddPara = new ArrayList<NameValuePair>();
postAddPara.add(new BasicNameValuePair("_surl", ""));
postAddPara.add(new BasicNameValuePair("_t", "0"));
postAddPara.add(new BasicNameValuePair("hottopicid", ""));
postAddPara.add(new BasicNameValuePair("location", "home"));
postAddPara.add(new BasicNameValuePair("module", "stissue"));
postAddPara.add(new BasicNameValuePair("pic_id", ""));
postAddPara.add(new BasicNameValuePair("rank", "0"));
postAddPara.add(new BasicNameValuePair("rankid", ""));
postAddPara.add(new BasicNameValuePair("text", "战争是个谎言"));
postAdd.setEntity(new UrlEncodedFormEntity(postAddPara, HTTP.UTF_8));
HttpResponse responseAdd = client.execute(postAdd);