Skip to content

Instantly share code, notes, and snippets.

@gnippy
gnippy / gist:5639003
Created May 23, 2013 20:04
Foursquare Checkin (Activity Streams format)
{
"id":"tag:gnip.foursquare.com:2013:checkin/519a65a10b6b206edab75826",
"postedTime":"2013-05-20T18:04:16+00:00",
"verb":"checkin",
"actor":{
"objectType":"person",
"gender":"male"
},
"object":{
"id":"tag:gnip.foursquare.com:2013:venue/4b78137ff964a520b8b42ee3",
@gnippy
gnippy / gist:5631485
Created May 22, 2013 22:33
Estimize Firehose (Activity Streams format)
{
"id": "tag:gnip.estimize.com:2013:819a55fc810f8d6d31000e13",
"verb": "post",
"postedTime": "2013-05-20T19:14:04",
"actor": {
"id": "tag:gnip.estimize.com:2013:person\/800c81ed810f8d064b000a2a",
"displayName": "Example User",
"preferredUserName": "example",
"objectType": "person",
"image": "http:\/\/com.estimize.s3.amazonaws.com\/user\/avatar\/800c81ed810f8d064b000a2a\/large_Headshot2.jpeg",
@gnippy
gnippy / gist:5198451
Created March 19, 2013 17:54
StackOverflow : Keyword - Search (Original format)
{
"question_id" : "15418475",
"last_activity_date" : "1363289324",
"up_vote_count" : "0",
"close_vote_count" : "0",
"body" : "<p>I don't know what I am doing wrong, but I am following certain steps which when I run my html file from eclipe works but when I run the php file it doesn't here is what I have done.</p>
<ol>
<li>Download and install Xampp.</li>
<li>Start Apache and mysql server (it stays on)</li>
@gnippy
gnippy / gist:5198438
Created March 19, 2013 17:53
StackOverflow : Keyword - Search (Activity Streams format)
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:service="http://activitystrea.ms/service-provider" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:gnip="http://www.gnip.com/schemas/2010">
<id>15418576</id>
<published>2013-03-14T19:34:45Z</published>
<updated>2013-03-14T19:37:27Z</updated>
<title>iAmRubuuu posted a question to StackOverflow</title>
<category term="QuestionPosted" label="Question Posted"/>
<link rel="alternate" type="text/html" href="http://stackoverflow.com/questions/15418576/why-the-singleton-methods-cant-be-defined-on-fixnum-bignum-float"/>
<source>
<link rel="self" type="application/json" href="https://api.stackexchange.com/2.1/search/advanced?order=desc&sort=activity&site=stackoverflow&q=Ruby&filter=!0YkWW*DNKwepqeHAqK*3e3.SF&key=H6XMlZUykCM7Zb)MF67irQ(("/>
<title>StackOverflow - Keyword - Search - Ruby</title>
@gnippy
gnippy / gist:5198373
Created March 19, 2013 17:50
Plurk : Keyword - Search (Original format)
{
"posted" : "Thu, 14 Mar 2013 19:25:58 GMT",
"replurkers" :
[
],
"replurkers_count" : "0",
"favorite_count" : "0",
"qualifier" : "says",
"limited_to" : null,
@gnippy
gnippy / gist:5198359
Created March 19, 2013 17:49
Plurk : Keyword - Search (Activity Streams format)
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:service="http://activitystrea.ms/service-provider" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:gnip="http://www.gnip.com/schemas/2010">
<id>1106820715</id>
<published>2013-03-15T15:00:41Z</published>
<updated>2013-03-15T15:00:41Z</updated>
<title>judyferg posted a note to Plurk</title>
<category term="NotePosted" label="Note Posted"/>
<link rel="alternate" type="text/html" href="http://www.plurk.com/p/iaz0bv"/>
<source>
<link rel="self" type="application/json" href="http://www.plurk.com/APP/PlurkSearch/search?query=snow"/>
<title>Plurk - Keyword - Search - snow</title>
@gnippy
gnippy / gist:5198329
Created March 19, 2013 17:45
Panoramio : Geotagged Photo Search (Original format)
{
"latitude" : "43.714449",
"photo_title" : "Corn Palace",
"photo_file_url" : "http://static.panoramio.com/photos/original/2571728.jpg",
"upload_date" : "04 June 2007",
"photo_url" : "http://www.panoramio.com/photo/2571728",
"owner_id" : "344215",
"owner_name" : "Remmert",
"height" : "1536",
"owner_url" : "http://www.panoramio.com/user/344215",
@gnippy
gnippy / gist:5198283
Created March 19, 2013 17:38
Panoramio : Geotagged Photo Search (Activity Streams format)
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:service="http://activitystrea.ms/service-provider" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:gnip="http://www.gnip.com/schemas/2010">
<id>3749005</id>
<published>2007-08-05T00:00:00Z</published>
<updated>2007-08-05T00:00:00Z</updated>
<title>Richard Ryer posted a photo to Panoramio</title>
<category term="PhotoPosted" label="Photo Posted"/>
<link rel="alternate" type="text/html" href="http://www.panoramio.com/photo/3749005"/>
<source>
<link rel="self" type="application/json" href="http://www.panoramio.com/map/get_panoramas.php?set=full&from=0&to=20&size=original&maxx=-105&maxy=41&minx=-108&miny=37"/>
<title>Panoramio - Geotagged Photo Search - bounding_box:[-108 37 -105 41]</title>
@gnippy
gnippy / gist:5144903
Last active December 14, 2015 20:38
GetGlue Comment (Activity Streams Format)
{
"provider": {
"displayName": "GetGlue",
"link": "http:\/\/www.getglue.com",
"objectType": "service"
},
"postedTime": "2013-07-25T18:58:36+00:00",
"updatedTime": "2013-07-25T18:58:36+00:00",
"id": "tag:gnip.getglue.com:2013:conversation\/katTHAbrat\/2013-07-25T18:58:36Z",
"displayName": "Kat tha brat commented about Catfish: The TV Show",
@gnippy
gnippy / gist:5144893
Last active December 14, 2015 20:38
GetGlue Badge (Activity Streams Format)
{
"provider": {
"displayName": "GetGlue",
"link": "http:\/\/www.getglue.com",
"objectType": "service"
},
"postedTime": "2013-07-25T18:58:33+00:00",
"updatedTime": "2013-07-25T18:58:33+00:00",
"id": "tag:gnip.getglue.com:2013:conversation\/walgemoed\/1374778714090\/stickers\/20th_century_fox\/the_wolverine_coming_soon",
"displayName": "Henk Walgemoed unlocked The Wolverine Coming Soon",