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

Installation failed (composer) & scraping from a list #35

Closed yarnball closed 7 years ago

yarnball commented 7 years ago

Hi,

I keep getting this failed message when trying to install.

MacBook-Pro-3:Insta mac1$ git clone https://github.com/raiym/instagram-php-scraper.git InstaPHP
Cloning into 'InstaPHP'...
remote: Counting objects: 561, done.
remote: Total 561 (delta 0), reused 0 (delta 0), pack-reused 561
Receiving objects: 100% (561/561), 71.78 KiB | 56.00 KiB/s, done.
Resolving deltas: 100% (335/335), done.
Checking connectivity... done.
MacBook-Pro-3:Insta mac1$ cd InstaPHP/
MacBook-Pro-3:InstaPHP mac1$ ls
CHANGELOG   README.md   composer.json   index.php   src     tests
MacBook-Pro-3:InstaPHP mac1$ composer require raiym/instagram-php-scraper
Using version ^0.3.4 for raiym/instagram-php-scraper
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for raiym/instagram-php-scraper dev-master -> satisfiable by raiym/instagram-php-scraper[dev-master].
    - Can only install one of: raiym/instagram-php-scraper[v0.3.4, dev-master].
    - Installation request for raiym/instagram-php-scraper ^0.3.4 -> satisfiable by raiym/instagram-php-scraper[v0.3.4].

Installation failed, reverting ./composer.json to its original content.

Have I missed a crucial step? I followed your guide.

As a separate comment, I would like to give this library a long list of Media Code's (or ID's) and get it to scrape comments. Can this library do it?

Thanks

raiym commented 7 years ago

Hello, you don't need to clone it if you use composer