Esempio n. 1
0
 @Test
 public void testShowTags() {
   String access_token =
       "2.00d5evFEnhnsoBc45cd025fencuzbE"; // get token code from <code>OAuth4Code.java</code>
   String uid = "2552134982";
   Tags tm = new Tags();
   tm.client.setToken(access_token);
   try {
     List<Tag> wbTags = tm.getTags(uid);
     for (Tag tag : wbTags) {
       Log.logInfo(tag.toString());
     }
   } catch (WeiboException e) {
     e.printStackTrace();
   }
 }