pgrimaud / instagram-user-feed

This is a scrapper to easily fetch any feed and interact with Instagram (like, follow, etc.) without OAuth for PHP.
MIT License
882 stars 138 forks source link

[Your requirements could not be resolved to an installable set of packages.] #238

Closed ghost closed 3 years ago

ghost commented 3 years ago

PHP version -- PHP 7.4.3 (cli) (built: Aug 13 2021 05:39:12) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

running on wsl2 ubuntu

Problem 1

pgrimaud commented 3 years ago

You have to enable curl extension.

Maybe try:

ghost commented 3 years ago

Thank you very much , It worked.

pgrimaud commented 3 years ago

Cool! Feel free to open another issue if you have any other issue 😄

ghost commented 3 years ago

Hello, this is the issue. LINE 11 - require realpath(dirname(FILE)) . '/../vendor/autoload.php'; {Media & Story highlight example} PHP Warning: require(/home/himanshu/../vendor/autoload.php): failed to open stream: No such file or directory in /home/himanshu/smsa.php on line 11 PHP Fatal error: require(): Failed opening required '/home/himanshu/../vendor/autoload.php' (incl_path='.:ude/usr/share/php') in /home/himanshu/smsa.php on line 11

pgrimaud commented 3 years ago

It's a require file error. Are you sure about your autoload.php path?

ghost commented 3 years ago

Yes it worked, the path was the issue.