Browse files

add tests and docs for Instagram::Response and pagination/meta

  • Loading branch information...
1 parent 2149bdf commit 0318418653f2c071fdbab44d694d410ff8e41a7c @yaauie yaauie committed with yaauie Jul 17, 2012
Showing with 31 additions and 1 deletion.
  1. +5 −0 README.md
  2. +1 −1 spec/fixtures/user_media_feed.json
  3. +25 −0 spec/instagram/client/users_spec.rb
View
5 README.md
@@ -79,6 +79,11 @@ API Usage Examples
# Get a list of a user's most recent media
puts Instagram.user_recent_media(777)
+ # Use pagination data from a response to get the next page
+ page_1 = Instagram.user_recent_media(777)
+ page_2_max_id = page_1.pagination.next_max_id
+ page_2 = Instagram.user_recent_media(777, :max_id => page_2_max_id ) unless page_2_max_id.nil?
+
# Get the currently authenticated user's media feed
puts Instagram.user_media_feed
View
2 spec/fixtures/user_media_feed.json
@@ -1 +1 @@
-{"pagination": {"next": "http://api_privatebeta.instagr.am/api/v2/users/self/feed?access_token=f59def8.001cde77128843169627c0308237bafa&max_id=22063131"}, "meta": {"code": 200}, "data": [{"type": 1, "comments": [{"created_time": "2011-02-01T02:09:14+0000", "message": "New SG Mel #SuicideGirls ", "from": {"username": "suicidegirls", "full_name": "SuicideGirls ", "type": "user", "id": 1186880}, "id": 25785204}, {"created_time": "2011-02-01T02:12:13+0000", "message": "So pretty! ", "from": {"username": "steeviepeeto", "full_name": "Kimberly Urdahl", "type": "user", "id": 430377}, "id": 25786134}, {"created_time": "2011-02-01T02:12:34+0000", "message": "Lovely !", "from": {"username": "rmrnyc", "full_name": "RoseMarie Reyes", "type": "user", "id": 1558505}, "id": 25786246}, {"created_time": "2011-02-01T02:12:50+0000", "message": "Uau! Nice shot! Pretty woman!", "from": {"username": "wallaceskt", "full_name": "Wallace Oliveira", "type": "user", "id": 52931}, "id": 25786340}, {"created_time": "2011-02-01T02:21:23+0000", "message": "Snap", "from": {"username": "stdamz", "full_name": "Damien Thz ", "type": "user", "id": 382577}, "id": 25789175}, {"created_time": "2011-02-01T02:21:49+0000", "message": "Gorgeous", "from": {"username": "melohmel", "full_name": "Mel W ", "type": "user", "id": 883057}, "id": 25789315}], "caption": {"created_time": "2011-02-01T02:09:14+0000", "message": "New SG Mel #SuicideGirls ", "from": {"username": "suicidegirls", "full_name": "SuicideGirls ", "type": "user", "id": 1186880}, "id": 25785204}, "like_count": 46, "link": "http://api_privatebeta.instagr.am/p/BUkzt/", "user": {"username": "suicidegirls", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1186880_75sq_1295581034.jpg", "id": 1186880}, "created_time": "2011-02-01T02:08:57+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/21a3a6f598a84b40bbe0fc737f6ed7ba_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/21a3a6f598a84b40bbe0fc737f6ed7ba_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/21a3a6f598a84b40bbe0fc737f6ed7ba_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22170861, "location": null}, {"type": 1, "comments": [{"created_time": "2011-02-01T01:42:20+0000", "message": "Oysters, they are may be available", "from": {"username": "justinmarshall", "full_name": " ", "type": "user", "id": 696557}, "id": 25776639}], "caption": {"created_time": "2011-02-01T01:42:20+0000", "message": "Oysters, they are may be available", "from": {"username": "justinmarshall", "full_name": " ", "type": "user", "id": 696557}, "id": 25776639}, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUjeW/", "user": {"username": "justinmarshall", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_696557_75sq_1293145608.jpg", "id": 696557}, "created_time": "2011-02-01T01:41:35+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/0f8e832c3dc6420bb6ddf0bd09f032f6_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/0f8e832c3dc6420bb6ddf0bd09f032f6_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/0f8e832c3dc6420bb6ddf0bd09f032f6_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22165398, "location": {"latitude": 39.729934999999998, "longitude": -121.8410372, "id": 218339, "street_address": "132 W 2nd St", "name": "The Banshee"}}, {"type": 1, "comments": [{"created_time": "2011-02-01T01:02:05+0000", "message": "@RBMA Radio On The Floor", "from": {"username": "redbull", "full_name": "Red Bull ", "type": "user", "id": 476322}, "id": 25763689}, {"created_time": "2011-02-01T02:22:39+0000", "message": "Redbull Rocks", "from": {"username": "isralab", "full_name": " ", "type": "user", "id": 956389}, "id": 25789588}], "caption": {"created_time": "2011-02-01T01:02:05+0000", "message": "@RBMA Radio On The Floor", "from": {"username": "redbull", "full_name": "Red Bull ", "type": "user", "id": 476322}, "id": 25763689}, "like_count": 21, "link": "http://api_privatebeta.instagr.am/p/BUhck/", "user": {"username": "redbull", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_476322_75sq_1288938542.jpg", "id": 476322}, "created_time": "2011-02-01T01:00:54+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/9fa09a78ca76456f9fecc2f8e52df267_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/9fa09a78ca76456f9fecc2f8e52df267_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/9fa09a78ca76456f9fecc2f8e52df267_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22157092, "location": {"latitude": 29.956858, "longitude": -90.070908000000003, "id": 553720, "street_address": "1018 Bienville St", "name": "Traffic Boutique"}}, {"type": 1, "comments": [], "caption": null, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUg-1/", "user": {"username": "ellbie", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_71612_75sq_1291676961.jpg", "id": 71612}, "created_time": "2011-02-01T00:51:22+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5bdc480363cb44ef89de3256ee7fb808_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5bdc480363cb44ef89de3256ee7fb808_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5bdc480363cb44ef89de3256ee7fb808_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22155189, "location": {"latitude": 37.791523701325012, "longitude": -122.4276065826416, "id": 4158, "street_address": "2000 Sacramento St", "name": "Lafayette Square Park"}}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:49:52+0000", "message": "In all my life…", "from": {"username": "acordova", "full_name": "Alexis Cordova", "type": "user", "id": 6875}, "id": 25759549}], "caption": {"created_time": "2011-02-01T00:49:52+0000", "message": "In all my life…", "from": {"username": "acordova", "full_name": "Alexis Cordova", "type": "user", "id": 6875}, "id": 25759549}, "like_count": 1, "link": "http://api_privatebeta.instagr.am/p/BUg6V/", "user": {"username": "acordova", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_6875_75sq_1293927240.jpg", "id": 6875}, "created_time": "2011-02-01T00:49:49+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/f2905258ed5641b4b524744f01831399_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/f2905258ed5641b4b524744f01831399_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/f2905258ed5641b4b524744f01831399_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22154901, "location": {"latitude": 37.734432499999997, "longitude": -122.4339834, "id": 1181335, "street_address": "701 Chenery St", "name": "Glen Park Cleaners"}}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:37:03+0000", "message": "Ann Curry at the NBC Nightly News Desk while Brian Williams anchors from Cairo, Egypt.", "from": {"username": "nbcnews", "full_name": "NBC News", "type": "user", "id": 1269598}, "id": 25755302}, {"created_time": "2011-02-01T00:41:49+0000", "message": "If she has an iPhone, you should get her on IG She's good at twitter", "from": {"username": "tigerbeat", "full_name": "Steve Rhodes", "type": "user", "id": 11687}, "id": 25756880}, {"created_time": "2011-02-01T00:49:23+0000", "message": "I'm from England and have no idea who she is but 'Go Ann Curry!' all the same! :D", "from": {"username": "calumgray1", "full_name": "Calum Gray", "type": "user", "id": 392158}, "id": 25759396}, {"created_time": "2011-02-01T01:01:26+0000", "message": "Great shot. Love Ann Curry.", "from": {"username": "michelelewis", "full_name": "Michele Lewis", "type": "user", "id": 1579323}, "id": 25763475}, {"created_time": "2011-02-01T01:02:17+0000", "message": "Love Ann Curry!", "from": {"username": "nubianp", "full_name": "Phyllis Bradley", "type": "user", "id": 170540}, "id": 25763755}, {"created_time": "2011-02-01T01:16:20+0000", "message": "Awesome! Love her:)", "from": {"username": "cameragirl5d", "full_name": " ", "type": "user", "id": 1034490}, "id": 25768286}, {"created_time": "2011-02-01T01:45:01+0000", "message": "Thank you all for the likes and great comments.", "from": {"username": "nbcnews", "full_name": "NBC News", "type": "user", "id": 1269598}, "id": 25777448}], "caption": {"created_time": "2011-02-01T00:37:03+0000", "message": "Ann Curry at the NBC Nightly News Desk while Brian Williams anchors from Cairo, Egypt.", "from": {"username": "nbcnews", "full_name": "NBC News", "type": "user", "id": 1269598}, "id": 25755302}, "like_count": 36, "link": "http://api_privatebeta.instagr.am/p/BUgOX/", "user": {"username": "nbcnews", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1269598_75sq_1294082789.jpg", "id": 1269598}, "created_time": "2011-02-01T00:35:59+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/16369cb3d68547928b7b6ff3a4ab6819_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/16369cb3d68547928b7b6ff3a4ab6819_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/16369cb3d68547928b7b6ff3a4ab6819_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22152087, "location": null}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:25:01+0000", "message": "Venezia", "from": {"username": "nnowell", "full_name": "Nicholas Nowell", "type": "user", "id": 965618}, "id": 25751522}], "caption": {"created_time": "2011-02-01T00:25:01+0000", "message": "Venezia", "from": {"username": "nnowell", "full_name": "Nicholas Nowell", "type": "user", "id": 965618}, "id": 25751522}, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUfr3/", "user": {"username": "nnowell", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_965618_75sq_1294506500.jpg", "id": 965618}, "created_time": "2011-02-01T00:24:59+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/3817215cd1c14fe1a58bd7e2a74c5666_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/3817215cd1c14fe1a58bd7e2a74c5666_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/3817215cd1c14fe1a58bd7e2a74c5666_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22149879, "location": null}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:22:22+0000", "message": "How many GRAMMY winners can you identify?", "from": {"username": "thegrammys", "full_name": "The GRAMMYs ", "type": "user", "id": 1352742}, "id": 25750661}], "caption": {"created_time": "2011-02-01T00:22:22+0000", "message": "How many GRAMMY winners can you identify?", "from": {"username": "thegrammys", "full_name": "The GRAMMYs ", "type": "user", "id": 1352742}, "id": 25750661}, "like_count": 14, "link": "http://api_privatebeta.instagr.am/p/BUfie/", "user": {"username": "thegrammys", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1352742_75sq_1294269333.jpg", "id": 1352742}, "created_time": "2011-02-01T00:22:15+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/34fdd197506e4df8a6e7274f3384a2ba_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/34fdd197506e4df8a6e7274f3384a2ba_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/34fdd197506e4df8a6e7274f3384a2ba_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22149278, "location": null}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:19:56+0000", "message": "Ear Inn", "from": {"username": "laughingsquid", "full_name": "Scott Beale", "type": "user", "id": 78}, "id": 25749870}, {"created_time": "2011-02-01T00:43:26+0000", "message": "BAR", "from": {"username": "prettydreamy", "full_name": "becky a", "type": "user", "id": 236041}, "id": 25757430}, {"created_time": "2011-02-01T00:51:25+0000", "message": "Right around the corner from my work!!!! Next time ping me. Dig the poster in the far left corner that shows the medical effects of alcohol on the body over time ... And the diving helmet with inches of dust on it. :-)", "from": {"username": "skimen", "full_name": "Shel ", "type": "user", "id": 797880}, "id": 25760087}, {"created_time": "2011-02-01T01:05:54+0000", "message": "Lol", "from": {"username": "chuyyei", "full_name": "Chuy Hdz", "type": "user", "id": 96666}, "id": 25764870}], "caption": {"created_time": "2011-02-01T00:19:56+0000", "message": "Ear Inn", "from": {"username": "laughingsquid", "full_name": "Scott Beale", "type": "user", "id": 78}, "id": 25749870}, "like_count": 14, "link": "http://api_privatebeta.instagr.am/p/BUfab/", "user": {"username": "laughingsquid", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_78_75sq_1284668609.jpg", "id": 78}, "created_time": "2011-02-01T00:19:54+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/11f9441036904fa38c9c051f99252329_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/11f9441036904fa38c9c051f99252329_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/11f9441036904fa38c9c051f99252329_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22148763, "location": {"latitude": 40.7258, "longitude": -74.009500000000003, "id": 512606, "street_address": "326 Spring St", "name": "Ear Inn"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T22:59:01+0000", "message": "hanging with @Jyri ", "from": {"username": "om", "full_name": "om malik", "type": "user", "id": 2637}, "id": 25720871}, {"created_time": "2011-02-01T01:39:34+0000", "message": "Say hi to Jyri!", "from": {"username": "loiclemeur", "full_name": " ", "type": "user", "id": 873467}, "id": 25775778}], "caption": {"created_time": "2011-01-31T22:59:01+0000", "message": "hanging with @Jyri ", "from": {"username": "om", "full_name": "om malik", "type": "user", "id": 2637}, "id": 25720871}, "like_count": 2, "link": "http://api_privatebeta.instagr.am/p/BUbbv/", "user": {"username": "om", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_2637_75sq_1286977009.jpg", "id": 2637}, "created_time": "2011-01-31T22:58:49+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/a1de40c16676449c949fd6160d7da17f_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/a1de40c16676449c949fd6160d7da17f_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/a1de40c16676449c949fd6160d7da17f_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22132463, "location": {"latitude": 37.782400000000003, "longitude": -122.38800000000001, "id": 509, "street_address": "800 Embarcadero St", "name": "South Beach Cafe"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T22:26:33+0000", "message": "Nap time", "from": {"username": "crystaljohnstone", "full_name": " ", "type": "user", "id": 1106035}, "id": 25709784}], "caption": {"created_time": "2011-01-31T22:26:33+0000", "message": "Nap time", "from": {"username": "crystaljohnstone", "full_name": " ", "type": "user", "id": 1106035}, "id": 25709784}, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUZ40/", "user": {"username": "crystaljohnstone", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1106035_75sq_1292963069.jpg", "id": 1106035}, "created_time": "2011-01-31T22:26:27+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/8ba088bc1f384e148b321bb04c2dab34_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/8ba088bc1f384e148b321bb04c2dab34_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/8ba088bc1f384e148b321bb04c2dab34_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22126132, "location": null}, {"type": 1, "comments": [], "caption": null, "like_count": 9, "link": "http://api_privatebeta.instagr.am/p/BUVx9/", "user": {"username": "dlprager", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_143217_75sq_1287203497.jpg", "id": 143217}, "created_time": "2011-01-31T20:56:24+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/906f169dfb0c44adbc24db10c2884992_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/906f169dfb0c44adbc24db10c2884992_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/906f169dfb0c44adbc24db10c2884992_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22109309, "location": {"latitude": 21.362861200000001, "longitude": -157.9539494, "id": 235776, "street_address": "63 Cowpens Street", "name": "Battleship Missouri Memorial"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T23:41:03+0000", "message": "Bummed this was closed when I last went to Hawaii", "from": {"username": "luomen", "full_name": "Ken Chu", "type": "user", "id": 592480}, "id": 25736141}], "caption": null, "like_count": 21, "link": "http://api_privatebeta.instagr.am/p/BUVmG/", "user": {"username": "dlprager", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_143217_75sq_1287203497.jpg", "id": 143217}, "created_time": "2011-01-31T20:51:48+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/1e6beabcb1134de2879b3eed80722bba_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/1e6beabcb1134de2879b3eed80722bba_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/1e6beabcb1134de2879b3eed80722bba_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22108550, "location": {"latitude": 21.362861200000001, "longitude": -157.9539494, "id": 235776, "street_address": "63 Cowpens Street", "name": "Battleship Missouri Memorial"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T20:13:50+0000", "message": "After a week on the east coast I need to have Mexican food again", "from": {"username": "nolan", "full_name": "Nolan Brown", "type": "user", "id": 7358}, "id": 25670769}], "caption": {"created_time": "2011-01-31T20:13:50+0000", "message": "After a week on the east coast I need to have Mexican food again", "from": {"username": "nolan", "full_name": "Nolan Brown", "type": "user", "id": 7358}, "id": 25670769}, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUT91/", "user": {"username": "nolan", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_7358_75sq_1292167370.jpg", "id": 7358}, "created_time": "2011-01-31T20:13:04+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/46ff6c7e241b49ceba0f3b33e230244b_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/46ff6c7e241b49ceba0f3b33e230244b_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/46ff6c7e241b49ceba0f3b33e230244b_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22101877, "location": {"latitude": 37.777305400000003, "longitude": -122.39522030000001, "id": 372, "street_address": "683 4th St", "name": "the Iron Cactus"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T19:47:08+0000", "message": "@mikeyk pulls a shot on our Expobar / cc @stephen_vick (yes, I know we need demitasses)", "from": {"username": "josh", "full_name": "Josh Riedel", "type": "user", "id": 33}, "id": 25663923}, {"created_time": "2011-01-31T19:50:30+0000", "message": "That thing looks super complicated!", "from": {"username": "mtleese13", "full_name": "Mercedes ", "type": "user", "id": 1538989}, "id": 25664788}, {"created_time": "2011-01-31T20:09:00+0000", "message": "Wow!!! I want one in my kitchen and office!", "from": {"username": "swade77", "full_name": " ", "type": "user", "id": 749109}, "id": 25669509}, {"created_time": "2011-01-31T20:56:35+0000", "message": "Yes!", "from": {"username": "aron", "full_name": "Aron Hegyi", "type": "user", "id": 58}, "id": 25682766}], "caption": {"created_time": "2011-01-31T19:47:08+0000", "message": "@mikeyk pulls a shot on our Expobar / cc @stephen_vick (yes, I know we need demitasses)", "from": {"username": "josh", "full_name": "Josh Riedel", "type": "user", "id": 33}, "id": 25663923}, "like_count": 50, "link": "http://api_privatebeta.instagr.am/p/BUS3X/", "user": {"username": "josh", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_33_75sq_1291935187.jpg", "id": 33}, "created_time": "2011-01-31T19:45:55+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/32d364527512437a8a17ba308a7c83bb_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/32d364527512437a8a17ba308a7c83bb_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/32d364527512437a8a17ba308a7c83bb_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22097367, "location": {"latitude": 37.780885099999999, "longitude": -122.3948632, "id": 514276, "street_address": "164 south park", "name": "Instagram"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T19:44:37+0000", "message": "Zoey ", "from": {"username": "svanhout", "full_name": " ", "type": "user", "id": 1578415}, "id": 25663249}, {"created_time": "2011-02-01T00:56:09+0000", "message": "Great pic", "from": {"username": "justinmarshall", "full_name": " ", "type": "user", "id": 696557}, "id": 25761726}], "caption": {"created_time": "2011-01-31T19:44:37+0000", "message": "Zoey ", "from": {"username": "svanhout", "full_name": " ", "type": "user", "id": 1578415}, "id": 25663249}, "like_count": 1, "link": "http://api_privatebeta.instagr.am/p/BUSrK/", "user": {"username": "svanhout", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1578415_75sq_1295492261.jpg", "id": 1578415}, "created_time": "2011-01-31T19:41:24+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/6e95b4d4d4534978995f72139d3773ab_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/6e95b4d4d4534978995f72139d3773ab_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/6e95b4d4d4534978995f72139d3773ab_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22096586, "location": null}, {"type": 1, "comments": [{"created_time": "2011-01-31T18:02:57+0000", "message": "Officially signed up! Now to convince @chojennyik to run it with me (her 2nd time)", "from": {"username": "stefkrieger", "full_name": "Stefanie Krieger", "type": "user", "id": 14}, "id": 25636189}, {"created_time": "2011-01-31T18:03:50+0000", "message": "Fez muito bem!!! Parabéns pela decisão!", "from": {"username": "marcia", "full_name": "Marcia Krieger", "type": "user", "id": 69}, "id": 25636423}, {"created_time": "2011-01-31T18:03:51+0000", "message": "Umm I'll cheer and take pics!", "from": {"username": "chojennyik", "full_name": "Jenny Cho", "type": "user", "id": 9468}, "id": 25636426}, {"created_time": "2011-01-31T18:04:23+0000", "message": "Cedar point after!!", "from": {"username": "chojennyik", "full_name": "Jenny Cho", "type": "user", "id": 9468}, "id": 25636571}, {"created_time": "2011-01-31T18:07:34+0000", "message": "Yess, roller coasters won't phase me after this haha @chojennyik", "from": {"username": "stefkrieger", "full_name": "Stefanie Krieger", "type": "user", "id": 14}, "id": 25637418}, {"created_time": "2011-01-31T18:25:55+0000", "message": "Love :D", "from": {"username": "mookio", "full_name": "Mookio Chen", "type": "user", "id": 4761}, "id": 25642341}], "caption": {"created_time": "2011-01-31T18:02:57+0000", "message": "Officially signed up! Now to convince @chojennyik to run it with me (her 2nd time)", "from": {"username": "stefkrieger", "full_name": "Stefanie Krieger", "type": "user", "id": 14}, "id": 25636189}, "like_count": 4, "link": "http://api_privatebeta.instagr.am/p/BUOmo/", "user": {"username": "stefkrieger", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_14_75sq_1290717659.jpg", "id": 14}, "created_time": "2011-01-31T18:01:53+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/bc4fe9ce64d343acb1981c9292436fbb_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/bc4fe9ce64d343acb1981c9292436fbb_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/bc4fe9ce64d343acb1981c9292436fbb_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22079912, "location": null}, {"type": 1, "comments": [{"created_time": "2011-01-31T17:27:54+0000", "message": "@gigi22 @deidre817 @emikop the race is on", "from": {"username": "erinishuman", "full_name": "Erin Craig", "type": "user", "id": 3166}, "id": 25626431}, {"created_time": "2011-01-31T17:28:54+0000", "message": "@deidre817 :: red slug bug thanks erin!!!", "from": {"username": "emikop", "full_name": "Emiko  ", "type": "user", "id": 429483}, "id": 25626753}, {"created_time": "2011-01-31T17:33:25+0000", "message": "this beetle is great", "from": {"username": "protest", "full_name": "Slava Barinov", "type": "user", "id": 1279308}, "id": 25628148}, {"created_time": "2011-01-31T17:48:38+0000", "message": "I don't think I've seen an image as ripe for \"Pop-rocket\" as this one.", "from": {"username": "danapalooza", "full_name": "Daniel Markham", "type": "user", "id": 5334}, "id": 25632340}, {"created_time": "2011-01-31T17:49:37+0000", "message": "Love these bugs", "from": {"username": "noushinnouri", "full_name": "NoushinPhotography.com ", "type": "user", "id": 1377850}, "id": 25632627}, {"created_time": "2011-01-31T18:15:58+0000", "message": "Punch!!!!! ", "from": {"username": "love2snap", "full_name": "Jessica Anne", "type": "user", "id": 289485}, "id": 25639686}, {"created_time": "2011-01-31T18:26:56+0000", "message": "Very nice", "from": {"username": "mducatti", "full_name": "Mauro Ducatti", "type": "user", "id": 107949}, "id": 25642631}, {"created_time": "2011-01-31T18:37:00+0000", "message": "Ahhh I had a blue one", "from": {"username": "mgoblue", "full_name": "Chris P", "type": "user", "id": 47}, "id": 25645292}, {"created_time": "2011-01-31T19:13:07+0000", "message": "", "from": {"username": "anniebluesky", "full_name": "iphoneography  ", "type": "user", "id": 108834}, "id": 25655233}, {"created_time": "2011-01-31T21:07:09+0000", "message": "Like time travel.", "from": {"username": "ktchn", "full_name": "Katy Chan", "type": "user", "id": 1016630}, "id": 25685851}, {"created_time": "2011-01-31T23:12:33+0000", "message": "looks like my brother in-laws bug!", "from": {"username": "hboo", "full_name": "drewgar'sboo. ", "type": "user", "id": 377036}, "id": 25725543}, {"created_time": "2011-02-01T00:22:32+0000", "message": "@emikop I can't slug bug  @gigi22 she's not here anymore ", "from": {"username": "deidre817", "full_name": "Deidre Carvey", "type": "user", "id": 463663}, "id": 25750702}, {"created_time": "2011-02-01T00:23:05+0000", "message": "That's a sweet bug :)", "from": {"username": "deidre817", "full_name": "Deidre Carvey", "type": "user", "id": 463663}, "id": 25750881}, {"created_time": "2011-02-01T00:38:42+0000", "message": "Yeaaa", "from": {"username": "mrwhite", "full_name": "GoldDust  ", "type": "user", "id": 629279}, "id": 25755864}], "caption": null, "like_count": 153, "link": "http://api_privatebeta.instagr.am/p/BUNFi/", "user": {"username": "kevin", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_3_75sq_1295574122.jpg", "id": 3}, "created_time": "2011-01-31T17:26:41+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/25292db7581e47d3a7b1af975a039846_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/25292db7581e47d3a7b1af975a039846_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/25292db7581e47d3a7b1af975a039846_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22073698, "location": {"latitude": 37.78246395814844, "longitude": -122.4078226089478, "id": 164, "street_address": "66 Mint Plaza", "name": "Blue Bottle Café"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T17:06:29+0000", "message": "Run home jack", "from": {"username": "gabe_hawk", "full_name": "Gabe Velasquez", "type": "user", "id": 820738}, "id": 25619612}, {"created_time": "2011-01-31T17:57:15+0000", "message": "Headed home?", "from": {"username": "idluvto", "full_name": " ", "type": "user", "id": 1718709}, "id": 25634672}, {"created_time": "2011-01-31T18:19:49+0000", "message": "@idluvto .. Should be home by 3", "from": {"username": "gabe_hawk", "full_name": "Gabe Velasquez", "type": "user", "id": 820738}, "id": 25640716}], "caption": {"created_time": "2011-01-31T17:06:29+0000", "message": "Run home jack", "from": {"username": "gabe_hawk", "full_name": "Gabe Velasquez", "type": "user", "id": 820738}, "id": 25619612}, "like_count": 3, "link": "http://api_privatebeta.instagr.am/p/BUMLZ/", "user": {"username": "gabe_hawk", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_820738_75sq_1292035867.jpg", "id": 820738}, "created_time": "2011-01-31T17:06:26+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4c704f8a5a6c4e43b05d484884048623_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4c704f8a5a6c4e43b05d484884048623_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4c704f8a5a6c4e43b05d484884048623_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22069977, "location": {"latitude": 33.930381699999998, "longitude": -118.3685455, "id": 343419, "street_address": "Los Angeles, CA 90045", "name": "LAX Tarmac"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T16:53:03+0000", "message": "Good morning! ", "from": {"username": "dlprager", "full_name": "David Prager", "type": "user", "id": 143217}, "id": 25615335}, {"created_time": "2011-01-31T23:37:20+0000", "message": "Planning to be in that exact place in three weeks.", "from": {"username": "lizg", "full_name": "Liz Gannes", "type": "user", "id": 112}, "id": 25734720}], "caption": {"created_time": "2011-01-31T16:53:03+0000", "message": "Good morning! ", "from": {"username": "dlprager", "full_name": "David Prager", "type": "user", "id": 143217}, "id": 25615335}, "like_count": 14, "link": "http://api_privatebeta.instagr.am/p/BULiy/", "user": {"username": "dlprager", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_143217_75sq_1287203497.jpg", "id": 143217}, "created_time": "2011-01-31T16:52:25+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4aba3cd428194f82a7befbf06e3de212_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4aba3cd428194f82a7befbf06e3de212_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4aba3cd428194f82a7befbf06e3de212_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22067378, "location": {"latitude": 21.337821999999999, "longitude": -157.69990300000001, "id": 260110, "street_address": "", "name": "Waimanalo Beach"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T16:32:22+0000", "message": "A little slice of heaven (Orval cheese)", "from": {"username": "doug", "full_name": "Doug Systrom", "type": "user", "id": 17}, "id": 25608572}], "caption": {"created_time": "2011-01-31T16:32:22+0000", "message": "A little slice of heaven (Orval cheese)", "from": {"username": "doug", "full_name": "Doug Systrom", "type": "user", "id": 17}, "id": 25608572}, "like_count": 13, "link": "http://api_privatebeta.instagr.am/p/BUKgb/", "user": {"username": "doug", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_17_75sq_1292890348.jpg", "id": 17}, "created_time": "2011-01-31T16:31:34+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5e4d7b1fca294f569bf0137da9ca2966_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5e4d7b1fca294f569bf0137da9ca2966_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5e4d7b1fca294f569bf0137da9ca2966_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22063131, "location": null}]}
+{"pagination": {"next_url": "http://api.instagram.com/v1/users/self/feed?access_token=f59def8.001cde77128843169627c0308237bafa&max_id=22063131","next_max_id":"22063131"}, "meta": {"code": 200}, "data": [{"type": 1, "comments": [{"created_time": "2011-02-01T02:09:14+0000", "message": "New SG Mel #SuicideGirls ", "from": {"username": "suicidegirls", "full_name": "SuicideGirls ", "type": "user", "id": 1186880}, "id": 25785204}, {"created_time": "2011-02-01T02:12:13+0000", "message": "So pretty! ", "from": {"username": "steeviepeeto", "full_name": "Kimberly Urdahl", "type": "user", "id": 430377}, "id": 25786134}, {"created_time": "2011-02-01T02:12:34+0000", "message": "Lovely !", "from": {"username": "rmrnyc", "full_name": "RoseMarie Reyes", "type": "user", "id": 1558505}, "id": 25786246}, {"created_time": "2011-02-01T02:12:50+0000", "message": "Uau! Nice shot! Pretty woman!", "from": {"username": "wallaceskt", "full_name": "Wallace Oliveira", "type": "user", "id": 52931}, "id": 25786340}, {"created_time": "2011-02-01T02:21:23+0000", "message": "Snap", "from": {"username": "stdamz", "full_name": "Damien Thz ", "type": "user", "id": 382577}, "id": 25789175}, {"created_time": "2011-02-01T02:21:49+0000", "message": "Gorgeous", "from": {"username": "melohmel", "full_name": "Mel W ", "type": "user", "id": 883057}, "id": 25789315}], "caption": {"created_time": "2011-02-01T02:09:14+0000", "message": "New SG Mel #SuicideGirls ", "from": {"username": "suicidegirls", "full_name": "SuicideGirls ", "type": "user", "id": 1186880}, "id": 25785204}, "like_count": 46, "link": "http://api_privatebeta.instagr.am/p/BUkzt/", "user": {"username": "suicidegirls", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1186880_75sq_1295581034.jpg", "id": 1186880}, "created_time": "2011-02-01T02:08:57+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/21a3a6f598a84b40bbe0fc737f6ed7ba_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/21a3a6f598a84b40bbe0fc737f6ed7ba_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/21a3a6f598a84b40bbe0fc737f6ed7ba_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22170861, "location": null}, {"type": 1, "comments": [{"created_time": "2011-02-01T01:42:20+0000", "message": "Oysters, they are may be available", "from": {"username": "justinmarshall", "full_name": " ", "type": "user", "id": 696557}, "id": 25776639}], "caption": {"created_time": "2011-02-01T01:42:20+0000", "message": "Oysters, they are may be available", "from": {"username": "justinmarshall", "full_name": " ", "type": "user", "id": 696557}, "id": 25776639}, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUjeW/", "user": {"username": "justinmarshall", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_696557_75sq_1293145608.jpg", "id": 696557}, "created_time": "2011-02-01T01:41:35+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/0f8e832c3dc6420bb6ddf0bd09f032f6_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/0f8e832c3dc6420bb6ddf0bd09f032f6_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/0f8e832c3dc6420bb6ddf0bd09f032f6_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22165398, "location": {"latitude": 39.729934999999998, "longitude": -121.8410372, "id": 218339, "street_address": "132 W 2nd St", "name": "The Banshee"}}, {"type": 1, "comments": [{"created_time": "2011-02-01T01:02:05+0000", "message": "@RBMA Radio On The Floor", "from": {"username": "redbull", "full_name": "Red Bull ", "type": "user", "id": 476322}, "id": 25763689}, {"created_time": "2011-02-01T02:22:39+0000", "message": "Redbull Rocks", "from": {"username": "isralab", "full_name": " ", "type": "user", "id": 956389}, "id": 25789588}], "caption": {"created_time": "2011-02-01T01:02:05+0000", "message": "@RBMA Radio On The Floor", "from": {"username": "redbull", "full_name": "Red Bull ", "type": "user", "id": 476322}, "id": 25763689}, "like_count": 21, "link": "http://api_privatebeta.instagr.am/p/BUhck/", "user": {"username": "redbull", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_476322_75sq_1288938542.jpg", "id": 476322}, "created_time": "2011-02-01T01:00:54+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/9fa09a78ca76456f9fecc2f8e52df267_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/9fa09a78ca76456f9fecc2f8e52df267_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/9fa09a78ca76456f9fecc2f8e52df267_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22157092, "location": {"latitude": 29.956858, "longitude": -90.070908000000003, "id": 553720, "street_address": "1018 Bienville St", "name": "Traffic Boutique"}}, {"type": 1, "comments": [], "caption": null, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUg-1/", "user": {"username": "ellbie", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_71612_75sq_1291676961.jpg", "id": 71612}, "created_time": "2011-02-01T00:51:22+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5bdc480363cb44ef89de3256ee7fb808_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5bdc480363cb44ef89de3256ee7fb808_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5bdc480363cb44ef89de3256ee7fb808_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22155189, "location": {"latitude": 37.791523701325012, "longitude": -122.4276065826416, "id": 4158, "street_address": "2000 Sacramento St", "name": "Lafayette Square Park"}}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:49:52+0000", "message": "In all my life…", "from": {"username": "acordova", "full_name": "Alexis Cordova", "type": "user", "id": 6875}, "id": 25759549}], "caption": {"created_time": "2011-02-01T00:49:52+0000", "message": "In all my life…", "from": {"username": "acordova", "full_name": "Alexis Cordova", "type": "user", "id": 6875}, "id": 25759549}, "like_count": 1, "link": "http://api_privatebeta.instagr.am/p/BUg6V/", "user": {"username": "acordova", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_6875_75sq_1293927240.jpg", "id": 6875}, "created_time": "2011-02-01T00:49:49+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/f2905258ed5641b4b524744f01831399_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/f2905258ed5641b4b524744f01831399_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/f2905258ed5641b4b524744f01831399_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22154901, "location": {"latitude": 37.734432499999997, "longitude": -122.4339834, "id": 1181335, "street_address": "701 Chenery St", "name": "Glen Park Cleaners"}}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:37:03+0000", "message": "Ann Curry at the NBC Nightly News Desk while Brian Williams anchors from Cairo, Egypt.", "from": {"username": "nbcnews", "full_name": "NBC News", "type": "user", "id": 1269598}, "id": 25755302}, {"created_time": "2011-02-01T00:41:49+0000", "message": "If she has an iPhone, you should get her on IG She's good at twitter", "from": {"username": "tigerbeat", "full_name": "Steve Rhodes", "type": "user", "id": 11687}, "id": 25756880}, {"created_time": "2011-02-01T00:49:23+0000", "message": "I'm from England and have no idea who she is but 'Go Ann Curry!' all the same! :D", "from": {"username": "calumgray1", "full_name": "Calum Gray", "type": "user", "id": 392158}, "id": 25759396}, {"created_time": "2011-02-01T01:01:26+0000", "message": "Great shot. Love Ann Curry.", "from": {"username": "michelelewis", "full_name": "Michele Lewis", "type": "user", "id": 1579323}, "id": 25763475}, {"created_time": "2011-02-01T01:02:17+0000", "message": "Love Ann Curry!", "from": {"username": "nubianp", "full_name": "Phyllis Bradley", "type": "user", "id": 170540}, "id": 25763755}, {"created_time": "2011-02-01T01:16:20+0000", "message": "Awesome! Love her:)", "from": {"username": "cameragirl5d", "full_name": " ", "type": "user", "id": 1034490}, "id": 25768286}, {"created_time": "2011-02-01T01:45:01+0000", "message": "Thank you all for the likes and great comments.", "from": {"username": "nbcnews", "full_name": "NBC News", "type": "user", "id": 1269598}, "id": 25777448}], "caption": {"created_time": "2011-02-01T00:37:03+0000", "message": "Ann Curry at the NBC Nightly News Desk while Brian Williams anchors from Cairo, Egypt.", "from": {"username": "nbcnews", "full_name": "NBC News", "type": "user", "id": 1269598}, "id": 25755302}, "like_count": 36, "link": "http://api_privatebeta.instagr.am/p/BUgOX/", "user": {"username": "nbcnews", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1269598_75sq_1294082789.jpg", "id": 1269598}, "created_time": "2011-02-01T00:35:59+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/16369cb3d68547928b7b6ff3a4ab6819_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/16369cb3d68547928b7b6ff3a4ab6819_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/16369cb3d68547928b7b6ff3a4ab6819_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22152087, "location": null}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:25:01+0000", "message": "Venezia", "from": {"username": "nnowell", "full_name": "Nicholas Nowell", "type": "user", "id": 965618}, "id": 25751522}], "caption": {"created_time": "2011-02-01T00:25:01+0000", "message": "Venezia", "from": {"username": "nnowell", "full_name": "Nicholas Nowell", "type": "user", "id": 965618}, "id": 25751522}, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUfr3/", "user": {"username": "nnowell", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_965618_75sq_1294506500.jpg", "id": 965618}, "created_time": "2011-02-01T00:24:59+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/3817215cd1c14fe1a58bd7e2a74c5666_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/3817215cd1c14fe1a58bd7e2a74c5666_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/3817215cd1c14fe1a58bd7e2a74c5666_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22149879, "location": null}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:22:22+0000", "message": "How many GRAMMY winners can you identify?", "from": {"username": "thegrammys", "full_name": "The GRAMMYs ", "type": "user", "id": 1352742}, "id": 25750661}], "caption": {"created_time": "2011-02-01T00:22:22+0000", "message": "How many GRAMMY winners can you identify?", "from": {"username": "thegrammys", "full_name": "The GRAMMYs ", "type": "user", "id": 1352742}, "id": 25750661}, "like_count": 14, "link": "http://api_privatebeta.instagr.am/p/BUfie/", "user": {"username": "thegrammys", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1352742_75sq_1294269333.jpg", "id": 1352742}, "created_time": "2011-02-01T00:22:15+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/34fdd197506e4df8a6e7274f3384a2ba_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/34fdd197506e4df8a6e7274f3384a2ba_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/34fdd197506e4df8a6e7274f3384a2ba_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22149278, "location": null}, {"type": 1, "comments": [{"created_time": "2011-02-01T00:19:56+0000", "message": "Ear Inn", "from": {"username": "laughingsquid", "full_name": "Scott Beale", "type": "user", "id": 78}, "id": 25749870}, {"created_time": "2011-02-01T00:43:26+0000", "message": "BAR", "from": {"username": "prettydreamy", "full_name": "becky a", "type": "user", "id": 236041}, "id": 25757430}, {"created_time": "2011-02-01T00:51:25+0000", "message": "Right around the corner from my work!!!! Next time ping me. Dig the poster in the far left corner that shows the medical effects of alcohol on the body over time ... And the diving helmet with inches of dust on it. :-)", "from": {"username": "skimen", "full_name": "Shel ", "type": "user", "id": 797880}, "id": 25760087}, {"created_time": "2011-02-01T01:05:54+0000", "message": "Lol", "from": {"username": "chuyyei", "full_name": "Chuy Hdz", "type": "user", "id": 96666}, "id": 25764870}], "caption": {"created_time": "2011-02-01T00:19:56+0000", "message": "Ear Inn", "from": {"username": "laughingsquid", "full_name": "Scott Beale", "type": "user", "id": 78}, "id": 25749870}, "like_count": 14, "link": "http://api_privatebeta.instagr.am/p/BUfab/", "user": {"username": "laughingsquid", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_78_75sq_1284668609.jpg", "id": 78}, "created_time": "2011-02-01T00:19:54+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/11f9441036904fa38c9c051f99252329_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/11f9441036904fa38c9c051f99252329_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/11f9441036904fa38c9c051f99252329_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22148763, "location": {"latitude": 40.7258, "longitude": -74.009500000000003, "id": 512606, "street_address": "326 Spring St", "name": "Ear Inn"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T22:59:01+0000", "message": "hanging with @Jyri ", "from": {"username": "om", "full_name": "om malik", "type": "user", "id": 2637}, "id": 25720871}, {"created_time": "2011-02-01T01:39:34+0000", "message": "Say hi to Jyri!", "from": {"username": "loiclemeur", "full_name": " ", "type": "user", "id": 873467}, "id": 25775778}], "caption": {"created_time": "2011-01-31T22:59:01+0000", "message": "hanging with @Jyri ", "from": {"username": "om", "full_name": "om malik", "type": "user", "id": 2637}, "id": 25720871}, "like_count": 2, "link": "http://api_privatebeta.instagr.am/p/BUbbv/", "user": {"username": "om", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_2637_75sq_1286977009.jpg", "id": 2637}, "created_time": "2011-01-31T22:58:49+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/a1de40c16676449c949fd6160d7da17f_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/a1de40c16676449c949fd6160d7da17f_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/a1de40c16676449c949fd6160d7da17f_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22132463, "location": {"latitude": 37.782400000000003, "longitude": -122.38800000000001, "id": 509, "street_address": "800 Embarcadero St", "name": "South Beach Cafe"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T22:26:33+0000", "message": "Nap time", "from": {"username": "crystaljohnstone", "full_name": " ", "type": "user", "id": 1106035}, "id": 25709784}], "caption": {"created_time": "2011-01-31T22:26:33+0000", "message": "Nap time", "from": {"username": "crystaljohnstone", "full_name": " ", "type": "user", "id": 1106035}, "id": 25709784}, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUZ40/", "user": {"username": "crystaljohnstone", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1106035_75sq_1292963069.jpg", "id": 1106035}, "created_time": "2011-01-31T22:26:27+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/8ba088bc1f384e148b321bb04c2dab34_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/8ba088bc1f384e148b321bb04c2dab34_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/8ba088bc1f384e148b321bb04c2dab34_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22126132, "location": null}, {"type": 1, "comments": [], "caption": null, "like_count": 9, "link": "http://api_privatebeta.instagr.am/p/BUVx9/", "user": {"username": "dlprager", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_143217_75sq_1287203497.jpg", "id": 143217}, "created_time": "2011-01-31T20:56:24+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/906f169dfb0c44adbc24db10c2884992_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/906f169dfb0c44adbc24db10c2884992_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/906f169dfb0c44adbc24db10c2884992_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22109309, "location": {"latitude": 21.362861200000001, "longitude": -157.9539494, "id": 235776, "street_address": "63 Cowpens Street", "name": "Battleship Missouri Memorial"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T23:41:03+0000", "message": "Bummed this was closed when I last went to Hawaii", "from": {"username": "luomen", "full_name": "Ken Chu", "type": "user", "id": 592480}, "id": 25736141}], "caption": null, "like_count": 21, "link": "http://api_privatebeta.instagr.am/p/BUVmG/", "user": {"username": "dlprager", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_143217_75sq_1287203497.jpg", "id": 143217}, "created_time": "2011-01-31T20:51:48+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/1e6beabcb1134de2879b3eed80722bba_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/1e6beabcb1134de2879b3eed80722bba_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/1e6beabcb1134de2879b3eed80722bba_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22108550, "location": {"latitude": 21.362861200000001, "longitude": -157.9539494, "id": 235776, "street_address": "63 Cowpens Street", "name": "Battleship Missouri Memorial"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T20:13:50+0000", "message": "After a week on the east coast I need to have Mexican food again", "from": {"username": "nolan", "full_name": "Nolan Brown", "type": "user", "id": 7358}, "id": 25670769}], "caption": {"created_time": "2011-01-31T20:13:50+0000", "message": "After a week on the east coast I need to have Mexican food again", "from": {"username": "nolan", "full_name": "Nolan Brown", "type": "user", "id": 7358}, "id": 25670769}, "like_count": 0, "link": "http://api_privatebeta.instagr.am/p/BUT91/", "user": {"username": "nolan", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_7358_75sq_1292167370.jpg", "id": 7358}, "created_time": "2011-01-31T20:13:04+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/46ff6c7e241b49ceba0f3b33e230244b_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/46ff6c7e241b49ceba0f3b33e230244b_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/46ff6c7e241b49ceba0f3b33e230244b_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22101877, "location": {"latitude": 37.777305400000003, "longitude": -122.39522030000001, "id": 372, "street_address": "683 4th St", "name": "the Iron Cactus"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T19:47:08+0000", "message": "@mikeyk pulls a shot on our Expobar / cc @stephen_vick (yes, I know we need demitasses)", "from": {"username": "josh", "full_name": "Josh Riedel", "type": "user", "id": 33}, "id": 25663923}, {"created_time": "2011-01-31T19:50:30+0000", "message": "That thing looks super complicated!", "from": {"username": "mtleese13", "full_name": "Mercedes ", "type": "user", "id": 1538989}, "id": 25664788}, {"created_time": "2011-01-31T20:09:00+0000", "message": "Wow!!! I want one in my kitchen and office!", "from": {"username": "swade77", "full_name": " ", "type": "user", "id": 749109}, "id": 25669509}, {"created_time": "2011-01-31T20:56:35+0000", "message": "Yes!", "from": {"username": "aron", "full_name": "Aron Hegyi", "type": "user", "id": 58}, "id": 25682766}], "caption": {"created_time": "2011-01-31T19:47:08+0000", "message": "@mikeyk pulls a shot on our Expobar / cc @stephen_vick (yes, I know we need demitasses)", "from": {"username": "josh", "full_name": "Josh Riedel", "type": "user", "id": 33}, "id": 25663923}, "like_count": 50, "link": "http://api_privatebeta.instagr.am/p/BUS3X/", "user": {"username": "josh", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_33_75sq_1291935187.jpg", "id": 33}, "created_time": "2011-01-31T19:45:55+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/32d364527512437a8a17ba308a7c83bb_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/32d364527512437a8a17ba308a7c83bb_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/32d364527512437a8a17ba308a7c83bb_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22097367, "location": {"latitude": 37.780885099999999, "longitude": -122.3948632, "id": 514276, "street_address": "164 south park", "name": "Instagram"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T19:44:37+0000", "message": "Zoey ", "from": {"username": "svanhout", "full_name": " ", "type": "user", "id": 1578415}, "id": 25663249}, {"created_time": "2011-02-01T00:56:09+0000", "message": "Great pic", "from": {"username": "justinmarshall", "full_name": " ", "type": "user", "id": 696557}, "id": 25761726}], "caption": {"created_time": "2011-01-31T19:44:37+0000", "message": "Zoey ", "from": {"username": "svanhout", "full_name": " ", "type": "user", "id": 1578415}, "id": 25663249}, "like_count": 1, "link": "http://api_privatebeta.instagr.am/p/BUSrK/", "user": {"username": "svanhout", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1578415_75sq_1295492261.jpg", "id": 1578415}, "created_time": "2011-01-31T19:41:24+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/6e95b4d4d4534978995f72139d3773ab_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/6e95b4d4d4534978995f72139d3773ab_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/6e95b4d4d4534978995f72139d3773ab_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22096586, "location": null}, {"type": 1, "comments": [{"created_time": "2011-01-31T18:02:57+0000", "message": "Officially signed up! Now to convince @chojennyik to run it with me (her 2nd time)", "from": {"username": "stefkrieger", "full_name": "Stefanie Krieger", "type": "user", "id": 14}, "id": 25636189}, {"created_time": "2011-01-31T18:03:50+0000", "message": "Fez muito bem!!! Parabéns pela decisão!", "from": {"username": "marcia", "full_name": "Marcia Krieger", "type": "user", "id": 69}, "id": 25636423}, {"created_time": "2011-01-31T18:03:51+0000", "message": "Umm I'll cheer and take pics!", "from": {"username": "chojennyik", "full_name": "Jenny Cho", "type": "user", "id": 9468}, "id": 25636426}, {"created_time": "2011-01-31T18:04:23+0000", "message": "Cedar point after!!", "from": {"username": "chojennyik", "full_name": "Jenny Cho", "type": "user", "id": 9468}, "id": 25636571}, {"created_time": "2011-01-31T18:07:34+0000", "message": "Yess, roller coasters won't phase me after this haha @chojennyik", "from": {"username": "stefkrieger", "full_name": "Stefanie Krieger", "type": "user", "id": 14}, "id": 25637418}, {"created_time": "2011-01-31T18:25:55+0000", "message": "Love :D", "from": {"username": "mookio", "full_name": "Mookio Chen", "type": "user", "id": 4761}, "id": 25642341}], "caption": {"created_time": "2011-01-31T18:02:57+0000", "message": "Officially signed up! Now to convince @chojennyik to run it with me (her 2nd time)", "from": {"username": "stefkrieger", "full_name": "Stefanie Krieger", "type": "user", "id": 14}, "id": 25636189}, "like_count": 4, "link": "http://api_privatebeta.instagr.am/p/BUOmo/", "user": {"username": "stefkrieger", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_14_75sq_1290717659.jpg", "id": 14}, "created_time": "2011-01-31T18:01:53+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/bc4fe9ce64d343acb1981c9292436fbb_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/bc4fe9ce64d343acb1981c9292436fbb_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/bc4fe9ce64d343acb1981c9292436fbb_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22079912, "location": null}, {"type": 1, "comments": [{"created_time": "2011-01-31T17:27:54+0000", "message": "@gigi22 @deidre817 @emikop the race is on", "from": {"username": "erinishuman", "full_name": "Erin Craig", "type": "user", "id": 3166}, "id": 25626431}, {"created_time": "2011-01-31T17:28:54+0000", "message": "@deidre817 :: red slug bug thanks erin!!!", "from": {"username": "emikop", "full_name": "Emiko  ", "type": "user", "id": 429483}, "id": 25626753}, {"created_time": "2011-01-31T17:33:25+0000", "message": "this beetle is great", "from": {"username": "protest", "full_name": "Slava Barinov", "type": "user", "id": 1279308}, "id": 25628148}, {"created_time": "2011-01-31T17:48:38+0000", "message": "I don't think I've seen an image as ripe for \"Pop-rocket\" as this one.", "from": {"username": "danapalooza", "full_name": "Daniel Markham", "type": "user", "id": 5334}, "id": 25632340}, {"created_time": "2011-01-31T17:49:37+0000", "message": "Love these bugs", "from": {"username": "noushinnouri", "full_name": "NoushinPhotography.com ", "type": "user", "id": 1377850}, "id": 25632627}, {"created_time": "2011-01-31T18:15:58+0000", "message": "Punch!!!!! ", "from": {"username": "love2snap", "full_name": "Jessica Anne", "type": "user", "id": 289485}, "id": 25639686}, {"created_time": "2011-01-31T18:26:56+0000", "message": "Very nice", "from": {"username": "mducatti", "full_name": "Mauro Ducatti", "type": "user", "id": 107949}, "id": 25642631}, {"created_time": "2011-01-31T18:37:00+0000", "message": "Ahhh I had a blue one", "from": {"username": "mgoblue", "full_name": "Chris P", "type": "user", "id": 47}, "id": 25645292}, {"created_time": "2011-01-31T19:13:07+0000", "message": "", "from": {"username": "anniebluesky", "full_name": "iphoneography  ", "type": "user", "id": 108834}, "id": 25655233}, {"created_time": "2011-01-31T21:07:09+0000", "message": "Like time travel.", "from": {"username": "ktchn", "full_name": "Katy Chan", "type": "user", "id": 1016630}, "id": 25685851}, {"created_time": "2011-01-31T23:12:33+0000", "message": "looks like my brother in-laws bug!", "from": {"username": "hboo", "full_name": "drewgar'sboo. ", "type": "user", "id": 377036}, "id": 25725543}, {"created_time": "2011-02-01T00:22:32+0000", "message": "@emikop I can't slug bug  @gigi22 she's not here anymore ", "from": {"username": "deidre817", "full_name": "Deidre Carvey", "type": "user", "id": 463663}, "id": 25750702}, {"created_time": "2011-02-01T00:23:05+0000", "message": "That's a sweet bug :)", "from": {"username": "deidre817", "full_name": "Deidre Carvey", "type": "user", "id": 463663}, "id": 25750881}, {"created_time": "2011-02-01T00:38:42+0000", "message": "Yeaaa", "from": {"username": "mrwhite", "full_name": "GoldDust  ", "type": "user", "id": 629279}, "id": 25755864}], "caption": null, "like_count": 153, "link": "http://api_privatebeta.instagr.am/p/BUNFi/", "user": {"username": "kevin", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_3_75sq_1295574122.jpg", "id": 3}, "created_time": "2011-01-31T17:26:41+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/25292db7581e47d3a7b1af975a039846_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/25292db7581e47d3a7b1af975a039846_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/25292db7581e47d3a7b1af975a039846_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22073698, "location": {"latitude": 37.78246395814844, "longitude": -122.4078226089478, "id": 164, "street_address": "66 Mint Plaza", "name": "Blue Bottle Café"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T17:06:29+0000", "message": "Run home jack", "from": {"username": "gabe_hawk", "full_name": "Gabe Velasquez", "type": "user", "id": 820738}, "id": 25619612}, {"created_time": "2011-01-31T17:57:15+0000", "message": "Headed home?", "from": {"username": "idluvto", "full_name": " ", "type": "user", "id": 1718709}, "id": 25634672}, {"created_time": "2011-01-31T18:19:49+0000", "message": "@idluvto .. Should be home by 3", "from": {"username": "gabe_hawk", "full_name": "Gabe Velasquez", "type": "user", "id": 820738}, "id": 25640716}], "caption": {"created_time": "2011-01-31T17:06:29+0000", "message": "Run home jack", "from": {"username": "gabe_hawk", "full_name": "Gabe Velasquez", "type": "user", "id": 820738}, "id": 25619612}, "like_count": 3, "link": "http://api_privatebeta.instagr.am/p/BUMLZ/", "user": {"username": "gabe_hawk", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_820738_75sq_1292035867.jpg", "id": 820738}, "created_time": "2011-01-31T17:06:26+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4c704f8a5a6c4e43b05d484884048623_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4c704f8a5a6c4e43b05d484884048623_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4c704f8a5a6c4e43b05d484884048623_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22069977, "location": {"latitude": 33.930381699999998, "longitude": -118.3685455, "id": 343419, "street_address": "Los Angeles, CA 90045", "name": "LAX Tarmac"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T16:53:03+0000", "message": "Good morning! ", "from": {"username": "dlprager", "full_name": "David Prager", "type": "user", "id": 143217}, "id": 25615335}, {"created_time": "2011-01-31T23:37:20+0000", "message": "Planning to be in that exact place in three weeks.", "from": {"username": "lizg", "full_name": "Liz Gannes", "type": "user", "id": 112}, "id": 25734720}], "caption": {"created_time": "2011-01-31T16:53:03+0000", "message": "Good morning! ", "from": {"username": "dlprager", "full_name": "David Prager", "type": "user", "id": 143217}, "id": 25615335}, "like_count": 14, "link": "http://api_privatebeta.instagr.am/p/BULiy/", "user": {"username": "dlprager", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_143217_75sq_1287203497.jpg", "id": 143217}, "created_time": "2011-01-31T16:52:25+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4aba3cd428194f82a7befbf06e3de212_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4aba3cd428194f82a7befbf06e3de212_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/4aba3cd428194f82a7befbf06e3de212_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22067378, "location": {"latitude": 21.337821999999999, "longitude": -157.69990300000001, "id": 260110, "street_address": "", "name": "Waimanalo Beach"}}, {"type": 1, "comments": [{"created_time": "2011-01-31T16:32:22+0000", "message": "A little slice of heaven (Orval cheese)", "from": {"username": "doug", "full_name": "Doug Systrom", "type": "user", "id": 17}, "id": 25608572}], "caption": {"created_time": "2011-01-31T16:32:22+0000", "message": "A little slice of heaven (Orval cheese)", "from": {"username": "doug", "full_name": "Doug Systrom", "type": "user", "id": 17}, "id": 25608572}, "like_count": 13, "link": "http://api_privatebeta.instagr.am/p/BUKgb/", "user": {"username": "doug", "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_17_75sq_1292890348.jpg", "id": 17}, "created_time": "2011-01-31T16:31:34+0000", "images": {"low_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5e4d7b1fca294f569bf0137da9ca2966_6.jpg", "width": 480, "height": 480}, "thumbnail": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5e4d7b1fca294f569bf0137da9ca2966_5.jpg", "width": 150, "height": 150}, "high_resolution": {"url": "http://distillery.s3.amazonaws.com/media/2011/01/31/5e4d7b1fca294f569bf0137da9ca2966_7.jpg", "width": 612, "height": 612}}, "user_has_liked": false, "id": 22063131, "location": null}]}
View
25 spec/instagram/client/users_spec.rb
@@ -168,6 +168,31 @@
with(:query => {:access_token => @client.access_token}).
should have_been_made
end
+
+ context Instagram::Response do
+ let(:user_media_feed_response){ @client.user_media_feed }
+ subject{ user_media_feed_response }
+
+ it{ should be_an_instance_of(Array) }
+ it{ should be_a_kind_of(Instagram::Response) }
+ it{ should respond_to(:pagination) }
+ it{ should respond_to(:meta) }
+
+ context '.pagination' do
+ subject{ user_media_feed_response.pagination }
+
+ it{ should be_an_instance_of(Hashie::Mash) }
+ its(:next_url){ should == 'http://api.instagram.com/v1/users/self/feed?access_token=f59def8.001cde77128843169627c0308237bafa&max_id=22063131' }
+ its(:next_max_id){ should == '22063131' }
+ end
+
+ context '.meta' do
+ subject{ user_media_feed_response.meta }
+
+ it{ should be_an_instance_of(Hashie::Mash) }
+ its(:code){ should == 200 }
+ end
+ end
end
describe ".user_liked_media" do

0 comments on commit 0318418

Please sign in to comment.