API → statuses/home_timeline
Возвращает последние твиты, опубликованные и оцененные авторизованным пользователем и теми авторами, твиты которых он читает.
URL
http://api.rutwit.ru/statuses/home_timeline.
format
Формат
xml, json, rss, atom
HTTP-метод
GET
Авторизация
Не требуется
Параметры
-
since_id: Необязательный. Получить твиты, написанные позднее твита с заданным ID.
-
max_id: Необязательный. Получить твиты, написанные не позднее твита с заданным ID.
-
count: Необязательный. Количество твитов, максимум – 200, по умолчанию – 20 твитов.
-
page: Необязательный. Номер страницы, начиная с 1.
<?xml version="1.0" encoding="UTF-8"?>
<statuses type="array">
<status>
<created_at>Thu Nov 26 13:58:44 +0300 2009</created_at>
<id>5408365085771049452</id>
<unix_timestamp>1259233124</unix_timestamp>
<text>
@mmmakc Джоли за сигаретами? Дурость всякая снится, что еще сказать :)
</text>
<source>web</source>
<truncated>false</truncated>
<in_reply_to_status_id>5408361671227097591</in_reply_to_status_id>
<in_reply_to_user_id>106185207</in_reply_to_user_id>
<favorited>false</favorited>
<in_reply_to_screen_name>mmmakc</in_reply_to_screen_name>
<user>
<id>151136748</id>
<name>Ринат</name>
<screen_name>mister_tvister</screen_name>
<location>Москва</location>
<description>коротко не получится</description>
<profile_image_url>
http://static.rutwit.ru/file/24/9f/249fdeadaada0a81f7a0934fa2a0b3bd.png
</profile_image_url>
<url/>
<protected>false</protected>
<followers_count>23</followers_count>
<profile_background_color>15af15</profile_background_color>
<profile_text_color>000000</profile_text_color>
<profile_link_color>0000ff</profile_link_color>
<profile_sidebar_fill_color>e0ff92</profile_sidebar_fill_color>
<profile_sidebar_border_color>87bc44</profile_sidebar_border_color>
<friends_count>34</friends_count>
<created_at>Thu Oct 15 20:08:24 +0400 2009</created_at>
<favourites_count>0</favourites_count>
<utc_offset>10800</utc_offset>
<time_zone>MSK</time_zone>
<profile_background_image_url/>
<profile_background_tile/>
<statuses_count>133</statuses_count>
<notifications/>
<verified>false</verified>
<following>true</following>
</user>
</status>
...
</statuses>
Примеры использования
- Метод statuses/home_timeline отличается от метода statuses/friends_timeline наличием оцененных твитов.