-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sha
committed
Feb 17, 2018
1 parent
413fdc2
commit a89f03e
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## Post page comments | ||
> https://www.instagram.com/graphql/query/?query_id=17852405266163336&variables={"shortcode":"BcQcdiXltba","first":1} | ||
Note: You can also use the letters instead of the URLEncoded ones | ||
|
||
```js | ||
{ | ||
"data": { | ||
"shortcode_media": { | ||
"edge_media_to_comment": { | ||
"count": 461, | ||
"page_info": { | ||
"has_next_page": true, | ||
"end_cursor": "AQCqN_MXkN63Bsnm1dNm7ClrfpvIdWO_KeZByPf8qHuB_RlqMZSZm46LX2yaoNI27igjadKcdVtK4nG73THDh4PPA4t5jqWUe-df2AytMZqzLw" | ||
}, | ||
"edges": [<list_of_comments>] | ||
} | ||
} | ||
}, | ||
"status": "ok" | ||
} | ||
``` | ||
|
||
### Structure of comment (list_of_comments) | ||
```js | ||
{ | ||
"node": { | ||
"id": "17896560250120231", | ||
"text": "@mohan.sha oh thank you for the pic", | ||
"created_at": 1512417778, | ||
"owner": { | ||
"id": "266840572", | ||
"profile_pic_url": "https://scontent-ort2-2.cdninstagram.com/t51.2885-19/s150x150/18579717_1693158047375888_6891793205646327808_a.jpg", | ||
"username": "sahana_fathimaa" | ||
} | ||
} | ||
} | ||
``` |