Package weibo4j

Examples of weibo4j.Tags


public class GetTagsBatch {

  public static void main(String[] args) {
    String access_token = args[0];
    Tags tm = new Tags();
    tm.client.setToken(access_token);
    TagWapper tags = null;
    String uids = args[1];
    try {
      ;
      tags = tm.getTagsBatch(uids);
      System.out.println(tags.toString());
    } catch (WeiboException e) {
      e.printStackTrace();
    }
View Full Code Here


public class GetTagsSuggestions {

  public static void main(String[] args) {
    String access_token = args[0];
    Tags tm = new Tags();
    tm.client.setToken(access_token);
    List<Tag> tags = null;
    try {
      tags = tm.getTagsSuggestions();
      for (Tag tag : tags) {
        Log.logInfo(tag.toString());
      }
    } catch (WeiboException e) {
      e.printStackTrace();
View Full Code Here

TOP

Related Classes of weibo4j.Tags

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.