InstaOmega
Regular Member
- Aug 1, 2019
- 264
- 80
Hi BHW,
This is a follow up post on my last tutorial thread on how to scrape Instagram.
I'll leave the link here for easy reference: https://www.blackhatworld.com/seo/how-to-scrape-instagram.1237201/
So basically if you are trying to get emails/phone numbers from Instagram there are 2 ways to do it. First, you can make calls to the web api which is basically what I wrote about in my last post but you can only access contact information listed in the bio.
Here, I will show you how to get the contact information you see when you are on the app. What I mean by this is when you make an IG business profile, contact information is listed publicly on the app but is hidden on the web. So, how do you access this information?
Be warn, this does require some advanced CS/Dev knowledge.
First thing to do is your setup. You will need Instagram accounts and a mobile proxy provider. Be sure to use 4g. Next, you will need to use a mobile api sniffer like Charles. After that, you will need to capture the login cookie from the Instagram account you choose to use to scrape. Then, just login to Instagram app and connect the stiffer and pull up the profile page on your app and you will see the api calls. Before you can get started making request and scraping the information, you will need to do something called certificate pinning.
To summarize the steps:
1. Get an Instagram account
2. Install sniffer and connect it to your phone. We use Charles.
2. Capture login cookies on the mobile device
3. Find the api call to pull up the profile/contact information
4. Implement certificate pinning.
5. Start scraping!
I hope this knowledge helps the community. Lmk, if you guys have other methods!
This is a follow up post on my last tutorial thread on how to scrape Instagram.
I'll leave the link here for easy reference: https://www.blackhatworld.com/seo/how-to-scrape-instagram.1237201/
So basically if you are trying to get emails/phone numbers from Instagram there are 2 ways to do it. First, you can make calls to the web api which is basically what I wrote about in my last post but you can only access contact information listed in the bio.
Here, I will show you how to get the contact information you see when you are on the app. What I mean by this is when you make an IG business profile, contact information is listed publicly on the app but is hidden on the web. So, how do you access this information?
Be warn, this does require some advanced CS/Dev knowledge.
First thing to do is your setup. You will need Instagram accounts and a mobile proxy provider. Be sure to use 4g. Next, you will need to use a mobile api sniffer like Charles. After that, you will need to capture the login cookie from the Instagram account you choose to use to scrape. Then, just login to Instagram app and connect the stiffer and pull up the profile page on your app and you will see the api calls. Before you can get started making request and scraping the information, you will need to do something called certificate pinning.
To summarize the steps:
1. Get an Instagram account
2. Install sniffer and connect it to your phone. We use Charles.
2. Capture login cookies on the mobile device
3. Find the api call to pull up the profile/contact information
4. Implement certificate pinning.
5. Start scraping!
I hope this knowledge helps the community. Lmk, if you guys have other methods!