Package weibo4j

Examples of weibo4j.Weibo.register()


        try {
          Weibo weibo = getWeibo(true,args);
          //IP必须被平台列入白名单方可执行注册接口
          String IP = InetAddress.getLocalHost().getHostAddress();
          //args参数从第三个开始为昵称、性别、密码、邮箱;
          JSONObject object = weibo.register(IP,args);
          System.out.println("Your ID:"+object.getString("uid"));
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
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.