Skip to content

Commit

Permalink
added profile post details
Browse files Browse the repository at this point in the history
  • Loading branch information
Sha committed Feb 17, 2018
1 parent 905b18f commit 6ad3295
Showing 1 changed file with 85 additions and 0 deletions.
85 changes: 85 additions & 0 deletions custom_endpoint/profile_posts_custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
## Profile posts
> https://www.instagram.com/graphql/query/?query_id=17888483320059182&variables=%7B%22id%22%3A%221948321393%22%2C%22first%22%3A1%7D
```js
{
"data": {
"user": {
"edge_owner_to_timeline_media": {
"count": 177,
"page_info": {
"has_next_page": true,
"end_cursor": "AQDjEMGMDt20dth045SrEKNbIIM3GQa-zV0Ggp3RlF1ChkZ0xdVzkFPO1SiPV9bspQeS-hqku_Ga_00wRqX9YyVoi2qukSTPxim6XInKhTozNg"
},
"edges": [<list_of_posts>]
}
}
},
"status": "ok"
}
```

### Structure of posts (list_of_posts => number depending on the `first` param in url)
```js
{
"node": {
"id": "1648378574712314574",
"__typename": "GraphImage",
"edge_media_to_caption": {
"edges": [
{
"node": {
"text": "Double burger, \"chicken\" pops and insane milkshakes! 😍🌱🍔 #food #foodie #eat #tasty #yum #yummy#friends #meeting #new #people #delicious #lasvegas #vegas #party #nice #awesome #great#enjoy #burger"
}
}
]
},
"shortcode": "BbgN5SJF5rO",
"edge_media_to_comment": {
"count": 11
},
"comments_disabled": false,
"taken_at_timestamp": 1510722060,
"dimensions": {
"height": 989,
"width": 1080
},
"display_url": "https://scontent-sjc2-1.cdninstagram.com/t51.2885-15/e35/23507494_305235526626314_9150529589083111424_n.jpg",
"edge_media_preview_like": {
"count": 299
},
"owner": {
"id": "1948321393"
},
"thumbnail_src": "https://scontent-sjc2-1.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/c45.0.989.989/23507494_305235526626314_9150529589083111424_n.jpg",
"thumbnail_resources": [
{
"src": "https://scontent-sjc2-1.cdninstagram.com/t51.2885-15/s150x150/e35/c45.0.989.989/23507494_305235526626314_9150529589083111424_n.jpg",
"config_width": 150,
"config_height": 150
},
{
"src": "https://scontent-sjc2-1.cdninstagram.com/t51.2885-15/s240x240/e35/c45.0.989.989/23507494_305235526626314_9150529589083111424_n.jpg",
"config_width": 240,
"config_height": 240
},
{
"src": "https://scontent-sjc2-1.cdninstagram.com/t51.2885-15/s320x320/e35/c45.0.989.989/23507494_305235526626314_9150529589083111424_n.jpg",
"config_width": 320,
"config_height": 320
},
{
"src": "https://scontent-sjc2-1.cdninstagram.com/t51.2885-15/s480x480/e35/c45.0.989.989/23507494_305235526626314_9150529589083111424_n.jpg",
"config_width": 480,
"config_height": 480
},
{
"src": "https://scontent-sjc2-1.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/c45.0.989.989/23507494_305235526626314_9150529589083111424_n.jpg",
"config_width": 640,
"config_height": 640
}
],
"is_video": false
}
}
```

0 comments on commit 6ad3295

Please sign in to comment.