Short url/comment/comments
目录 |
short_url/comment/comments
取得包含指定单个短链接的最新微博评论内容
URL
http://api.t.sina.com.cn/short_url/comment/comments.(json%7Cxml)
支持格式
XML/JSON
HTTP请求方式
GET
是否需要登录
true
关于授权机制,参见授权机制声明
请求数限制
true
关于请求数限制,参见接口访问权限说明
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | true | string | 申请应用时分配的AppKey,调用接口时候代表应用的唯一身份。(采用OAuth授权方式不需要此参数) |
url_short | true | string | 需要取得关联微博评论内容的短链接,需要URLencoded |
count | false | int | 可选参数,每次返回的最大记录数(即页面大小),不大于200 |
page | false | int | 可选参数,返回结果的页序号,有分页限制 |
注意事项
无
返回结果
XML示例
<url> <url_short>hGPP8W</url_short> <share_comments> <comment> <created_at>Sat Nov 13 15:57:53 +0800 2010</created_at> <id>4476725917</id> <text> help</text> <user> <id>1611511443</id> <screen_name>无冷afcold</screen_name> <name>无冷afcold</name> <province>51</province> <city>1</city> <location>四川 成都</location> <description/> <url>http://blog.sina.com.cn/sureceive</url> <profile_image_url>http://tp4.sinaimg.cn/1611511443/50/1290602543/1</profile_image_url> <domain>atpal</domain> <gender>m</gender> <followers_count>18</followers_count> <friends_count>21</friends_count> <statuses_count>69</statuses_count> <favourites_count>1</favourites_count> <created_at>Tue Oct 20 00:00:00 +0800 2009</created_at> <following>false</following> <verified>false</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>true</geo_enabled> <status> <created_at>Sun Nov 28 12:50:17 +0800 2010</created_at> <id>3933955277</id> <text>我刚加入了“ubuntu军团”微群 http://sinaurl.cn/hbAfsD 推荐大家也来看看~</text> <source> <a href="http://group.t.sina.com.cn">新浪微群</a> </source> <favorited>false</favorited> <truncated>false</truncated> <geo/> <in_reply_to_status_id/> <in_reply_to_user_id/> <in_reply_to_screen_name/> </status> </user> <status> <created_at>Thu Mar 18 19:07:05 +0800 2010</created_at> <id>1</id> <text>这么小就入党了 敬仰~</text> <source> <a href="http://news.sina.com.cn/wap/wbk.html/">新浪微博手机版</a> </source> <favorited>false</favorited> <truncated>false</truncated> <geo/> <in_reply_to_status_id/> <in_reply_to_user_id/> <in_reply_to_screen_name/> <user> <id>1152759471</id> <screen_name>老王</screen_name> <name>老王</name> <province>11</province> <city>8</city> <location>北京 海淀区</location> <description>哼。。。 花样真多。 讨厌。</description> <url>http://1</url> <profile_image_url>http://tp4.sinaimg.cn/1152759471/50/1263371934</profile_image_url> <domain>hotpixel</domain> <gender>m</gender> <followers_count>1567</followers_count> <friends_count>202</friends_count> <statuses_count>6776</statuses_count> <favourites_count>0</favourites_count> <created_at>Fri Aug 28 00:00:00 +0800 2009</created_at> <following>false</following> <verified>false</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>false</geo_enabled> </user> <retweeted_status> <created_at>Thu Mar 18 19:05:52 +0800 2010</created_at> <id>27657268</id> <text>班里开始交团费了,跟我没关系</text> <source> <a href="http://news.sina.com.cn/wap/wbk.html/">新浪微博手机版</a> </source> <favorited>false</favorited> <truncated>false</truncated> <geo/> <in_reply_to_status_id/> <in_reply_to_user_id/> <in_reply_to_screen_name/> <user> <id>1654703984</id> <screen_name>高考铅笔亚克西</screen_name> <name>高考铅笔亚克西</name> <province>42</province> <city>1</city> <location>湖北 武汉</location> <description>在通往高考的路上乳摇狂奔,偶尔发骚回头抛个媚眼骂句操蛋,切不可以为姐就是招之即上挥之自摸的小娘儿们。好不容易成年了,姐要更加有湿想嗯哼。</description> <url/> <profile_image_url>http://tp1.sinaimg.cn/1654703984/50/1264140632</profile_image_url> <domain>kimmy14</domain> <gender>f</gender> <followers_count>1330</followers_count> <friends_count>755</friends_count> <statuses_count>3354</statuses_count> <favourites_count>0</favourites_count> <created_at>Mon Oct 19 00:00:00 +0800 2009</created_at> <following>false</following> <verified>false</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>false</geo_enabled> </user> </retweeted_status> </status> </comment> ... <share_comments> <url>
JSON示例
待补充...
其他
无