Tweet XML

New Twitter XML (In version 1.6) - Geo Enabled Tweet

Below is an example of the XML that twitter returns for each tweet with additional Geo information

  <status>
    <created_at>Wed Aug 25 19:40:45 +0000 2010</created_at>
    <id>22113974549</id>
    <text>Sending out a geo tagged tweet as a test to update the twitter for #umbraco package to the new API from twitter</text>
    <source>&lt;a href=&quot;http://twitter.com/&quot; rel=&quot;nofollow&quot;&gt;Twitter for iPhone&lt;/a&gt;</source>

    <truncated>false</truncated>
    <in_reply_to_status_id></in_reply_to_status_id>
    <in_reply_to_user_id></in_reply_to_user_id>
    <favorited>false</favorited>
    <in_reply_to_screen_name></in_reply_to_screen_name>
    <retweet_count></retweet_count>
    <retweeted>false</retweeted>

    <user>
      <id>9751992</id>
      <name>Warren Buckley</name>
      <screen_name>warrenbuckley</screen_name>
      <location>iPhone: 51.559616,0.592538</location>
      <description>A web developer who is based in the UK that works for Norwegian Web Agency Xeed - http://www.xeed.no</description>

      <profile_image_url>http://a3.twimg.com/profile_images/696762619/warren-buckley_normal.jpg</profile_image_url>
      <url>http://www.creativewebspecialist.co.uk</url>
      <protected>false</protected>
      <followers_count>557</followers_count>
      <profile_background_color>022330</profile_background_color>
      <profile_text_color>333333</profile_text_color>

      <profile_link_color>0084B4</profile_link_color>
      <profile_sidebar_fill_color>C0DFEC</profile_sidebar_fill_color>
      <profile_sidebar_border_color>a8c7f7</profile_sidebar_border_color>
      <friends_count>257</friends_count>
      <created_at>Sun Oct 28 11:44:59 +0000 2007</created_at>
      <favourites_count>974</favourites_count>

      <utc_offset>0</utc_offset>
      <time_zone>London</time_zone>
      <profile_background_image_url>http://s.twimg.com/a/1282351897/images/themes/theme15/bg.png</profile_background_image_url>
      <profile_background_tile>false</profile_background_tile>
      <profile_use_background_image>true</profile_use_background_image>
      <notifications>false</notifications>

      <geo_enabled>true</geo_enabled>
      <verified>false</verified>
      <following>true</following>
      <statuses_count>7772</statuses_count>
      <lang>en</lang>
      <contributors_enabled>false</contributors_enabled>

      <follow_request_sent>false</follow_request_sent>
      <listed_count>55</listed_count>
      <show_all_inline_media>false</show_all_inline_media>
    </user>
    <geo xmlns:georss="http://www.georss.org/georss">
      <georss:point>51.5596798 0.59269702</georss:point>
    </geo>

    <coordinates xmlns:georss="http://www.georss.org/georss">
      <georss:point>51.5596798 0.59269702</georss:point>
    </coordinates>
    <place xmlns:georss="http://www.georss.org/georss">
      <id>433a0c1e74bddb9e</id>
      <name>Castle Point</name>
      <full_name>Castle Point, Essex</full_name>

      <place_type>city</place_type>
      <url>http://api.twitter.com/1/geo/id/433a0c1e74bddb9e.json</url>
      <attributes/>
      <bounding_box>
        <georss:polygon>51.500769 0.5157113 51.500769 0.703401 51.5877718 0.703401 51.5877718 0.5157113</georss:polygon>
      </bounding_box>
      <country code="">United Kingdom</country>

    </place>
    <contributors/>
  </status>

New Twitter XML (In version 1.6) - Native ReTweet

