Answer the question
In order to leave comments, you need to log in
How to get a list of Instagram user's followers?
I used to use the wonderful mgp25/Instgram-scrapper library, but now the repository is closed and is in private access. In this regard, the question is: is there a ready-made solution, a library for working with Instagram without an API key (Emulation of the web version)?
Task: get a list of accounts to which the user is subscribed and which are subscribed to the user.
Answer the question
In order to leave comments, you need to log in
The web version parser
https://github.com/postaddictme/instagram-php-scraper
can
also work anonymously, while a bunch of proxies is strongly recommended . .
There is InstaLoader ( for Python , but I think it's not a problem to integrate with PHP),
you can use the console version or as a plug-in.
I also use the mgp25 library, but already updating it myself. Everything works great.
Write to me on Telegram if it's still relevant.
Use the extension for Google Chrome: Followers Parser
Collects followers in one click, and most importantly: does not require a login / password!
Official website: https://easybasa.com/Followers-Parser-p392536266
Detailed video review: https://youtu.be/31ktGkxWZeE
the question is incorrect that's why: it is not clear how to react to the absence of records in one of the tables, there is no information at least about the primary keys in the tables (you can already guess about the secondary ones). In addition, the maker itself is not interesting: either additional fields or a condition are needed.
Therefore, I will give a simple example that works if all tables have data.
select pd.maker from pc, laptop lp, printer pr, product pd
where pc.model=pd.model
and pc.model=lp.model and pc.code=lp.code
and pc.model=pr.model and pc.code=pr.code
select code, speed, ram, hd, screen, '' as cd, '' as color, price, maker, pd.model, pd.type from Product pd, Laptop lp where pd.model=lp.model
UNION
select code, '' as speed, '' as ram, '' as hd, '' as screen, '' as cd, color, price, maker, pd.model, pd.type from Product pd, Printer pt where pd.model=pt.model and pd.type=pt.type
UNION
select code, speed, ram, hd, '' as screen, cd, '' as color, price, maker, pd.model, pd.type from Product pd, PC pc where pd.model=pc.model
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question