Skip to content

Instantly share code, notes, and snippets.

@gnippy
Created January 29, 2013 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnippy/4666535 to your computer and use it in GitHub Desktop.
Save gnippy/4666535 to your computer and use it in GitHub Desktop.
Instagram Sample Payload (Activity Streams)
<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>379708337798963320_35539279</id>
<published>2013-01-29T18:39:42Z</published>
<updated>2013-01-29T18:39:42Z</updated>
<title>zerpster posted an image to Instagram</title>
<category term="ImagePosted" label="Image Posted"/>
<link rel="alternate" type="text/html" href="http://instagr.am/p/VE_riwwuB4/"/>
<source>
<link rel="self" type="application/json" href="https://api.instagram.com/v1/media/search?client_id=da8331232dd64e46a864e6bff14abf52&lat=40.7142&lng=-74.0064&distance=5000"/>
<title>Instagram - Geo - Search - point_radius:[-74.0064 40.7142 5km]</title>
<updated>2013-01-29T18-44-14Z</updated>
<gnip:rule>point_radius:[-74.0064 40.7142 5km]</gnip:rule>
</source>
<service:provider>
<name>Instagram</name>
<uri>www.Instagram.com</uri>
</service:provider>
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
<activity:object>
<activity:object-type>http://activitystrea.ms/schema/1.0/image</activity:object-type>
<id>379708337798963320_35539279</id>
<content>Mr. Bubble sprider k&#xE4;rlek i #nyc</content>
<link rel="alternate" type="text/html" href="http://instagr.am/p/VE_riwwuB4/"/>
<link rel="preview" href="http://distilleryimage4.s3.amazonaws.com/3f15d7926a4311e29e3522000a9f18ab_5.jpg"/>
<link rel="enclosure" href="http://distilleryimage4.s3.amazonaws.com/3f15d7926a4311e29e3522000a9f18ab_7.jpg"/>
<category term="nyc"/>
<gnip:statistics favoriteCount="0"/>
<georss:point>40.720635115 -74.003979786</georss:point>
</activity:object>
<author>
<name>zerpster</name>
<uri>http://www.instagram.com/zerpster</uri>
</author>
<activity:actor>
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
<link rel="alternate" type="text/html" length="0" href="http://www.instagram.com/zerpster"/>
<link rel="avatar" href="http://images.instagram.com/profiles/profile_35539279_75sq_1333908522.jpg"/>
</activity:actor>
<gnip:matching_rules>
<gnip:matching_rule rel="source">point_radius:[-74.0064 40.7142 5km]</gnip:matching_rule>
</gnip:matching_rules>
</entry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment