public static void main(String[] args) { String access_token = args[0]; String uid = args[1]; Place p = new Place(access_token); try { StatusWapper sw = p.userPhotoList(uid); Log.logInfo(sw.toString()); } catch (WeiboException e) { e.printStackTrace(); } }