Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding users/self/media/liked endpoint

  • Loading branch information...
commit 6e3efd925aab6eb2c7fffbde0e4ea23f3028f4be 1 parent ccf1f56
@shayne shayne authored
View
22 lib/instagram/client/users.rb
@@ -136,7 +136,7 @@ def user_media_feed(*args)
# Returns a list of recent media items for a given user
#
- # @overload user_recent_media(id=nil, options={})
+ # @overload user_recent_media(options={})
# @param options [Hash] A customizable set of options.
# @return [Hashie::Mash]
# @example Returns a list of recent media items for the currently authenticated user
@@ -149,7 +149,7 @@ def user_media_feed(*args)
# @return [Hashie::Mash]
# @example Return a list of media items taken by @mikeyk
# Instagram.user_recent_media(4) # @mikeyk user ID being 4
- # @see TODO:docs url
+ # @see http://instagram.com/developer/endpoints/users/#get_users_media_recent
# @format :json
# @authenticated false unless requesting it from a protected user
#
@@ -162,6 +162,24 @@ def user_recent_media(*args)
response["data"]
end
+ # Returns a list of media items liked by the current user
+ #
+ # @overload user_liked_media(options={})
+ # @param options [Hash] A customizable set of options.
+ # @option options [Integer] :max_like_id (nil) Returns results with an ID less than (that is, older than) or equal to the specified ID.
+ # @option options [Integer] :count (nil) Limits the number of results returned per page.
+ # @return [Hashie::Mash]
+ # @example Returns a list of media items liked by the currently authenticated user
+ # Instagram.user_liked_media
+ # @see http://instagram.com/developer/endpoints/users/#get_users_liked_feed
+ # @format :json
+ # @authenticated true
+ # @rate_limited true
+ def user_liked_media(options={})
+ response = get("users/self/media/liked", options)
+ response["data"]
+ end
+
# Returns information about the current user's relationship (follow/following/etc) to another user
#
# @overload user_relationship(id, options={})
View
1  spec/fixtures/liked_media.json
@@ -0,0 +1 @@
+{"pagination": {"next_url": "https://api.instagram.com/v1/users/self/media/liked?access_token=20.e3ef9b3.7d489cfae47a4fb59ce81e3fb988f902&max_like_id=318604182", "next_max_like_id": "318604182"}, "meta": {"code": 200}, "data": [{"tags": [], "type": "image", "location": {"latitude": 37.785530000000001, "longitude": -122.40300000000001}, "comments": {"count": 0, "data": []}, "filter": "X-Pro II", "created_time": "1306948518", "link": "http://instagr.am/p/FCK52/", "likes": {"count": 13, "data": [{"username": "gambit", "profile_picture": "http://images.instagram.com/profiles/profile_4503_75sq_1302724599.jpg", "id": "4503", "full_name": "GJT"}, {"username": "dr_sussi", "profile_picture": "http://images.instagram.com/profiles/profile_3968053_75sq_1306330472.jpg", "id": "3968053", "full_name": "Sussi \uf8ff"}, {"username": "devinsnipes", "profile_picture": "http://images.instagram.com/profiles/profile_9840_75sq_1306938541.jpg", "id": "9840", "full_name": "Devin Snipes"}, {"username": "sharlek", "profile_picture": "http://images.instagram.com/profiles/profile_104411_75sq_1306447979.jpg", "id": "104411", "full_name": "David Charlec"}, {"username": "only_iphone3gs", "profile_picture": "http://images.instagram.com/profiles/profile_1158271_75sq_1306522197.jpg", "id": "1158271", "full_name": "Cl\u00e1udio Cezar"}, {"username": "parislemon", "profile_picture": "http://images.instagram.com/profiles/profile_28_75sq_1289965223.jpg", "id": "28", "full_name": "MG Siegler"}, {"username": "davisome", "profile_picture": "http://images.instagram.com/profiles/profile_1936_75sq_1301966497.jpg", "id": "1936", "full_name": "Mark Davison"}, {"username": "amywiddowson", "profile_picture": "http://images.instagram.com/profiles/profile_170935_75sq_1295747465.jpg", "id": "170935", "full_name": "Amy Widdowson"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/06/01/46ca0164b03844709ecfcfbd103059ec_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/06/01/46ca0164b03844709ecfcfbd103059ec_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/06/01/46ca0164b03844709ecfcfbd103059ec_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306948701", "text": "i ", "from": {"username": "clove", "bio": "twitter.com/clove", "profile_picture": "http://images.instagram.com/profiles/profile_11112_75sq_1286425447.jpg", "id": "11112", "full_name": "Charlie Love"}, "id": "106378899"}, "user_has_liked": true, "id": "84455030", "user": {"username": "clove", "bio": "twitter.com/clove", "profile_picture": "http://images.instagram.com/profiles/profile_11112_75sq_1286425447.jpg", "id": "11112", "full_name": "Charlie Love"}}, {"tags": [], "type": "image", "location": null, "comments": {"count": 0, "data": []}, "filter": "1977", "created_time": "1306951296", "link": "http://instagr.am/p/FCQ8E/", "likes": {"count": 2, "data": [{"username": "mrlouie", "profile_picture": "http://images.instagram.com/profiles/profile_2517087_75sq_1300502492.jpg", "id": "2517087", "full_name": "Louie"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/06/01/106071cabbef4e2384ab7ba31359c9b1_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/06/01/106071cabbef4e2384ab7ba31359c9b1_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/06/01/106071cabbef4e2384ab7ba31359c9b1_7.jpg", "width": 612, "height": 612}}, "caption": null, "user_has_liked": true, "id": "84479748", "user": {"username": "lost_in_lust", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_4321245_75sq_1306413354.jpg", "id": "4321245", "full_name": "Iulia Cojocariu"}}, {"tags": [], "type": "image", "location": null, "comments": {"count": 0, "data": []}, "filter": "Walden", "created_time": "1306889318", "link": "http://instagr.am/p/FAVr-/", "likes": {"count": 6, "data": [{"username": "lost_in_lust", "profile_picture": "http://images.instagram.com/profiles/profile_4321245_75sq_1306413354.jpg", "id": "4321245", "full_name": "Iulia Cojocariu"}, {"username": "ppcc630", "profile_picture": "http://images.instagram.com/profiles/profile_4595007_75sq_1306939615.jpg", "id": "4595007", "full_name": ""}, {"username": "niu0806", "profile_picture": "http://images.instagram.com/profiles/profile_4588363_75sq_1306922306.jpg", "id": "4588363", "full_name": ""}, {"username": "gabeem", "profile_picture": "http://images.instagram.com/profiles/profile_1928200_75sq_1306376585.jpg", "id": "1928200", "full_name": "Gabrielle"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}, {"username": "igraham", "profile_picture": "http://images.instagram.com/profiles/profile_1226388_75sq_1299249671.jpg", "id": "1226388", "full_name": "Ian Graham"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/31/0cf90ab0767d47f2b7692456199d09d2_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/31/0cf90ab0767d47f2b7692456199d09d2_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/31/0cf90ab0767d47f2b7692456199d09d2_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306889320", "text": "A rose from our garden.", "from": {"username": "jberg", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_608726_75sq_1306478857.jpg", "id": "608726", "full_name": "Justin Bergson"}, "id": "105726602"}, "user_has_liked": true, "id": "83974910", "user": {"username": "jberg", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_608726_75sq_1306478857.jpg", "id": "608726", "full_name": "Justin Bergson"}}, {"tags": [], "type": "image", "location": {"latitude": 37.779330732828079, "name": "San Francisco City Hall", "longitude": -122.41922736167911, "id": 896}, "comments": {"count": 16, "data": [{"created_time": "1306896201", "text": "@jayzombie babe.", "from": {"username": "boltron", "profile_picture": "http://images.instagram.com/profiles/profile_24264_75sq_1288008305.jpg", "id": "24264", "full_name": "Nate \ue13d"}, "id": "105810909"}, {"created_time": "1306896222", "text": "@boltron BABE!", "from": {"username": "jayzombie", "profile_picture": "http://images.instagram.com/profiles/profile_95_75sq_1305267089.jpg", "id": "95", "full_name": "Jessica"}, "id": "105811182"}, {"created_time": "1306896374", "text": "so good", "from": {"username": "wang01yan", "profile_picture": "http://images.instagram.com/profiles/profile_3733380_75sq_1304752917.jpg", "id": "3733380", "full_name": ""}, "id": "105813045"}, {"created_time": "1306899276", "text": "Looks like the white house", "from": {"username": "sousahenrique", "profile_picture": "http://images.instagram.com/profiles/profile_1280959_75sq_1303122144.jpg", "id": "1280959", "full_name": "Henrique Sousa"}, "id": "105849744"}, {"created_time": "1306900929", "text": "\ue00e\ue00e\ue00e", "from": {"username": "adri_tj", "profile_picture": "http://images.instagram.com/profiles/profile_4226832_75sq_1306813643.jpg", "id": "4226832", "full_name": "\u00a9 Adrianus Tj \u2122 \ue32b\ue008\ue00a"}, "id": "105870645"}, {"created_time": "1306906088", "text": "\ue32a\ue32a\ue32a\ue32a\ue32a\ue32b\ue32c!!", "from": {"username": "mrslollyphunk", "profile_picture": "http://images.instagram.com/profiles/profile_3033078_75sq_1306258312.jpg", "id": "3033078", "full_name": "Elizabeth Neri"}, "id": "105930182"}, {"created_time": "1306907414", "text": "Mighty fine.", "from": {"username": "pterodactyl", "profile_picture": "http://images.instagram.com/profiles/profile_4956_75sq_1306532902.jpg", "id": "4956", "full_name": "Caleb Wong"}, "id": "105943910"}, {"created_time": "1306924960", "text": "Very nice shot!!", "from": {"username": "sacville", "profile_picture": "http://images.instagram.com/profiles/profile_1640871_75sq_1305580397.jpg", "id": "1640871", "full_name": ""}, "id": "106094401"}]}, "filter": "Brannan", "created_time": "1306892029", "link": "http://instagr.am/p/FAb4x/", "likes": {"count": 367, "data": [{"username": "seabear", "profile_picture": "http://images.instagram.com/profiles/profile_1414907_75sq_1306117633.jpg", "id": "1414907", "full_name": "amanda."}, {"username": "1616bennkyou", "profile_picture": "http://images.instagram.com/profiles/profile_427944_75sq_1298639762.jpg", "id": "427944", "full_name": ""}, {"username": "filipinocali", "profile_picture": "http://images.instagram.com/profiles/profile_2203707_75sq_1306373180.jpg", "id": "2203707", "full_name": "\ue12bMargot Bautista\ue12b"}, {"username": "janniejan", "profile_picture": "http://images.instagram.com/profiles/profile_420863_75sq_1291786301.jpg", "id": "420863", "full_name": "Jan Waller"}, {"username": "katiecrazy", "profile_picture": "http://images.instagram.com/profiles/profile_4243466_75sq_1306444705.jpg", "id": "4243466", "full_name": "\ue32c\ue328\u0198\u0251\u0535\u00ed\u04bd\ue328\ue32c"}, {"username": "riyazim", "profile_picture": "http://images.instagram.com/profiles/profile_3084733_75sq_1302590605.jpg", "id": "3084733", "full_name": "Riyazi Muzammil"}, {"username": "twigby", "profile_picture": "http://images.instagram.com/profiles/profile_136666_75sq_1303162319.jpg", "id": "136666", "full_name": "Jes T"}, {"username": "bagreman", "profile_picture": "http://images.instagram.com/profiles/profile_3607681_75sq_1304916928.jpg", "id": "3607681", "full_name": "The best of the beast"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/31/f9d566d1ca694f76bcd7b021d9f69b70_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/31/f9d566d1ca694f76bcd7b021d9f69b70_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/31/f9d566d1ca694f76bcd7b021d9f69b70_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306892055", "text": "City Hall is looking mighty pretty today!", "from": {"username": "jayzombie", "profile_picture": "http://images.instagram.com/profiles/profile_95_75sq_1305267089.jpg", "id": "95", "full_name": "Jessica"}, "id": "105760295"}, "user_has_liked": true, "id": "84000305", "user": {"username": "jayzombie", "profile_picture": "http://images.instagram.com/profiles/profile_95_75sq_1305267089.jpg", "id": "95", "full_name": "Jessica"}}, {"tags": [], "type": "image", "location": null, "comments": {"count": 0, "data": []}, "filter": "Brannan", "created_time": "1306622253", "link": "http://instagr.am/p/E2ofC/", "likes": {"count": 2, "data": [{"username": "leaven", "profile_picture": "http://images.instagram.com/profiles/profile_4575423_75sq_1306968062.jpg", "id": "4575423", "full_name": "Jacqueline Lee Rose"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/28/21d0c0fec9474f85a5685a32694a002f_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/28/21d0c0fec9474f85a5685a32694a002f_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/28/21d0c0fec9474f85a5685a32694a002f_7.jpg", "width": 612, "height": 612}}, "caption": null, "user_has_liked": true, "id": "81430466", "user": {"username": "mmagliozzi", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_1466371_75sq_1304783966.jpg", "id": "1466371", "full_name": ""}}, {"tags": [], "type": "image", "location": {"latitude": 40.754640000000002, "name": "Black Rock Forest, New York", "longitude": -73.96387, "id": 3132510}, "comments": {"count": 0, "data": []}, "filter": "Hefe", "created_time": "1306893809", "link": "http://instagr.am/p/FAf9n/", "likes": {"count": 2, "data": [{"username": "sibley14", "profile_picture": "http://images.instagram.com/profiles/profile_2657864_75sq_1302360625.jpg", "id": "2657864", "full_name": "Adam Sibley"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/31/80a904f801fd41338dfcde3902f932cb_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/31/80a904f801fd41338dfcde3902f932cb_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/31/80a904f801fd41338dfcde3902f932cb_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306896051", "text": "we named him Bobby (the bear)", "from": {"username": "michaelamaureen", "bio": "", "profile_picture": "http://images.instagram.com/profiles/anonymousUser.jpg", "id": "1911060", "full_name": ""}, "id": "105809096"}, "user_has_liked": true, "id": "84016999", "user": {"username": "michaelamaureen", "bio": "", "profile_picture": "http://images.instagram.com/profiles/anonymousUser.jpg", "id": "1911060", "full_name": ""}}, {"tags": [], "type": "image", "location": {"latitude": 39.758380000000002, "longitude": -121.8629}, "comments": {"count": 0, "data": []}, "filter": "Lord Kelvin", "created_time": "1306911147", "link": "http://instagr.am/p/FBEHp/", "likes": {"count": 1, "data": [{"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/31/a5f8ba34dd55485aaf9b5e6891e61b01_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/31/a5f8ba34dd55485aaf9b5e6891e61b01_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/31/a5f8ba34dd55485aaf9b5e6891e61b01_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306911172", "text": "Studio Inn Cocktail Lounge", "from": {"username": "jberg", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_608726_75sq_1306478857.jpg", "id": "608726", "full_name": "Justin Bergson"}, "id": "105979729"}, "user_has_liked": true, "id": "84165097", "user": {"username": "jberg", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_608726_75sq_1306478857.jpg", "id": "608726", "full_name": "Justin Bergson"}}, {"tags": [], "type": "image", "location": {"latitude": 37.425814806836648, "name": "Googleplex - CL2", "longitude": -122.07196712493899, "id": 132935}, "comments": {"count": 0, "data": []}, "filter": "X-Pro II", "created_time": "1306885574", "link": "http://instagr.am/p/FANR9/", "likes": {"count": 3, "data": [{"username": "molluscus", "profile_picture": "http://images.instagram.com/profiles/profile_143440_75sq_1287204778.jpg", "id": "143440", "full_name": "Molly Osborne"}, {"username": "mistersweaters", "profile_picture": "http://images.instagram.com/profiles/profile_3864_75sq_1286387166.jpg", "id": "3864", "full_name": "Jonathan Lally"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/31/160695df885d468291924008dc2af8b2_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/31/160695df885d468291924008dc2af8b2_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/31/160695df885d468291924008dc2af8b2_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306885634", "text": "Why everything is beta at Google: foosball", "from": {"username": "acordova", "bio": "Web Developer in San Francisco. Baseball kinda runs my life.", "profile_picture": "http://images.instagram.com/profiles/profile_6875_75sq_1293927240.jpg", "id": "6875", "full_name": "Alexis Cordova"}, "id": "105681774"}, "user_has_liked": true, "id": "83940477", "user": {"username": "acordova", "bio": "Web Developer in San Francisco. Baseball kinda runs my life.", "profile_picture": "http://images.instagram.com/profiles/profile_6875_75sq_1293927240.jpg", "id": "6875", "full_name": "Alexis Cordova"}}, {"tags": [], "type": "image", "location": {"latitude": 47.623486999999997, "name": "Dick's Drive-In - Queen Anne", "longitude": -122.35638299999999, "id": 157126}, "comments": {"count": 5, "data": [{"created_time": "1306878900", "text": "You know me well.", "from": {"username": "throwboy", "profile_picture": "http://images.instagram.com/profiles/profile_778643_75sq_1306744714.jpg", "id": "778643", "full_name": "Roberto Hoyos"}, "id": "105600955"}, {"created_time": "1306879010", "text": "This looks so good right now.", "from": {"username": "rafaelrodrigues", "profile_picture": "http://images.instagram.com/profiles/profile_3228070_75sq_1305702541.jpg", "id": "3228070", "full_name": "Rafael Rodrigues"}, "id": "105602275"}, {"created_time": "1306879030", "text": "Sweet lord that looks good!!!", "from": {"username": "dan_brown", "profile_picture": "http://images.instagram.com/profiles/profile_4322352_75sq_1306266750.jpg", "id": "4322352", "full_name": "Daniel Brown \ue415"}, "id": "105602526"}, {"created_time": "1306927833", "text": "I love how you aligned the focus over the meat! :-) looks delicious, how was it?", "from": {"username": "daniel277", "profile_picture": "http://images.instagram.com/profiles/profile_2403525_75sq_1299611435.jpg", "id": "2403525", "full_name": "Dan James"}, "id": "106122567"}, {"created_time": "1306951750", "text": "Noms", "from": {"username": "iellietv", "profile_picture": "http://images.instagram.com/profiles/profile_2918165_75sq_1304735713.jpg", "id": "2918165", "full_name": "Ellie Banks"}, "id": "106411632"}]}, "filter": "Hefe", "created_time": "1306878553", "link": "http://instagr.am/p/E_915/", "likes": {"count": 23, "data": [{"username": "jantonovich", "profile_picture": "http://images.instagram.com/profiles/profile_1239165_75sq_1306814456.jpg", "id": "1239165", "full_name": "Joseph Antonovich"}, {"username": "crawcraw", "profile_picture": "http://images.instagram.com/profiles/profile_1000800_75sq_1304388066.jpg", "id": "1000800", "full_name": "Chris Crawford"}, {"username": "eclecticstyle", "profile_picture": "http://images.instagram.com/profiles/profile_2824988_75sq_1301237664.jpg", "id": "2824988", "full_name": "Andrea \ue32e Amedeo"}, {"username": "todmaffin", "profile_picture": "http://images.instagram.com/profiles/profile_1108196_75sq_1305608038.jpg", "id": "1108196", "full_name": "Tod Maffin"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}, {"username": "chipi97", "profile_picture": "http://images.instagram.com/profiles/profile_2983884_75sq_1301842280.jpg", "id": "2983884", "full_name": ""}, {"username": "dan_brown", "profile_picture": "http://images.instagram.com/profiles/profile_4322352_75sq_1306266750.jpg", "id": "4322352", "full_name": "Daniel Brown \ue415"}, {"username": "rafaelrodrigues", "profile_picture": "http://images.instagram.com/profiles/profile_3228070_75sq_1305702541.jpg", "id": "3228070", "full_name": "Rafael Rodrigues"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/31/727be369fadf4c6ba74ce8a7c251c0fe_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/31/727be369fadf4c6ba74ce8a7c251c0fe_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/31/727be369fadf4c6ba74ce8a7c251c0fe_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306878642", "text": "This is what you wish you had for lunch. ", "from": {"username": "l0ckergn0me", "bio": "Geek. ", "profile_picture": "http://images.instagram.com/profiles/profile_1927302_75sq_1302394666.jpg", "id": "1927302", "full_name": "Chris \ue105 Pirillo"}, "id": "105597948"}, "user_has_liked": true, "id": "83877241", "user": {"username": "l0ckergn0me", "bio": "Geek. ", "profile_picture": "http://images.instagram.com/profiles/profile_1927302_75sq_1302394666.jpg", "id": "1927302", "full_name": "Chris \ue105 Pirillo"}}, {"tags": [], "type": "image", "location": {"latitude": 39.730330000000002, "longitude": -121.8601}, "comments": {"count": 0, "data": []}, "filter": "Earlybird", "created_time": "1305701931", "link": "http://instagr.am/p/EY1m6/", "likes": {"count": 2, "data": [{"username": "hibrenda", "profile_picture": "http://images.instagram.com/profiles/profile_3098371_75sq_1306972061.jpg", "id": "3098371", "full_name": "Brenda"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/17/376b1aadac02444bb3ebf8e60c184cfa_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/17/376b1aadac02444bb3ebf8e60c184cfa_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/17/376b1aadac02444bb3ebf8e60c184cfa_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1305701974", "text": "Naughty bits lounging", "from": {"username": "jmbrandt87", "bio": "", "profile_picture": "http://images.instagram.com/profiles/anonymousUser.jpg", "id": "1971057", "full_name": ""}, "id": "92893917"}, "user_has_liked": true, "id": "73619898", "user": {"username": "jmbrandt87", "bio": "", "profile_picture": "http://images.instagram.com/profiles/anonymousUser.jpg", "id": "1971057", "full_name": ""}}, {"tags": [], "type": "image", "location": {"latitude": 39.756399999999999, "longitude": -121.7756}, "comments": {"count": 1, "data": [{"created_time": "1306858693", "text": "Chewy!", "from": {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}, "id": "105379964"}]}, "filter": "Sutro", "created_time": "1306850473", "link": "http://instagr.am/p/E-_uP/", "likes": {"count": 9, "data": [{"username": "cassiesweeney", "profile_picture": "http://images.instagram.com/profiles/profile_1137873_75sq_1293162628.jpg", "id": "1137873", "full_name": ""}, {"username": "gabehawk", "profile_picture": "http://images.instagram.com/profiles/profile_820738_75sq_1292035867.jpg", "id": "820738", "full_name": "Gabe Velasquez"}, {"username": "yeahimlina", "profile_picture": "http://images.instagram.com/profiles/profile_1217546_75sq_1295211502.jpg", "id": "1217546", "full_name": "Sirimande \ue326"}, {"username": "mpakes", "profile_picture": "http://images.instagram.com/profiles/profile_76871_75sq_1304744584.jpg", "id": "76871", "full_name": "Matt Pakes"}, {"username": "jennimckiggan", "profile_picture": "http://images.instagram.com/profiles/profile_4496688_75sq_1306802224.jpg", "id": "4496688", "full_name": "Jenni McKiggan"}, {"username": "tylersmalley", "profile_picture": "http://images.instagram.com/profiles/profile_12452_75sq_1297402232.jpg", "id": "12452", "full_name": "Tyler Smalley"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}, {"username": "bswee", "profile_picture": "http://images.instagram.com/profiles/profile_752987_75sq_1298901191.jpg", "id": "752987", "full_name": "Britney Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/31/cf3e267079cb443ab97db7226503e4a9_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/31/cf3e267079cb443ab97db7226503e4a9_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/31/cf3e267079cb443ab97db7226503e4a9_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306850529", "text": "Bella doesn't want to wake up!!", "from": {"username": "gigisgr8", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_2076834_75sq_1298086390.jpg", "id": "2076834", "full_name": ""}, "id": "105271162"}, "user_has_liked": true, "id": "83622799", "user": {"username": "gigisgr8", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_2076834_75sq_1298086390.jpg", "id": "2076834", "full_name": ""}}, {"tags": [], "type": "image", "location": {"latitude": 38.886229999999998, "longitude": -77.158540000000002}, "comments": {"count": 0, "data": []}, "filter": "Lomo-fi", "created_time": "1306850592", "link": "http://instagr.am/p/E_AAO/", "likes": {"count": 5, "data": [{"username": "zyuhas", "profile_picture": "http://images.instagram.com/profiles/profile_3114277_75sq_1306791749.jpg", "id": "3114277", "full_name": ""}, {"username": "forthy", "profile_picture": "http://images.instagram.com/profiles/profile_3880984_75sq_1305151452.jpg", "id": "3880984", "full_name": "Alex \u2729\u2605\u2729"}, {"username": "geektechlive", "profile_picture": "http://images.instagram.com/profiles/profile_2200078_75sq_1298671369.jpg", "id": "2200078", "full_name": "chris Favero"}, {"username": "jpixtimeee", "profile_picture": "http://images.instagram.com/profiles/profile_3603319_75sq_1305301068.jpg", "id": "3603319", "full_name": "Joey P"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/31/32ea0dfafe4042f8a46224768dcbb68b_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/31/32ea0dfafe4042f8a46224768dcbb68b_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/31/32ea0dfafe4042f8a46224768dcbb68b_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306850602", "text": "The train is empty. ", "from": {"username": "chriskbrown", "bio": "I carry at least 6 electronic devices with me at all times. ", "profile_picture": "http://images.instagram.com/profiles/profile_67554_75sq_1294206553.jpg", "id": "67554", "full_name": "Christopher Brown"}, "id": "105272146"}, "user_has_liked": true, "id": "83623950", "user": {"username": "chriskbrown", "bio": "I carry at least 6 electronic devices with me at all times. ", "profile_picture": "http://images.instagram.com/profiles/profile_67554_75sq_1294206553.jpg", "id": "67554", "full_name": "Christopher Brown"}}, {"tags": [], "type": "image", "location": {"latitude": 39.252589999999998, "longitude": -122.1825}, "comments": {"count": 2, "data": [{"created_time": "1306807407", "text": "Hawk and Rocky!", "from": {"username": "gigisgr8", "profile_picture": "http://images.instagram.com/profiles/profile_2076834_75sq_1298086390.jpg", "id": "2076834", "full_name": ""}, "id": "104895351"}, {"created_time": "1306894009", "text": "Pretty bird, pretty bird", "from": {"username": "linds__bauman", "profile_picture": "http://images.instagram.com/profiles/profile_2485780_75sq_1302638039.jpg", "id": "2485780", "full_name": "Lindsey Bauman"}, "id": "105784232"}]}, "filter": "Nashville", "created_time": "1306796812", "link": null, "likes": {"count": 7, "data": [{"username": "linds__bauman", "profile_picture": "http://images.instagram.com/profiles/profile_2485780_75sq_1302638039.jpg", "id": "2485780", "full_name": "Lindsey Bauman"}, {"username": "k_ladyhawk", "profile_picture": "http://images.instagram.com/profiles/profile_820795_75sq_1294676559.jpg", "id": "820795", "full_name": "Kristi Velasquez"}, {"username": "kvstat", "profile_picture": "http://images.instagram.com/profiles/profile_911051_75sq_1302023131.jpg", "id": "911051", "full_name": "Kimberli Velasquez"}, {"username": "mpakes", "profile_picture": "http://images.instagram.com/profiles/profile_76871_75sq_1304744584.jpg", "id": "76871", "full_name": "Matt Pakes"}, {"username": "bswee", "profile_picture": "http://images.instagram.com/profiles/profile_752987_75sq_1298901191.jpg", "id": "752987", "full_name": "Britney Sweeney"}, {"username": "gabehawk", "profile_picture": "http://images.instagram.com/profiles/profile_820738_75sq_1292035867.jpg", "id": "820738", "full_name": "Gabe Velasquez"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/30/c9125a2e8f6c4d158d38916b0a3ecfcd_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/30/c9125a2e8f6c4d158d38916b0a3ecfcd_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/30/c9125a2e8f6c4d158d38916b0a3ecfcd_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306796858", "text": "Petey!", "from": {"username": "k_ladyhawk", "profile_picture": "http://images.instagram.com/profiles/profile_820795_75sq_1294676559.jpg", "id": "820795", "full_name": "Kristi Velasquez"}, "id": "104761271"}, "user_has_liked": true, "id": "83214713", "user": {"username": "k_ladyhawk", "profile_picture": "http://images.instagram.com/profiles/profile_820795_75sq_1294676559.jpg", "id": "820795", "full_name": "Kristi Velasquez"}}, {"tags": [], "type": "image", "location": {"latitude": 38.984549999999999, "longitude": -121.30410000000001}, "comments": {"count": 1, "data": [{"created_time": "1306804784", "text": "Great pic!", "from": {"username": "matt_marcum", "profile_picture": "http://images.instagram.com/profiles/profile_961914_75sq_1301522827.jpg", "id": "961914", "full_name": "Matt Marcum"}, "id": "104862373"}]}, "filter": "Hefe", "created_time": "1306788926", "link": "http://instagr.am/p/E9GGZ/", "likes": {"count": 5, "data": [{"username": "mizfallon", "profile_picture": "http://images.instagram.com/profiles/anonymousUser.jpg", "id": "3960883", "full_name": ""}, {"username": "furreen", "profile_picture": "http://images.instagram.com/profiles/profile_3973756_75sq_1306913510.jpg", "id": "3973756", "full_name": ""}, {"username": "jberg", "profile_picture": "http://images.instagram.com/profiles/profile_608726_75sq_1306478857.jpg", "id": "608726", "full_name": "Justin Bergson"}, {"username": "sadiqbello", "profile_picture": "http://images.instagram.com/profiles/profile_3525196_75sq_1306611157.jpg", "id": "3525196", "full_name": "Sadiq Bello"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/30/30a67217f4844290b8e61e80709eb7de_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/30/30a67217f4844290b8e61e80709eb7de_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/30/30a67217f4844290b8e61e80709eb7de_7.jpg", "width": 612, "height": 612}}, "caption": null, "user_has_liked": true, "id": "83124633", "user": {"username": "jberg", "profile_picture": "http://images.instagram.com/profiles/profile_608726_75sq_1306478857.jpg", "id": "608726", "full_name": "Justin Bergson"}}, {"tags": [], "type": "image", "location": {"latitude": 39.739519999999999, "longitude": -121.87050000000001}, "comments": {"count": 0, "data": []}, "filter": "Hefe", "created_time": "1306720526", "link": "http://instagr.am/p/E6s-y/", "likes": {"count": 2, "data": [{"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}, {"username": "ericmichaels", "profile_picture": "http://images.instagram.com/profiles/profile_334150_75sq_1292297505.jpg", "id": "334150", "full_name": "Eric Michaels"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/29/71436d80c9894a9c98a9380c33087cff_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/29/71436d80c9894a9c98a9380c33087cff_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/29/71436d80c9894a9c98a9380c33087cff_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306720538", "text": "Afternoon water balloon fight", "from": {"username": "cassiesweeney", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_1137873_75sq_1293162628.jpg", "id": "1137873", "full_name": ""}, "id": "103903988"}, "user_has_liked": true, "id": "82497458", "user": {"username": "cassiesweeney", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_1137873_75sq_1293162628.jpg", "id": "1137873", "full_name": ""}}, {"tags": [], "type": "image", "location": {"latitude": 37.79992, "longitude": -122.4378}, "comments": {"count": 13, "data": [{"created_time": "1306737116", "text": "Where to get this, is a question currently on my mind.", "from": {"username": "nickthedude", "profile_picture": "http://images.instagram.com/profiles/profile_4063547_75sq_1306129742.jpg", "id": "4063547", "full_name": "Nick Iannone"}, "id": "104088624"}, {"created_time": "1306739038", "text": "You can get it on tap in bars in Australia.", "from": {"username": "samlyne", "profile_picture": "http://images.instagram.com/profiles/profile_290068_75sq_1301875469.jpg", "id": "290068", "full_name": "Sam Lyne"}, "id": "104105346"}, {"created_time": "1306742117", "text": "That's a Japanese beer, right? You should drink it on Diggnation!", "from": {"username": "tucker", "profile_picture": "http://images.instagram.com/profiles/profile_6348_75sq_1287972238.jpg", "id": "6348", "full_name": "Tucker Weinmann"}, "id": "104130682"}, {"created_time": "1306752103", "text": "Hitachino is some of the best beer you can buy.", "from": {"username": "jamestobin", "profile_picture": "http://images.instagram.com/profiles/profile_84044_75sq_1287435702.jpg", "id": "84044", "full_name": "James Tobin"}, "id": "104214662"}, {"created_time": "1306752332", "text": "Haha thats funny, I uploaded a pic of Ginger beer yesterday :)", "from": {"username": "7ewis", "profile_picture": "http://images.instagram.com/profiles/profile_2657543_75sq_1306695198.jpg", "id": "2657543", "full_name": "Lewis Lebentz"}, "id": "104216723"}, {"created_time": "1306759164", "text": "\ue00e\u65e5\u7acb\u306e\u30cd\u30b9\u30c8", "from": {"username": "erinj1977", "profile_picture": "http://images.instagram.com/profiles/profile_2221872_75sq_1303863159.jpg", "id": "2221872", "full_name": ""}, "id": "104288014"}, {"created_time": "1306764873", "text": "That's my favorite of the Hitachino. They're an expensive import and I don't feel the others live up to the expense.", "from": {"username": "hexopod", "profile_picture": "http://images.instagram.com/profiles/profile_1847_75sq_1286462177.jpg", "id": "1847", "full_name": "Matt Welsh"}, "id": "104361257"}, {"created_time": "1306771150", "text": "Sweet! Love #ginger", "from": {"username": "youngdealz", "profile_picture": "http://images.instagram.com/profiles/profile_1480747_75sq_1300482759.jpg", "id": "1480747", "full_name": "John Bare"}, "id": "104448064"}]}, "filter": "Lomo-fi", "created_time": "1306724568", "link": "http://instagr.am/p/E63dD/", "likes": {"count": 89, "data": [{"username": "ryanvance", "profile_picture": "http://images.instagram.com/profiles/profile_247144_75sq_1298829019.jpg", "id": "247144", "full_name": "Ryan Vance"}, {"username": "lokified", "profile_picture": "http://images.instagram.com/profiles/profile_308136_75sq_1301011169.jpg", "id": "308136", "full_name": "Lucas Brown"}, {"username": "kellypodz", "profile_picture": "http://images.instagram.com/profiles/profile_373166_75sq_1305323407.jpg", "id": "373166", "full_name": "Kelly Podzemny"}, {"username": "jessverr", "profile_picture": "http://images.instagram.com/profiles/profile_91608_75sq_1294337432.jpg", "id": "91608", "full_name": "Jessica Verrilli"}, {"username": "moonshinedesign", "profile_picture": "http://images.instagram.com/profiles/profile_167049_75sq_1306824179.jpg", "id": "167049", "full_name": "Adrienne Levin"}, {"username": "mikey_likes_it", "profile_picture": "http://images.instagram.com/profiles/profile_396044_75sq_1288765984.jpg", "id": "396044", "full_name": "Michael H"}, {"username": "ryaniak", "profile_picture": "http://images.instagram.com/profiles/profile_279911_75sq_1304191550.jpg", "id": "279911", "full_name": "Ryaniak"}, {"username": "indiangirl", "profile_picture": "http://images.instagram.com/profiles/profile_1349271_75sq_1302593038.jpg", "id": "1349271", "full_name": "Prathu"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/29/966f6e9729224a139038f7eb0c48f3d0_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/29/966f6e9729224a139038f7eb0c48f3d0_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/29/966f6e9729224a139038f7eb0c48f3d0_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306724574", "text": "Real Ginger beer, amazing!!", "from": {"username": "kevinrose", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_124163_75sq_1287092509.jpg", "id": "124163", "full_name": "Kevin Rose \ue10b"}, "id": "103951366"}, "user_has_liked": true, "id": "82540355", "user": {"username": "kevinrose", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_124163_75sq_1287092509.jpg", "id": "124163", "full_name": "Kevin Rose \ue10b"}}, {"tags": [], "type": "image", "location": {"latitude": 37.771590000000003, "longitude": -122.45010000000001}, "comments": {"count": 2, "data": [{"created_time": "1306728491", "text": "yah! motorcycle time.", "from": {"username": "cordeliam", "profile_picture": "http://images.instagram.com/profiles/profile_911257_75sq_1302724918.jpg", "id": "911257", "full_name": "Cordelia Miller"}, "id": "103999390"}, {"created_time": "1306729182", "text": "M2 is way better.", "from": {"username": "mh", "profile_picture": "http://images.instagram.com/profiles/profile_5548_75sq_1305604216.jpg", "id": "5548", "full_name": "matt hunter"}, "id": "104007580"}]}, "filter": "X-Pro II", "created_time": "1306726941", "link": "http://instagr.am/p/E69pM/", "likes": {"count": 12, "data": [{"username": "daryapino", "profile_picture": "http://images.instagram.com/profiles/profile_325120_75sq_1288328126.jpg", "id": "325120", "full_name": "Darya Pino"}, {"username": "littlemissnina", "profile_picture": "http://images.instagram.com/profiles/profile_1829066_75sq_1301676157.jpg", "id": "1829066", "full_name": ""}, {"username": "nataliaenvy", "profile_picture": "http://images.instagram.com/profiles/profile_474816_75sq_1303338783.jpg", "id": "474816", "full_name": "Natalia Villalobos"}, {"username": "thejana", "profile_picture": "http://images.instagram.com/profiles/profile_69080_75sq_1303310849.jpg", "id": "69080", "full_name": "The Jana"}, {"username": "cordeliam", "profile_picture": "http://images.instagram.com/profiles/profile_911257_75sq_1302724918.jpg", "id": "911257", "full_name": "Cordelia Miller"}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}, {"username": "scapegoat", "profile_picture": "http://images.instagram.com/profiles/profile_35334_75sq_1297717281.jpg", "id": "35334", "full_name": "Amelia Mendez"}, {"username": "bmull", "profile_picture": "http://images.instagram.com/profiles/profile_42755_75sq_1290738384.jpg", "id": "42755", "full_name": "Brenden Mulligan"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/29/07ba9246281f4bd2b443e654e55ee9de_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/29/07ba9246281f4bd2b443e654e55ee9de_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/29/07ba9246281f4bd2b443e654e55ee9de_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306726954", "text": "M1 baby!!!", "from": {"username": "jeffhodsdon", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_123663_75sq_1291327014.jpg", "id": "123663", "full_name": "Jeff Hodsdon"}, "id": "103980336"}, "user_has_liked": true, "id": "82565708", "user": {"username": "jeffhodsdon", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_123663_75sq_1291327014.jpg", "id": "123663", "full_name": "Jeff Hodsdon"}}, {"tags": [], "type": "image", "location": {"latitude": 34.008422440982628, "name": "Santa Monica Pier", "longitude": -118.49856197834011, "id": 3001340}, "comments": {"count": 1, "data": [{"created_time": "1306643278", "text": "@tylersmalley", "from": {"username": "drewhart", "profile_picture": "http://images.instagram.com/profiles/anonymousUser.jpg", "id": "3287562", "full_name": ""}, "id": "102994461"}]}, "filter": "X-Pro II", "created_time": "1306642853", "link": "http://instagr.am/p/E3h5q/", "likes": {"count": 1, "data": [{"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/28/da632080ac314e6ab7a1358d00b15f86_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/28/da632080ac314e6ab7a1358d00b15f86_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/28/da632080ac314e6ab7a1358d00b15f86_7.jpg", "width": 612, "height": 612}}, "caption": null, "user_has_liked": true, "id": "81665642", "user": {"username": "drewhart", "profile_picture": "http://images.instagram.com/profiles/anonymousUser.jpg", "id": "3287562", "full_name": ""}}, {"tags": [], "type": "image", "location": {"latitude": 38.682896772791437, "name": "Kirkwood Mountain Resort", "longitude": -120.0712966918945, "id": 218360}, "comments": {"count": 4, "data": [{"created_time": "1306640107", "text": "Dude. It's not even sticking to your trees all the way down south there! #northshoreforlife", "from": {"username": "sacca", "profile_picture": "http://images.instagram.com/profiles/profile_221307_75sq_1287732175.jpg", "id": "221307", "full_name": "Chris Sacca"}, "id": "102955632"}, {"created_time": "1306640298", "text": "To raise me, you have to have more snow:)", "from": {"username": "crystale", "profile_picture": "http://images.instagram.com/profiles/profile_564608_75sq_1289727266.jpg", "id": "564608", "full_name": ""}, "id": "102957992"}, {"created_time": "1306656928", "text": "Jealous. Gorgeous. Miss Kirky.", "from": {"username": "tommyrusso", "profile_picture": "http://images.instagram.com/profiles/profile_3568828_75sq_1304312610.jpg", "id": "3568828", "full_name": "Tommy Russo"}, "id": "103137738"}, {"created_time": "1306680273", "text": "Excellent!!", "from": {"username": "salomaa", "profile_picture": "http://images.instagram.com/profiles/profile_680600_75sq_1305990260.jpg", "id": "680600", "full_name": "Jari Salomaa"}, "id": "103400239"}]}, "filter": "Lomo-fi", "created_time": "1306635796", "link": "http://instagr.am/p/E3ONy/", "likes": {"count": 11, "data": [{"username": "mohdabdurraafay", "profile_picture": "http://images.instagram.com/profiles/profile_966_75sq_1293454543.jpg", "id": "966", "full_name": "Mohammad Abdurraafay"}, {"username": "crystale", "profile_picture": "http://images.instagram.com/profiles/profile_564608_75sq_1289727266.jpg", "id": "564608", "full_name": ""}, {"username": "shayne", "profile_picture": "http://images.instagram.com/profiles/profile_20_75sq_1306092173.jpg", "id": "20", "full_name": "Shayne Sweeney"}, {"username": "narendra", "profile_picture": "http://images.instagram.com/profiles/profile_18887_75sq_1286474873.jpg", "id": "18887", "full_name": "Narendra Rocherolle"}, {"username": "slobotski", "profile_picture": "http://images.instagram.com/profiles/profile_8994_75sq_1288728072.jpg", "id": "8994", "full_name": "Jeff Slobotski"}, {"username": "chudson", "profile_picture": "http://images.instagram.com/profiles/profile_73500_75sq_1292478812.jpg", "id": "73500", "full_name": "Charles Hudson"}, {"username": "slashsimon", "profile_picture": "http://images.instagram.com/profiles/profile_6843_75sq_1286498924.jpg", "id": "6843", "full_name": "Alan Simon"}, {"username": "dshanahan", "profile_picture": "http://images.instagram.com/profiles/profile_2812629_75sq_1305342035.jpg", "id": "2812629", "full_name": "Derek Shanahan"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/28/24a3026dff164b37aaf3178261102eaf_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/28/24a3026dff164b37aaf3178261102eaf_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/28/24a3026dff164b37aaf3178261102eaf_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306635817", "text": "Raising you @crystale ;-P", "from": {"username": "jeffclavier", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_343448_75sq_1288434597.jpg", "id": "343448", "full_name": "Jeff Clavier"}, "id": "102900576"}, "user_has_liked": true, "id": "81585010", "user": {"username": "jeffclavier", "bio": "", "profile_picture": "http://images.instagram.com/profiles/profile_343448_75sq_1288434597.jpg", "id": "343448", "full_name": "Jeff Clavier"}}, {"tags": ["friendportraits"], "type": "image", "location": {"latitude": 37.274582000000002, "name": "Cooper garrod winery", "longitude": -122.05988600000001, "id": 1076677}, "comments": {"count": 10, "data": [{"created_time": "1306630163", "text": "Cool shot", "from": {"username": "down_under", "profile_picture": "http://images.instagram.com/profiles/profile_1307126_75sq_1294014762.jpg", "id": "1307126", "full_name": "Richard"}, "id": "102830538"}, {"created_time": "1306631858", "text": "Gorgeous colours!", "from": {"username": "lilbluexox", "profile_picture": "http://images.instagram.com/profiles/profile_1115210_75sq_1299575900.jpg", "id": "1115210", "full_name": "LJ"}, "id": "102851281"}, {"created_time": "1306634388", "text": "Cooper! The pilot! The reserve is worth it!", "from": {"username": "doug", "profile_picture": "http://images.instagram.com/profiles/profile_17_75sq_1292890348.jpg", "id": "17", "full_name": "Doug Systrom"}, "id": "102882687"}, {"created_time": "1306636452", "text": "Erin is so beautiful!", "from": {"username": "hilary1211", "profile_picture": "http://images.instagram.com/profiles/profile_85730_75sq_1289364395.jpg", "id": "85730", "full_name": "Hilary Price"}, "id": "102908887"}, {"created_time": "1306636620", "text": "Nice and dramatic", "from": {"username": "prince_of_funk", "profile_picture": "http://images.instagram.com/profiles/profile_3708911_75sq_1305363915.jpg", "id": "3708911", "full_name": "Andhika Gautama"}, "id": "102911125"}, {"created_time": "1306636643", "text": "And @erindanika and @bevprice Looks like Grandpap", "from": {"username": "hilary1211", "profile_picture": "http://images.instagram.com/profiles/profile_85730_75sq_1289364395.jpg", "id": "85730", "full_name": "Hilary Price"}, "id": "102911435"}, {"created_time": "1306645420", "text": "Woooooooooooo", "from": {"username": "mariesprite", "profile_picture": "http://images.instagram.com/profiles/profile_4355339_75sq_1306354983.jpg", "id": "4355339", "full_name": ""}, "id": "103019199"}, {"created_time": "1306645750", "text": "Great colors", "from": {"username": "brianpowell", "profile_picture": "http://images.instagram.com/profiles/profile_2920179_75sq_1301605454.jpg", "id": "2920179", "full_name": "Brian Powell"}, "id": "103022957"}]}, "filter": "Normal", "created_time": "1306621559", "link": "http://instagr.am/p/E2ml3/", "likes": {"count": 332, "data": [{"username": "patrickxjonathan", "profile_picture": "http://images.instagram.com/profiles/profile_778502_75sq_1305938088.jpg", "id": "778502", "full_name": "Patrick Curley"}, {"username": "bienardo", "profile_picture": "http://images.instagram.com/profiles/profile_1734749_75sq_1306900665.jpg", "id": "1734749", "full_name": "Ben Llaneta"}, {"username": "kelgdun", "profile_picture": "http://images.instagram.com/profiles/profile_1293374_75sq_1300419858.jpg", "id": "1293374", "full_name": "Six Different Ways"}, {"username": "josh", "profile_picture": "http://images.instagram.com/profiles/profile_33_75sq_1305774118.jpg", "id": "33", "full_name": "Josh Riedel"}, {"username": "sheena1123", "profile_picture": "http://images.instagram.com/profiles/profile_1645950_75sq_1306224606.jpg", "id": "1645950", "full_name": "\ue20cSheena\ue20c"}, {"username": "louiemoschell", "profile_picture": "http://images.instagram.com/profiles/profile_1024835_75sq_1305251752.jpg", "id": "1024835", "full_name": "Louie Moschell"}, {"username": "notorioususb", "profile_picture": "http://images.instagram.com/profiles/profile_70172_75sq_1286747095.jpg", "id": "70172", "full_name": "Brian Benitez"}, {"username": "katherinavang", "profile_picture": "http://images.instagram.com/profiles/profile_2374442_75sq_1306863779.jpg", "id": "2374442", "full_name": "KV maivab"}]}, "images": {"low_resolution": {"url": "http://images.instagram.com/media/2011/05/28/1c56ec687d4f4e1b99e89eccaad2cdaa_6.jpg", "width": 306, "height": 306}, "thumbnail": {"url": "http://images.instagram.com/media/2011/05/28/1c56ec687d4f4e1b99e89eccaad2cdaa_5.jpg", "width": 150, "height": 150}, "standard_resolution": {"url": "http://images.instagram.com/media/2011/05/28/1c56ec687d4f4e1b99e89eccaad2cdaa_7.jpg", "width": 612, "height": 612}}, "caption": {"created_time": "1306621569", "text": "@erindanika is dating @josh - she was also a barista at blue bottle and now works at one kings lane #friendportraits", "from": {"username": "kevin", "bio": "CEO & Co-founder of Instagram", "profile_picture": "http://images.instagram.com/profiles/profile_3_75sq_1306653130.jpg", "id": "3", "full_name": "Kevin Systrom"}, "id": "102729910"}, "user_has_liked": true, "id": "81422711", "user": {"username": "kevin", "bio": "CEO & Co-founder of Instagram", "profile_picture": "http://images.instagram.com/profiles/profile_3_75sq_1306653130.jpg", "id": "3", "full_name": "Kevin Systrom"}}]}
View
16 spec/instagram/client/users_spec.rb
@@ -170,6 +170,22 @@
end
end
+ describe ".user_liked_media" do
+
+ before do
+ stub_get("users/self/media/liked.#{format}").
+ with(:query => {:access_token => @client.access_token}).
+ to_return(:body => fixture("liked_media.#{format}"), :headers => {:content_type => "application/#{format}; charset=utf-8"})
+ end
+
+ it "should get the correct resource" do
+ @client.user_liked_media
+ a_get("users/self/media/liked.#{format}").
+ with(:query => {:access_token => @client.access_token}).
+ should have_been_made
+ end
+ end
+
describe ".user_recent_media" do
context "with user ID passed" do
Please sign in to comment.
Something went wrong with that request. Please try again.