Statuses/mixed timeline

«  Return to the list of API methods

Contents

URL

http://yourserver/api/statuses/mixed_timeline.format

Description

It returns the same as statuses/friends_timeline, with the exception that statuses/mixed_timeline includes Twitter notes.

To distinguish Twitter notes with Jisko notes, you have to care about the <type> tag. Posible values are:

  • twitter: It's a twitter note.
  • note: Then it's a normal note.

Twitter notes return less parameters than normal notes. Please check the examples.

Available formats

XML, JSON

HTTP Method

GET

Requires authentication

YES

Optional parameters

Return example (XML)

curl http://yourserver/api/statuses/mixed_timeline.xml
<?xml version="1.0" encoding="UTF-8"?>
<statuses type="array">
 <status>
  <id>33</id>
  <created_at>Sat Apr 17 13:00:11 +0000 2010</created_at>
  <text>abc</text>
  <source>web</source>
  <type>note</type>
  <truncated>false</truncated>
  <in_reply_to_status_id/>
  <in_reply_to_user_id/>
  <favorited>false</favorited>
  <in_reply_to_screen_name/>
  <user>
   <id>1</id>
   <name>marcosgdf</name>
   <screen_name>marcosgdf</screen_name>
   <location/>
   <description/>
   <profile_image_url>http://localhost/trunk/static/img/avatar/default_note.png</profile_image_url>
   <url/>
   <protected>true</protected>
   <followers_count>0</followers_count>
   <created_at>Fri Apr 16 20:12:11 +0000 2010</created_at>
   <favourites_count>0</favourites_count>
   <statuses_count>5</statuses_count>
   <friends_count>0</friends_count>
   <following>false</following>
   <utc_offset/>
   <geo_enabled>false</geo_enabled>
   <time_zone/>
   <profile_background_image_url>http://localhost/trunk/themes/transparency/img/bg.png</profile_background_image_url>
   <profile_background_tile>false</profile_background_tile>
   <notifications>false</notifications>
   <verified>false</verified>
   <lang>default</lang>
   <contributors_enabled>false</contributors_enabled>
  </user>
 </status>
 <status>
  <id>12564111316</id>
  <created_at>Wed Apr 21 7:32:50 +0000 2010</created_at>
  <text>Porque todos pueden ser intolerantes con los Jonas Brrthers y unos cuantos no pueden serlo con Muse?, se contradicen , twitteros.</text>
  <type>twitter</type>
  <user>
   <screen_name>TuM_TuMary</screen_name>
   <profile_image_url>http://a3.twimg.com/profile_images/833985861/tumturum_normal.jpg</profile_image_url>
  </user>
 </status>
</statuses>

Return example (JSON)

curl http://yourserver/api/statuses/mixed_timeline.json
[
	{
        "id": 20,
        "created_at": "Wed Apr 21 7:32:50 +0000 2010",
        "text": "Porque todos pueden ser intolerantes con los Jonas Brrthers y unos cuantos no pueden serlo con Muse?, se contradicen , twitteros.",
        "type": "twitter",
        "user": {
            "screen_name": "TuM_TuMary",
            "profile_image_url": "http:\/\/a3.twimg.com\/profile_images\/833985861\/tumturum_normal.jpg"
        }
    },
	{
        "id": 33,
        "created_at": "Sat Apr 17 13:00:11 +0000 2010",
        "text": "abc",
        "source": "web",
        "truncated": false,
        "in_reply_to_status_id": null,
        "in_reply_to_user_id": null,
        "in_reply_to_screen_name": null,
        "geo": null,
        "favorited": false,
        "contributors": null,
        "coordinates": null,
        "type": "normal",
        "user": {
            "id": 1,
            "name": "marcosgdf",
            "screen_name": "marcosgdf",
            "location": null,
            "description": "",
            "profile_image_url": "http:\/\/localhost\/trunk\/static\/img\/avatar\/default_note.png",
            "url": null,
            "protected": true,
            "followers_count": "0",
            "created_at": "Fri Apr 16 20:12:11 +0000 2010",
            "favourites_count": 0,
            "statuses_count": "5",
            "friends_count": "0",
            "following": false,
            "utc_offset": null,
            "time_zone": null,
            "profile_background_image_url": "http:\/\/localhost\/trunk\/themes\/transparency\/img\/bg.png",
            "profile_background_tile": false,
            "notifications": false,
            "verified": false,
            "lang": "default",
            "contributions_enabled": false,
            "geo_enabled": false
        }
    }
]