关注用户的动态

出自开开API

跳转到: 导航, 搜索

目录

说明

获取关注用户的动态(包括好友的动态)

路径

http://open.k.ai/public/statuses/friends_timeline.[json,xml]?key=appkey

是否需要身份认证

YES

请求数限制

YES

参数

page (可选):起始页,默认为1

count(可选):返回的数量,默认20,最大50

HTTP调用方式

GET

成功返回

XML

<?xml version="1.0" encoding="UTF-8"?>
<statuses>
	<status>
		<create_at>20100729T0643Z</create_at> <!-- 动态的创建时间 格式采用 UTC 原子钟格式 -->
		<id>172382.50</id>
		<category>normal</category>
		<text>内容</text>
		<source>S60</source> <!-- 发布平台 -->
		<favorited>false</favorited>
		<photo_url>http://k.ai/files/27/48/59/thumb_172382.11457.jpg</photo_url>
		<photo_thumb_url>http://k.ai/files/27/48/59/tiny_172382.11457.jpg</photo_thumb_url>
		<photo_origin_url>http://k.ai/files/27/48/59/172382.11457.jpg</photo_origin_url>
		<up>0</up>
		<down>0</down>
		<user_concise> <!-- 具体字段可以参考 用户中的User -->
			<id>172382</id>
			<name>username</name>
			<screen_name>用户昵称</screen_name>
			<gender>male</gender>
			<age>25</age>
			<location>机场路</location>
			<description/>
			<profile_image_url>http://k.ai/files/avatar/23/55/54/172382.10125.jpg</profile_image_url>
			<rp>707</rp>
			<protected>false</protected>
			<friend>true</friend>
			<following>true</following>
			<block>false</block>
			<last_checkin>
				<create_at>20100729T0319Z</create_at>
				<poi_simple>
					<id>123321</id>
					<name>国际科技园</name>
					<lon>120.67151063887</lon>
					<lat>31.295787820569</lat>
				</poi_simple>
			</last_checkin>
		</user_concise>
		<poi_concise>
		<id>123321</id>
		<category_id>7</category_id>
		<category_image_url>http://k.ai/images/poi/category/48/life.png</category_image_url>
		<name>国际科技园</name>
		<lon>120.67151063887</lon>
		<lat>31.295787820569</lat>
		<address>机场路</address>
		<city/>
		<province/>
		<country/>
		</poi_concise>
	</status>
	<status>
		<create_at>20100729T0643Z</create_at> <!-- 动态的创建时间 格式采用 UTC 原子钟格式 -->
		<id>172382.50</id>
		<category>normal</category>
		<text>内容</text>
		<source>S60</source> <!-- 发布平台 -->
		<favorited>false</favorited>
		<photo_url>http://k.ai/files/27/48/59/thumb_172382.11457.jpg</photo_url>
		<photo_thumb_url>http://k.ai/files/27/48/59/tiny_172382.11457.jpg</photo_thumb_url>
		<photo_origin_url>http://k.ai/files/27/48/59/172382.11457.jpg</photo_origin_url>
		<up>0</up>
		<down>0</down>
		<user_concise> <!-- 具体字段可以参考 用户中的User -->
			<id>172382</id>
			<name>username</name>
			<screen_name>用户昵称</screen_name>
			<gender>male</gender>
			<age>25</age>
			<location>机场路</location>
			<description/>
			<profile_image_url>http://k.ai/files/avatar/23/55/54/172382.10125.jpg</profile_image_url>
			<rp>707</rp>
			<protected>false</protected>
			<friend>true</friend>
			<following>true</following>
			<block>false</block>
			<last_checkin>
				<create_at>20100729T0319Z</create_at>
				<poi_simple>
					<id>123321</id>
					<name>国际科技园</name>
					<lon>120.67151063887</lon>
					<lat>31.295787820569</lat>
				</poi_simple>
			</last_checkin>
		</user_concise>
		<poi_concise>
		<id>123321</id>
		<category_id>7</category_id>
		<category_image_url>http://k.ai/images/poi/category/48/life.png</category_image_url>
		<name>国际科技园</name>
		<lon>120.67151063887</lon>
		<lat>31.295787820569</lat>
		<address>机场路</address>
		<city/>
		<province/>
		<country/>
		</poi_concise>
	</status>
</statuses>
 

验证未通过返回

Http Code 401

个人工具