Social::Instagram::Post - Instagram post scraper
Social::Instagram::Post scraper overviewโ

Information about authorization data!โ
info
All simple results can be obtained without using authorization. Authorization is required to collect comments, you need to specify a value for the option: cookie. Similarly to the scraper Social::Instagram::Profile
Use cases for Social::Instagram::Post scraperโ
Collecting comments under postsโ
- Specify the values for the options required for authorization
(cookie, x-csrftoken, x-ig-app-id)
. - Override the
Page count
option, select100
from the list. - Override the
Result format
option, set the value to$comments.format('$text\n')
. - Specify links to posts as requests.
Download example
How to import an example into A-Parser
eJyNVN1v2jAQ/1+sSl0lROBhe8gbICExsYYV+kRRZSWXzMPxubYDraL87zvnE7p1
6pvv7ve7b1/JHLdHuzFgwVkW7kum6zcLWQIpL6RjI6a5sWC8ec+2GAsuw3ClrOOZ
4XkYbtB6VI8vmXvTQB7wBMaIBMgoEpI1zyDGQnn0icuCMNPJpPqYECMeBQxoxv4H
tibd4RHUJ/Fc61XySWyKJueOOtM0pKPcxJjnoJwdN4Avt53m2cGre3pSt3esOhxG
rKHaZQ3zTD0dt53ujVt+gh36aELCoF6SdM/zOl7CHXhrF+9u7F69B54kwglUXDYR
/KyGqI9KvNT5KiQsPY0AuzSYk8rn2Srfuuz27KaWGbkoau7PhsPClEsLI2Yp1SWn
RJL3FuHAcIcm0j4f0pcM1UzKNZxADrDa/7wQMqHFmqVEWrXEf0Oiv3xUfXmXoWhu
Z0M59F5qaR79GFgJrjHrmiFFLhzJdlHvZcgmpDwC6L5n9x6Wo4E+TOu5jU5/R4Py
SzKMbKYH1VUZV2O5VsaoUpFF7eJ1yELt6INGaoG5luDrUoWUNBYLD8N6zGw7Bi8M
Cb4nL+oQV1/bIUr7fdukqo2g9fvqE8ypk5dRW5cxl/LxYX1pYcNKkfDLOW3DIDif
z2PRnYgxfYpAB4sXO32eq/U2/hYw78tBhrRlVGl16K9Mf4vKD29NWFY0x9920zB8
0R5POuqepSHRXan+AOqBsTk=
List of collected dataโ
- Post type
- Text
- Publication date
- Number of comments
- Number of likes
- Width and height of the image/video
- Link to the author's profile
- Author's nickname
- Location
- Information about likes
- Information about comments
- Link to location
- Number of video views
- Comments
- Link to the author's profile
- Text
- Number of likes
- Creation time
Example of the result:
https://www.instagram.com/p/Cqs1_BnLSc6/: comments: 7268, likes: 362777
Text: โLike anyone else, I get lonely or insecure. Making my art is like creating companions or more well-formed versions of myself. My artworks are like mirrors, but ones where I can manipulate whatโs being reflected at me.โ โArtist @gitte_maria (Gitte Maria Moller)
Realized across mixed media, including wire frames, 3D sculpture, print plexiglass, panel paintings and site-specific installations, Gitteโs art explores themes in multitude: icons of childhood, 90s computer games, walls, fences and dead ends, pain and joy.
โI draw inspiration across time and history, from the ancient to the contemporary, but I like to think that these things all exist on the same plane and have equal value. Things only have value or importance because we ascribe it, so I like to play around with that, both in the materials I work with and in the content.
I try not to be too goal oriented when I am making work. Itโs rather a feeling of something interior that spreads outward. The meaning becomes clearer to me when Iโve had some distance from the reality that generated the artwork. I like to be surprised in this way, so I create a lot of space for chance.โ
Art by @gitte_maria
Use casesโ
- Collecting information about a post
Examples of requestsโ
Links to posts should be specified as requests, for example:
https://www.instagram.com/p/Cqs1_BnLSc6/
https://www.instagram.com/p/CqvaaM5MHVW/
Possible settingsโ
Parameter | Default value | Description |
---|---|---|
Pages count | 1 | The number of pages to parse comments |
cookie | Authorization option, required for parsing comments. | |
x-csrftoken | Authorization option, required for parsing comments. | |
x-ig-app-id | Authorization option, required for parsing comments. |