Package weibo4j

Examples of weibo4j.Account


  public static void main(String[] args) {
    Weibo weibo = new Weibo();
    String access_token = args[0];
    weibo.setToken(access_token.toString());
    Account am = new Account();
    try {
            JSONObject json = am.getAccountPrivacy();
      Log.logInfo(json.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here


   */
  public static void main(String[] args) {
    Weibo weibo = new Weibo();
    String access_token = args[0];
    weibo.setToken(access_token);
    Account am = new Account();
    try {
            RateLimitStatus json = am.getAccountRateLimitStatus();
      Log.logInfo(json.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] args) {
    Weibo weibo = new Weibo();
    String access_token = args[0];
    weibo.setToken(access_token);
    Account am = new Account();
    try {
      JSONObject uid = am.getUid();
      Log.logInfo(uid.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] args) {
    Weibo weibo = new Weibo();
    String access_token = args[0];// 输入授权后的AccessToken
    weibo.setToken(access_token);
    Account am = new Account();
    try {
      List<School> schools = am.getAccountPrpfileSchoolList();
      for (School school : schools) {
        Log.logInfo(school.toString());
      }
    } catch (WeiboException e) {
      e.printStackTrace();
View Full Code Here

public class GetAccountRateLimitStatus {

  public static void main(String[] args) {
    String access_token = args[0];
    Account am = new Account();
    am.client.setToken(access_token);
    try {
      RateLimitStatus json = am.getAccountRateLimitStatus();
      Log.logInfo(json.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

public class GetUid {

  public static void main(String[] args) {
    String access_token = args[0];
    Account am = new Account();
    am.client.setToken(access_token);
    try {
      JSONObject uid = am.getUid();
      Log.logInfo(uid.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

public class GetAccountPrpfileSchoolList {

  public static void main(String[] args) {
    String access_token = args[0];// 输入授权后的AccessToken
    Account am = new Account();
    am.client.setToken(access_token);
    try {
      List<School> schools = am.getAccountPrpfileSchoolList();
      for (School school : schools) {
        Log.logInfo(school.toString());
      }
    } catch (WeiboException e) {
      e.printStackTrace();
View Full Code Here

public class GetAccountPrivacy {

  public static void main(String[] args) {
    String access_token = args[0];
    Account am = new Account();
    am.client.setToken(access_token);
    try {
      JSONObject json = am.getAccountPrivacy();
      Log.logInfo(json.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

public class GetAccountPrivacy {

  public static void main(String[] args) {
    String access_token =args[0];
    Account am = new Account();
    am.client.setToken(access_token);
    try {
            JSONObject json = am.getAccountPrivacy();
      Log.logInfo(json.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

public class GetUid {

  public static void main(String[] args) {
    String access_token =args[0];
    Account am = new Account();
    am.client.setToken(access_token);
    try {
      JSONObject uid = am.getUid();
      Log.logInfo(uid.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

TOP

Related Classes of weibo4j.Account

Copyright © 2018 www.massapicom. 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.