Below is an example of the XML that twitter returns for each tweet with additional RT information

  <status>
    <created_at>Wed Aug 25 19:20:30 +0000 2010</created_at>
    <id>22112745181</id>
    <text>RT @leekelleher: Any #umbraco devs want to help on an ELMAH package? Need help with package action, (not enough hours in the day!) http: ...</text>
    <source>&lt;a href=&quot;http://www.tweetdeck.com&quot; rel=&quot;nofollow&quot;&gt;TweetDeck&lt;/a&gt;</source>

    <truncated>true</truncated>
    <in_reply_to_status_id></in_reply_to_status_id>
    <in_reply_to_user_id></in_reply_to_user_id>
    <favorited>false</favorited>
    <in_reply_to_screen_name></in_reply_to_screen_name>
    <retweet_count></retweet_count>
    <retweeted>false</retweeted>

    <retweeted_status>
      <created_at>Wed Aug 25 17:16:13 +0000 2010</created_at>
      <id>22105108358</id>
      <text>Any #umbraco devs want to help on an ELMAH package? Need help with package action, (not enough hours in the day!) http://bit.ly/9nu4G0</text>
      <source>&lt;a href=&quot;http://www.twhirl.org&quot; rel=&quot;nofollow&quot;&gt;Seesmic twhirl&lt;/a&gt;</source>

      <truncated>false</truncated>
      <in_reply_to_status_id></in_reply_to_status_id>
      <in_reply_to_user_id></in_reply_to_user_id>
      <favorited>false</favorited>
      <in_reply_to_screen_name></in_reply_to_screen_name>
      <retweet_count></retweet_count>
      <retweeted>false</retweeted>

      <user>
        <id>1005461</id>
        <name>Lee Kelleher</name>
        <screen_name>leekelleher</screen_name>
        <location>Yatton, Bristol, UK</location>
        <description>Umbraco MVP 2010 and ASP.NET developer.</description>

        <profile_image_url>http://a2.twimg.com/profile_images/56197478/northbynorthwest_300x300_normal.jpg</profile_image_url>
        <url>http://leekelleher.com/</url>
        <protected>false</protected>
        <followers_count>306</followers_count>
        <profile_background_color>709397</profile_background_color>
        <profile_text_color>333333</profile_text_color>

        <profile_link_color>1F98C7</profile_link_color>
        <profile_sidebar_fill_color>A0C5C7</profile_sidebar_fill_color>
        <profile_sidebar_border_color>86A4A6</profile_sidebar_border_color>
        <friends_count>184</friends_count>
        <created_at>Mon Mar 12 12:29:59 +0000 2007</created_at>
        <favourites_count>2</favourites_count>

        <utc_offset>0</utc_offset>
        <time_zone>London</time_zone>
        <profile_background_image_url>http://a3.twimg.com/profile_background_images/88106321/shark.jpg</profile_background_image_url>
        <profile_background_tile>true</profile_background_tile>
        <profile_use_background_image>true</profile_use_background_image>
        <notifications>false</notifications>

        <geo_enabled>true</geo_enabled>
        <verified>false</verified>
        <following>false</following>
        <statuses_count>2735</statuses_count>
        <lang>en</lang>
        <contributors_enabled>false</contributors_enabled>

        <follow_request_sent>false</follow_request_sent>
        <listed_count>50</listed_count>
        <show_all_inline_media>false</show_all_inline_media>
      </user>
      <geo/>
      <coordinates/>
      <place/>

      <contributors/>
    </retweeted_status>
    <user>
      <id>9751992</id>
      <name>Warren Buckley</name>
      <screen_name>warrenbuckley</screen_name>
      <location>iPhone: 51.559616,0.592538</location>

      <description>A web developer who is based in the UK that works for Norwegian Web Agency Xeed - http://www.xeed.no</description>
      <profile_image_url>http://a3.twimg.com/profile_images/696762619/warren-buckley_normal.jpg</profile_image_url>
      <url>http://www.creativewebspecialist.co.uk</url>
      <protected>false</protected>
      <followers_count>557</followers_count>
      <profile_background_color>022330</profile_background_color>

      <profile_text_color>333333</profile_text_color>
      <profile_link_color>0084B4</profile_link_color>
      <profile_sidebar_fill_color>C0DFEC</profile_sidebar_fill_color>
      <profile_sidebar_border_color>a8c7f7</profile_sidebar_border_color>
      <friends_count>257</friends_count>
      <created_at>Sun Oct 28 11:44:59 +0000 2007</created_at>

      <favourites_count>974</favourites_count>
      <utc_offset>0</utc_offset>
      <time_zone>London</time_zone>
      <profile_background_image_url>http://s.twimg.com/a/1282351897/images/themes/theme15/bg.png</profile_background_image_url>
      <profile_background_tile>false</profile_background_tile>
      <profile_use_background_image>true</profile_use_background_image>

      <notifications>false</notifications>
      <geo_enabled>true</geo_enabled>
      <verified>false</verified>
      <following>true</following>
      <statuses_count>7771</statuses_count>
      <lang>en</lang>

      <contributors_enabled>false</contributors_enabled>
      <follow_request_sent>false</follow_request_sent>
      <listed_count>55</listed_count>
      <show_all_inline_media>false</show_all_inline_media>
    </user>
    <geo/>
    <coordinates/>

    <place/>
    <contributors/>
  </status>

