Skip to content

Instantly share code, notes, and snippets.

@robjohnson
robjohnson / Example Response from Twitter Actor Collector
Created March 9, 2010 03:54
An Example Response from the Twitter Actor Collector on Gnip.com
<status>
<created_at>Tue Mar 09 01:19:44 +0000 2010</created_at>
<id>10197918462</id>
<text>@RexDixon dude, that sounds like a pretty awesome night. If there was a match between The Rock and Mankind, I'd be watching next to you.</text>
<source>&lt;a href="http://www.atebits.com/" rel="nofollow"&gt;Tweetie&lt;/a&gt;</source>
<truncated>false</truncated>
<in_reply_to_status_id>10197633425</in_reply_to_status_id>
<in_reply_to_user_id>899671</in_reply_to_user_id>
<favorited>false</favorited>
<in_reply_to_screen_name>RexDixon</in_reply_to_screen_name>
<status>
<created_at>Tue Mar 09 06:38:40 +0000 2010</created_at>
<id>10209602849</id>
<text>RT @rody69: RT @taikutumasa: &#x6C60;&#x888B;&#x99C5;&#x306B;&#x67D0;&#x51FA;&#x7248;&#x793E;&#x306E;&#x60B2;&#x75DB;&#x306A;&#x308B;&#x8CBC;&#x308A;&#x7D19;&#x3002;&#x8457;&#x8005;&#x306E;&#x624B;&#x66F8;&#x304D;&#x539F;&#x7A3F;&#x304C;&#x5165;&#x3063;&#x305F;&#x5C01;&#x7B52;&#x3092;&#x5238;&#x58F2;&#x6A5F;&#x4ED8;&#x8FD1;&#x306B;&#x7F6E;&#x304D;&#x5FD8;&#x308C;&#x305F;&#x3001;&#x5927;&#x5207;&#x306A;&#x3082;&#x306E;&#x306A;&#x306E;&#x3067;&#x62FE;&#x3063;&#x305F;&#x65B9;&#x304A;&#x307C;&#x3048;&#x306E;&#x3042;&#x308B;&#x65B9;&#x306F;&#x9023;&#x7D61;&#x3057;&#x3066;&#x307B;&#x3057;&#x3044;&#x3001;&#x3068;&#x3044;&#x3046;&#x3082;&#x306E;&#x3002; http://twitpic.com/17h6ac</text>
<source>&lt;a href="http://sites.google.com/site/yorufukurou/" rel="nofollow"&gt;YoruFukurou&lt;/a&gt;</source>
<truncated>false</truncated>
<in_reply_to_status_id/>
<in_reply_to_user_id/>
<favorited>false</favorited>
@robjohnson
robjohnson / Sample Tweet from Twitter Streaming Filter
Created March 9, 2010 06:47
Sample Tweet from Twitter Streaming Filter
<status>
<created_at>Tue Mar 09 06:46:25 +0000 2010</created_at>
<id>10209804681</id>
<text>World Briefs: Haitian leader plans US visit: Preval says he plans to personally thank President Barack Obama on We... http://bit.ly/bLOhu1</text>
<source>&lt;a href="http://twitterfeed.com" rel="nofollow"&gt;twitterfeed&lt;/a&gt;</source>
<truncated>false</truncated>
<in_reply_to_status_id/>
<in_reply_to_user_id/>
<favorited>false</favorited>
<in_reply_to_screen_name/>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>Max&#xEF;mo Park</title>
<id>4481685989</id>
<published>2010-04-01T11:21:13Z</published>
<updated>2010-04-01T11:21:13Z</updated>
<source>
<link rel="self" type="application/atom+xml" href="http://api.flickr.com/services/rest/?method=flickr.photos.search&amp;tags=maximo%20park&amp;extras=date_upload,owner_name,tags,machine_tags,description&amp;per_page=20&amp;api_key=0c8fff95fc9205b44c19dd003d25a12e"/>
<title>Flickr - Tag - Uploads - maximo park</title>
<updated>2010-04-26T10-28-33Z</updated>
<gnip:action xmlns:gnip="http://www.gnip.com/">Upload</gnip:action>
<entry xmlns="http://www.w3.org/2005/Atom">
<id>tag:search.twitter.com,2005:12895063802</id>
<published>2010-04-26T17:31:55+00:00</published>
<updated>2010-04-26T17:31:55+00:00</updated>
<source>
<link rel="self" type="application/atom+xml" href="http://stream.twitter.com/1/statuses/filter.xml"/>
<title>Twitter - Stream - Track</title>
<updated>2010-04-26T10-31-56Z</updated>
<action>Post</action>
</source>
<entry xmlns="http://www.w3.org/2005/Atom">
<id>http://delicious.com/url/b8c568a78932d5b0b846b92af4efaf9c#dougsta</id>
<published>2010-04-18T01:03:30+00:00</published>
<updated>2010-04-18T01:03:30+00:00</updated>
<source>
<link rel="self" type="application/atom+xml" href="http://feeds.delicious.com/v2/rss/tag/%22web%20development%22?count=10"/>
<title>Delicious - Tag - Bookmarks - "web development"</title>
<updated>2010-04-26T10-33-41Z</updated>
<gnip:action xmlns:gnip="http://www.gnip.com/">Favorite</gnip:action>
</source>
<entry xmlns:gnip="http://www.gnip.com/schemas/2010" xmlns="http://www.w3.org/2005/Atom">
<id>tag:search.twitter.com,2005:2174856200192001</id>
<published>2010-11-10T01:45:00+00:00</published>
<updated>2010-11-10T01:45:00+00:00</updated>
<summary type="html">RT @jacoblatimore: Whats up Yall! Don't 4get call 414.799.1037 vote for "Like Em All" 9pm central lets go..lets retire the song tomorrow ...</summary>
<link rel="alternate" type="text/html" href="http://twitter.com/Ms_Mindlessgirl/statuses/2174856200192001"/>
<source>
<link rel="self" type="application/atom+xml" href="http://stream.twitter.com/1/statuses/filter.xml"/>
<title>Twitter - Stream - Track</title>
<updated>2010-11-09T17-45-01Z</updated>
@robjohnson
robjohnson / ActivityStreamTweet.json
Created November 15, 2010 05:55
Gnip Tweet Schema in Activity Streams JSON
{
"verb": "post",
"postedTime": "2010-10-21T16:02:46+00:00",
"body": "what we've been up to at @gnip -- delivering data to happy customers http://gnip.com/success_stories",
"twitter_entities": {
"urls": [
{
"expanded_url": null,
"url": "http://gnip.com/success_stories",
"indices": [
@robjohnson
robjohnson / ActivityStreamTweetReply.json
Created November 15, 2010 05:59
Gnip Reply Tweet Schema in Activity Streams JSON
{
"verb": "post",
"postedTime": "2010-10-20T15:12:48+00:00",
"inReplyTo": {
"link": "http://twitter.com/mattiasmiksche/statuses/27864422908"
},
"body": "@mattiasmiksche hi - did you see the stories of some of our users? http://gnip.com/success_stories",
"twitter_entities": {
"urls": [
{
@robjohnson
robjohnson / ActivityStreamTweetRetweet.json
Created November 15, 2010 06:04
Gnip Retweet Tweet Schema in Activity Streams JSON
{
"verb": "share",
"postedTime": "2010-10-21T16:03:11+00:00",
"body": "RT @Alterian: Woot! @Alterian recognized in leading analyst firm's Magic Quadrant for Enterprise Marketing Management... http://fb.me/z3 ...",
"twitter_entities": {
"urls": [
{
"expanded_url": null,
"url": "http://fb.me/z3",
"indices": [