public class Tags extends Weibo
| Constructor and Description |
|---|
Tags() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
createTags(String tags)
为当前登录用户添加新的用户标签
|
org.json.JSONObject |
destoryTag(Integer tag_id)
删除一个用户标签
|
List<Tag> |
destroyTagsBatch(String ids)
批量删除一组标签
|
List<Tag> |
getTags(String uid)
返回指定用户的标签列表
|
List<Tag> |
getTags(String uid,
Paging page)
返回指定用户的标签列表
|
TagWapper |
getTagsBatch(String uids)
批量获取用户的标签列表
|
List<Tag> |
getTagsSuggestions()
获取系统推荐的标签列表
|
public List<Tag> getTags(String uid) throws WeiboException
uid - 要获取的标签列表所属的用户IDWeiboException - when Weibo service or network is unavailablepublic List<Tag> getTags(String uid, Paging page) throws WeiboException
uid - 要获取的标签列表所属的用户IDpage - 返回结果的页码,默认为1WeiboException - when Weibo service or network is unavailablepublic TagWapper getTagsBatch(String uids) throws WeiboException
uids - 要获取标签的用户ID。最大20,逗号分隔WeiboException - when Weibo service or network is unavailablepublic List<Tag> getTagsSuggestions() throws WeiboException
WeiboException - when Weibo service or network is unavailablepublic org.json.JSONArray createTags(String tags) throws WeiboException
tags - 要创建的一组标签,用半角逗号隔开,每个标签的长度不可超过7个汉字,14个半角字符WeiboException - when Weibo service or network is unavailablepublic org.json.JSONObject destoryTag(Integer tag_id) throws WeiboException
tag_id - 要删除的标签IDWeiboException - when Weibo service or network is unavailableorg.json.JSONExceptionpublic List<Tag> destroyTagsBatch(String ids) throws WeiboException
ids - 要删除的一组标签ID,以半角逗号隔开,一次最多提交10个IDWeiboException - when Weibo service or network is unavailableCopyright © 2013. All Rights Reserved.