Old version of Tweet XML (In version 1.5)

Below is an example of the XML that twitter returns for each tweet

    <status>
      <created_at>Thu Jul 15 19:34:36 +0000 2010</created_at>
      <id>18626096149</id>

      <text>This is a test tweet to check geo location map on twitter for umbraco package.</text>
      <source>&lt;a href=&quot;http://twitter.com/&quot; rel=&quot;nofollow&quot;&gt;Twitter for iPhone&lt;/a&gt;</source>
      <truncated>false</truncated>
      <in_reply_to_status_id></in_reply_to_status_id>

      <in_reply_to_user_id></in_reply_to_user_id>
      <favorited>false</favorited>
      <in_reply_to_screen_name></in_reply_to_screen_name>
      <user>
        <id>9751992</id>
        <name>Warren Buckley</name>
        <screen_name>warrenbuckley</screen_name>

        <location>iPhone: 51.559616,0.592538</location>
        <description>A web developer who is based in the UK that works for Norwegian Web Agency Xeed - http://www.xeed.no</description>
        <profile_image_url>http://a3.twimg.com/profile_images/696762619/warren-buckley_normal.jpg</profile_image_url>
        <url>http://www.creativewebspecialist.co.uk</url>
        <protected>false</protected>
        <followers_count>528</followers_count>

        <profile_background_color>022330</profile_background_color>
        <profile_text_color>333333</profile_text_color>
        <profile_link_color>0084B4</profile_link_color>
        <profile_sidebar_fill_color>C0DFEC</profile_sidebar_fill_color>
        <profile_sidebar_border_color>a8c7f7</profile_sidebar_border_color>
        <friends_count>251</friends_count>

        <created_at>Sun Oct 28 11:44:59 +0000 2007</created_at>
        <favourites_count>933</favourites_count>
        <utc_offset>0</utc_offset>
        <time_zone>London</time_zone>
        <profile_background_image_url>http://s.twimg.com/a/1278188204/images/themes/theme15/bg.png</profile_background_image_url>
        <profile_background_tile>false</profile_background_tile>

        <profile_use_background_image>true</profile_use_background_image>
        <notifications>false</notifications>
        <geo_enabled>true</geo_enabled>
        <verified>false</verified>
        <following>false</following>
        <statuses_count>7312</statuses_count>

        <lang>en</lang>
        <contributors_enabled>false</contributors_enabled>
        <follow_request_sent>false</follow_request_sent>
      </user>
      <geo xmlns:georss="http://www.georss.org/georss">
        <georss:point>51.55955654 0.59320122</georss:point>
      </geo>

      <coordinates xmlns:georss="http://www.georss.org/georss">
        <georss:point>51.55955654 0.59320122</georss:point>
      </coordinates>
      <place/>
      <contributors/>
    </status>

Last edited Aug 26, 2010 at 8:06 AM by warrenbuckley, version 4

Comments

No comments yet.