Skip to main content

Social::Instagram::Profile - Instagram parser. Data collection from Instagram profiles

Social::Instagram::Profile

Overview of Social::Instagram::Profile parser

Social::Instagram::ProfileSocial::Instagram::Profile - parses profile data from Instagram. The Instagram parser allows you to organize mass data parsing from user profiles. Among the collected data are nickname, name, biography, website, number of posts, etc. The full list of collected data is in the corresponding section.

A-Parser functionality allows you to save parsing settings for Social::Instagram::Profile parser for further use (presets), set up a parsing schedule, and much more.

Saving results is possible in the format and structure that you need, thanks to the built-in powerful Template Toolkit that allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.

info

The parser uses data from an authorized account. To work with the parser, it is necessary to specify a value for the option: cookie.

Obtaining the mandatory authentication option

Spoiler: how to find a cookie?

Go to any profile after opening debug mode by pressing F12. Debug Using the https://www.instagram.com/api/v1/users/web_profile_info/?username= string, find the necessary request that stores values for the parser. Search Go to the request and copy the value from the cookie parameter. Values

Use cases for Social::Instagram::Profile parser

Case 1

  1. Override the Result format option, set the value to $posts.format('$link\n').
  2. Override the Posts pages count option, select All from the list.
  3. Specify profile links as requests.
Download example

How to import an example into A-Parser

eJx9VFtv2jAU/ivI4mGTEAqEjipvFAmpEyustE+MBys+QR5OnNkOWxXlv+/YCbGh
6/Jg+Vy+71zjmhiqT3qrQIPRJNnXpHR3khAGGa2EISNSUqVBWfOe7GTKqUiSx0Ib
elQ0T5KtkhkXgI49pCbmrQQkkWdQijNr5AzlVMoTt9KZiso6/KiiWTx1Z+rOO3vO
Ju5s9TBwAgtV7oxD89SjY/qOI3JOccvR4r54zYUj9ug4cufc31umWToIDCwwz4ME
Wv19qxkEwnzQdmAQxJjeFjaLQoS/d3oIehYF4dgHremc6G1xXblhXyPSfDy7Umqj
t/QIS1kVxs9wEuHXHA4jgquD49crqXJqV2hYTsbdPvXGHT3Di0RjtzMXDEpPNLdx
h4wasNZx5og+fR6bP5aBMsYNlwUVbQS7kT7qa8F/uZUqJPriVXHQKyVzVBlwBFb5
dsluT4ZOJkhROez3FkOSjAoNI6Ix1RXFRNithRtQ1Ei1KW0+qK+JLBZCrOEMwrs5
/oeKC4a/zyJD0GMH/LfL5h1H05cXhsLB/FaYQ8/ipIfNN49ici2Pl2YInnODsm4n
l5AIlSeAsu/Zk3XLpYI+TMfcRccXooTCboEf2aL0qqsyrsZyrUxlkfHjptusi2dV
vOAztCmWMi8F2LqKSggci4Znvx4L3Y3BCj7BW/DShbh6wIyUQn/dtamWiuP63dkE
c+xkGLWjTKkQr8/r0EL8StlXTHFtOHW9TXFZjxLXCEtpDv1j2T+p9f+ezKRucFY/
8a9yIFuYhaAOO6RxEPh3NX8Bkuretg==

List of collected data

  • Nickname
  • Full name
  • Biography
  • Website
  • Number of posts
  • Number of followers
  • Number of followings
  • Link to author's profile
  • Channel
  • Is the profile a business profile
  • Is the profile private
  • Is the profile verified
  • Link to avatar
  • Link to Facebook page
  • Post information
  • Number of video views
  • Profile email
  • Author's publications
    • Type
    • Link
    • Text
    • Time
    • Number of comments
    • Number of likes
    • Link to media
    • Publication height
    • Publication width
    • Link to publication author
    • Location
    • Number of views (video)
  • Subscriptions and subscribers
    • Identifier
    • Link to profile
    • Nickname
    • Full name
    • Is the profile private
    • Is the profile verified
    • Link to avatar
    • Is the user a possible fraudster

Example of result:

cristiano: Cristiano Ronaldo, followers: 579975336, following: 558
Posts:
https://www.instagram.com/p/CrmIE7tNddZ/
https://www.instagram.com/p/Crg1arRNXvX/
https://www.instagram.com/p/CrUE3a6tRs4/
https://www.instagram.com/p/CrK_zvLAofv/
https://www.instagram.com/p/CrGMggNq1Cb/
https://www.instagram.com/p/CrEHoMbK0_C/
https://www.instagram.com/p/Cq8QZGDIix1/
https://www.instagram.com/p/CqxINLiOCPK/
https://www.instagram.com/p/CqoZ8pRo91y/
https://www.instagram.com/p/CqjQjCII98k/
https://www.instagram.com/p/CqeFZMFotaH/
https://www.instagram.com/p/CqcihSbAxaH/

Followers:
https://www.instagram.com/madhu55745/
https://www.instagram.com/akoy4615/
https://www.instagram.com/kiiitank/
https://www.instagram.com/erzhi19/
https://www.instagram.com/na898poli/
https://www.instagram.com/omronnmaaj/
https://www.instagram.com/abhishak8474/
https://www.instagram.com/karankumarkaran110/
https://www.instagram.com/engin_altannnn/
https://www.instagram.com/biel.full/


Followings:
https://www.instagram.com/rafanery.hrpz/
https://www.instagram.com/hubermanlab/
https://www.instagram.com/insparya_italy/
https://www.instagram.com/gerson_rodrigues_11/
https://www.instagram.com/bernardorsousa/
https://www.instagram.com/eminem/
https://www.instagram.com/spl/
https://www.instagram.com/toto.restaurants/
https://www.instagram.com/thetoolsbook/
https://www.instagram.com/rauwalejandro/
https://www.instagram.com/francisngannou/
https://www.instagram.com/sultan_alghannam/

Instagram parser usage options

  • Collecting profile information
  • Collecting publications
  • Collecting subscribers
  • Collecting subscriptions
  • Parsing links to posts for use in Social::Instagram::PostSocial::Instagram::Post

Request examples

As requests, it is necessary to specify the profile nickname, for example:

cristiano 
kyliejenner

Possible settings for the Instagram parser

ParameterDefault valueDescription
cookieIt is necessary to specify Cookie beforehand
x-csrftokenAbility to specify x-csrftoken (if necessary)
x-ig-app-id936619743392459Ability to specify x-ig-app-id (if necessary)
Posts pages count1Number of pages with posts
Followers pages count1Number of pages with followers
Followings pages count1Number of pages with subscriptions