Examples of postNewStatus()


Examples of com.dongxuexidu.douban4j.service.DoubanShuoService.postNewStatus()

  public static void testPostStatus () {
    try {
      String accessToken = testAccessToken();
      DoubanShuoService service = new DoubanShuoService();
      DoubanShuoAttachementObj att = generateAtt();
      if (service.postNewStatus("I like..", att, DefaultConfigs.API_KEY, accessToken)) {
        System.out.println("done!");
      } else {
        System.out.println("failed!");
      }
    } catch (DoubanException ex) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.