Example #1
0
 public JSONArray searchSuggestionsSchools(String q) throws WeiboException {
   return client
       .get(
           WeiboConfig.getValue("baseURL") + "search/suggestions/schools.json",
           new PostParameter[] {new PostParameter("q", q)})
       .asJSONArray();
 }
Example #2
0
 public JSONArray searchSuggestionsAt_users(String q, int type) throws WeiboException {
   return client
       .get(
           WeiboConfig.getValue("baseURL") + "search/suggestions/at_users.json",
           new PostParameter[] {new PostParameter("q", q), new PostParameter("type", type)})
       .asJSONArray();
 }
Example #3
0
 public JSONArray searchSuggestionsApps(String q, int count) throws WeiboException {
   return client
       .get(
           WeiboConfig.getValue("baseURL") + "search/suggestions/apps.json",
           new PostParameter[] {new PostParameter("q", q), new PostParameter("count", count)})
       .asJSONArray();
 }