import com.weibo.api.*;
String appKey = "YOUR_APP_KEY";
String appSecret = "YOUR_APP_SECRET";
Weibo weibo = new Weibo(appKey, appSecret);
weibo.authorize("YOUR_ACCESS_TOKEN", "YOUR_ACCESS_TOKEN_SECRET");
String statusContent = "Hello, Weibo!";
weibo.updateStatus(statusContent);