Tags/en
Contents |
tags
返Return user’s tag list.
URL
http://api.t.sina.com.cn/tags.(json%7Cxml)
Supported Formats
XML/JSON
HTTP Request Method
GET
Requires Authentication
true
See the Authorization Mechanism Statement for authorization details
Requests Count Limitation
true
See the Interface Access Rights Statement for the Request Count Limitaiton details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | true | string | AppKey for the application to identify it. ( This parameter is not needed when using OAuth) |
user_id | true | int64 | the user ID to be gotten the tag list. |
count | false | Int, defaut is 20, max is 200 | Number of weibos per page. |
page | false | int | page number |
Notes
None
Example Request
- XML
- curl -u "username:password" "http://api.t.sina.com.cn/tags.xml?source=appkey&user_id=1679271303"
- JSON
- curl -u "username:password" "http://api.t.sina.com.cn/tags.json?source=appkey&user_id=1679271303"
Response
XML Example
<?xml version="1.0" encoding="UTF-8"?> <tags> <tag> <id>547035</id> <value>网络交易</value> </tag> <tag> <id>51580</id> <value>C2C</value> </tag> <tag> <id>11547</id> <value>外星人</value> </tag> <tag> <id>787292</id> <value>智能设备</value> </tag> <tag> <id>1358</id> <value>电子商务</value> </tag> <tag> <id>104715</id> <value>艺术品交易</value> </tag> <tag> <id>2243</id> <value>互联网产品</value> </tag> </tags>
JSON Example
[ { "547035" : "网络交易" }, { "51580" : "C2C" }, { "11547" : "外星人" }, { "787292" : "智能设备" }, { "1358" : "电子商务" }, { "104715" : "艺术品交易" }, { "2243" : "互联网产品" } ]
Others
None
文档更新时间: 21 January 2011