- Clone the Project using
git clone git@github.com:subzerobo/instagram-cli.git
- Install Composer Dependencies using
composer install
- Make insta.php file executable using
chmod +x insta.php
- You can optionally add symlink to insta.php using
ln -s -f insta.php insta
- Run the Code
$ ./insta.php
it will display the command help
$ ./insta.php --help
$ ./insta.php -u your_instagram_username -p your_instagram_password uinfo -n davidbeckham
ℹ Login Successful !
ℹ UserId for Username is :186904952
$ ./insta.php -u your_instagram_username -p your_instagram_password --total=40 ufeed -n davidbeckham