StarterTemplate ASP.NET Host

<back to all web services

TwitterTimelines

The following routes are available for this service:
All Verbs/twitter/{ScreenName}/timelines

To override the Content-type in your clients HTTP Accept Header, append ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/TwitterTimelines HTTP/1.1 
Host: bootstrapapi.apphb.com 
Content-Type: application/xml
Content-Length: length

<TwitterTimelines xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <MaxId>String</MaxId>
  <ScreenName>String</ScreenName>
  <SinceId>String</SinceId>
  <Take>0</Take>
</TwitterTimelines>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<TwitterTimelinesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Results>
    <Tweet>
      <coordinates>
        <coordinates xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:double>0</d5p1:double>
        </coordinates>
        <type>String</type>
      </coordinates>
      <created_at>String</created_at>
      <entities>
        <hashtags>
          <HashTagEntity>
            <indicies xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:int>0</d7p1:int>
            </indicies>
            <text>String</text>
          </HashTagEntity>
        </hashtags>
        <media>
          <MediaEntity>
            <display_url>String</display_url>
            <expanded_url>String</expanded_url>
            <indices xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:int>0</d7p1:int>
            </indices>
            <media_url>String</media_url>
            <media_url_https>String</media_url_https>
            <sizes xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:KeyValueOfstringSizeEntityEdXdwojR>
                <d7p1:Key>String</d7p1:Key>
                <d7p1:Value>
                  <h>0</h>
                  <resize>String</resize>
                  <w>0</w>
                </d7p1:Value>
              </d7p1:KeyValueOfstringSizeEntityEdXdwojR>
            </sizes>
            <type>String</type>
            <url>String</url>
          </MediaEntity>
        </media>
        <urls>
          <UrlEntity>
            <display_url>String</display_url>
            <expanded_url>String</expanded_url>
            <indices xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:int>0</d7p1:int>
            </indices>
            <url>String</url>
          </UrlEntity>
        </urls>
        <user_mentions>
          <UserMentionEntity>
            <id>0</id>
            <id_str>String</id_str>
            <indices xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:int>0</d7p1:int>
            </indices>
            <name>String</name>
            <screen_name>String</screen_name>
          </UserMentionEntity>
        </user_mentions>
      </entities>
      <favorited>false</favorited>
      <geo>
        <coordinates xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:double>0</d5p1:double>
        </coordinates>
        <type>String</type>
      </geo>
      <id>0</id>
      <in_reply_to_screen_name>String</in_reply_to_screen_name>
      <in_reply_to_status_id>0</in_reply_to_status_id>
      <in_reply_to_user_id>0</in_reply_to_user_id>
      <retweet_count>String</retweet_count>
      <retweeted>false</retweeted>
      <source>String</source>
      <text>String</text>
      <truncated>false</truncated>
      <user>
        <contributors_enabled>false</contributors_enabled>
        <created_at>String</created_at>
        <description>String</description>
        <favourites_count>0</favourites_count>
        <followers_count>0</followers_count>
        <friends_count>0</friends_count>
        <geo_enabled>false</geo_enabled>
        <id>String</id>
        <lang>String</lang>
        <location>String</location>
        <name>String</name>
        <notifications>false</notifications>
        <profile_background_color>String</profile_background_color>
        <profile_background_image_url>String</profile_background_image_url>
        <profile_background_tile>String</profile_background_tile>
        <profile_image_url>String</profile_image_url>
        <profile_link_color>String</profile_link_color>
        <profile_sidebar_border_color>String</profile_sidebar_border_color>
        <profile_sidebar_fill_color>String</profile_sidebar_fill_color>
        <profile_text_color>String</profile_text_color>
        <profile_use_background_image>String</profile_use_background_image>
        <protected>false</protected>
        <screen_name>String</screen_name>
        <statuses_count>0</statuses_count>
        <time_zone>String</time_zone>
        <url>String</url>
        <utc_offset>String</utc_offset>
        <verified>false</verified>
      </user>
    </Tweet>
  </Results>
</TwitterTimelinesResponse>