V
V
valentin_dev2020-10-15 11:49:14
PHP
valentin_dev, 2020-10-15 11:49:14

Getting a user's Instagram posts by their name?

For work, I use the Instagram Basic Display API.
Got a token. But there, all requests to media go using user id (+ some kind of mud with old id and new ones).
Now the question is how to get the id of the user and, accordingly, his posts / feed ?.

PS
It turned out that instagram encodes the password using JS before sending.
Maybe someone knows what algorithm instagram encodes the password?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2020-10-15
@opium

just go to the insta site and look at what requests a list of posts is received there, and also get

N
nokimaro, 2020-10-16
@nokimaro

I recommend https://github.com/postaddictme/instagram-php-scraper
Parsing from the web version
Posts from public accounts can be received even without authorization.
A proxy pack (ipv6 is possible) is strongly recommended for intensive requests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question