Skip to content

Instantly share code, notes, and snippets.

@zobalogh
Created October 3, 2014 14:35
Show Gist options
  • Save zobalogh/dc1a719a3df3465c7ad7 to your computer and use it in GitHub Desktop.
Save zobalogh/dc1a719a3df3465c7ad7 to your computer and use it in GitHub Desktop.
Example media returned by Instagram as coming from the API
HTTP/1.1 200 OK
Content-Language:
en
X-Ratelimit-Limit:
5000
Vary:
Cookie, Accept-Language, Accept-Encoding
Date:
Fri, 03 Oct 2014 14:31:36 GMT
Content-Length:
2073
Expires:
Sat, 01 Jan 2000 00:00:00 GMT
X-Ratelimit-Remaining:
4995
Set-Cookie:
csrftoken=20280cdb31c100cb0fee8b3fcda5b97b; expires=Fri, 02-Oct-2015 14:31:36 GMT; Max-Age=31449600; Path=/
Set-Cookie:
ccode=US; Path=/
Content-Type:
application/json; charset=utf-8
Server:
nginx
Pragma:
no-cache
Cache-Control:
private, no-cache, no-store, must-revalidate
{
"meta": {
"code": 200
},
"data": {
"attribution": null,
"tags": [],
"type": "image",
"location": {
"latitude": 51.025115599,
"name": "IBM Hursley",
"longitude": -1.396541077,
"id": 233841596
},
"comments": {
"count": 1,
"data": [
{
"created_time": "1412346675",
"text": "A random comment",
"from": {
"username": "z3dbalogh",
"profile_picture": "http://photos-h.ak.instagram.com/hphotos-ak-xpa1/927434_357091784451135_546357261_a.jpg",
"id": "1483402827",
"full_name": "Zoltan Balogh"
},
"id": "823146033468682623"
}
]
},
"filter": "Normal",
"created_time": "1412346491",
"link": "http://instagram.com/p/tsZY13rDEj/",
"likes": {
"count": 1,
"data": [
{
"username": "z3dbalogh",
"profile_picture": "http://photos-h.ak.instagram.com/hphotos-ak-xpa1/927434_357091784451135_546357261_a.jpg",
"id": "1483402827",
"full_name": "Zoltan Balogh"
}
]
},
"images": {
"low_resolution": {
"url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10540455_300079430175899_1728497581_a.jpg",
"width": 306,
"height": 306
},
"thumbnail": {
"url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10540455_300079430175899_1728497581_s.jpg",
"width": 150,
"height": 150
},
"standard_resolution": {
"url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10540455_300079430175899_1728497581_n.jpg",
"width": 640,
"height": 640
}
},
"users_in_photo": [
{
"position": {
"y": 0.4787037,
"x": 0.7453704
},
"user": {
"username": "z3dbalogh",
"profile_picture": "http://photos-h.ak.instagram.com/hphotos-ak-xpa1/927434_357091784451135_546357261_a.jpg",
"id": "1483402827",
"full_name": "Zoltan Balogh"
}
}
],
"caption": {
"created_time": "1412346491",
"text": "A description",
"from": {
"username": "z3dbalogh",
"profile_picture": "http://photos-h.ak.instagram.com/hphotos-ak-xpa1/927434_357091784451135_546357261_a.jpg",
"id": "1483402827",
"full_name": "Zoltan Balogh"
},
"id": "823144490711396624"
},
"user_has_liked": true,
"id": "823144490174525731_1483402827",
"user": {
"username": "z3dbalogh",
"website": "",
"profile_picture": "http://photos-h.ak.instagram.com/hphotos-ak-xpa1/927434_357091784451135_546357261_a.jpg",
"full_name": "Zoltan Balogh",
"bio": "",
"id": "1483402827"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment