postaddictme / instagram-php-scraper

Get account information, photos, videos, stories and comments.
https://packagist.org/packages/raiym/instagram-php-scraper
MIT License
3.08k stars 798 forks source link

can't get user followsCount/followedByCount #132

Closed hjl888990 closed 7 years ago

hjl888990 commented 7 years ago

have login,getAccountById can't get followsCount/followedByCount,return null。the curl response only have count。

inkrement commented 7 years ago

same here, seems like Instagram changed their api/information policy

kirillantv commented 7 years ago

You can take count with getAccount . The problem is in getAccountById.

inkrement commented 7 years ago

@kirillantv sure, but I just have to id and not the name. So I would have to call getAccountById to load the username and then call getAccount?!

kirillantv commented 7 years ago

@inkrement seems like that. But this is dirty. I've writen an issue with a reason https://github.com/postaddictme/instagram-php-scraper/issues/136 . Lets wait an answer.