Download the PHP package pgrimaud/instagram-user-feed without Composer

On this page you can find all versions of the php package pgrimaud/instagram-user-feed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of instagram-user-feed with dependencies

Informations about the package instagram-user-feed

Instagram user feed PHP

Build Status Packagist Coverage Status

Minimum PHP Version Last version Total Downloads Monthly Downloads

Information

Easily fetch any Instagram feed and more without OAuth for PHP.

If you like or use this package, please share your love by starring this repository, follow @pgrimaud or become a sponsor. πŸ™

Features

This version can retrieve ANY Instagram feed using web scrapping.

⚠️ Version ^5.0 is no more maintained. ⚠️

Installation

Changelog

2020-09-14 : 6.5 is released. New feature: follow and unfollow users. Thanks to @David-Kurniawan)

2020-08-30 : 6.4 is released. New feature: fetch followers and followings feeds. Thanks to @David-Kurniawan)

2020-07-03 : 6.3 is released. New feature: checkpoint challenge bypass using IMAP configuration.

2020-06-01 : 6.2 is released. Improve medias crawling && cache constraints.

2020-05-21 : 6.1 is released. New feature: fetch stories and highlights stories.

2020-05-21 : 6.0 is released. Please upgrade from ^5.0 for cookies session stability.

Version ^6.3: Checkpoint challenge bypass

Some people may have trouble to login with this library. It happens for "old" Instagram accounts or if you're using it on some shared hosting (not all, I don't know why...).

You can now automatically bypass the checkpoint challenge. (email verification with code). You can find an example here.

Tips: you should create a dummy instagram account using a dummy e-mailbox to use this feature.

How it works?

  1. The lib will try to login
  2. Got 400 error "checkpoint_required"
  3. Trigger email verification
  4. Connect to your email inbox using IMAP credentials
  5. Wait for Instagram verification email
  6. Parse verification code from email
  7. Make a request to instagram with this code to complete verification
  8. Verification is done, then **save session automatically***

*Saving session with cache driver is very important here. The Instagram session is valid for... 1 YEAR. So in theory, using a cache driver and one account will trigger only one real login to Instagram then reusing session for a long time.

Thanks to @ibnux and @eldark for help πŸŽ‰

Version ^6.0: Login

In version ^6.0, login is now mandatory, it will save cookies (session) to simulate "real" requests to Instagram.

They improve their bot detection and without real session data in the headers requests, your IP could be easily soft-ban by Instagram.

Then, you can't fetch a lot of data without login.

Tips: you just have to create or use a dummy account to use easily this package.

Usage

New in 6.0 Cache : This library implements PSR-6 for greatest interoperability.

Basic usage :

Paginate

If you want to use paginate on medias, just call getMoreMedias method.

Stories

Contributors

Thanks goes to these wonderful people (emoji key):


Pierre Grimaud

πŸ’»

Jan Γ–stlund

πŸ’»

Tim Bond

πŸ’»

Dlinny

πŸ›

RenΓ©

πŸ›

ikiselev1989

πŸ›

Pezhvak

πŸ’»

David Greminger

πŸ’»

Nana YAMANE

πŸ’»

David Kurniawan

πŸ’»

gtapps

πŸ’»

Chun-Sheng, Li

⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

Feedback

You found a bug? You need a new feature? You can create an issue if needed or contact me on Twitter.

License

Licensed under the terms of the MIT License.


Version
Requires php Version ^7.2.5
ext-curl Version *
ext-json Version *
symfony/cache Version ^3.4|^4.3|^5.0
guzzlehttp/guzzle Version ^6.0|^7.0

The package pgrimaud/instagram-user-feed contains the following files

Loading the files please wait ....