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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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 Visitor badge

Warning 2022-06-01 - Instagram changed his DOM content and profile data loading. Please update to this version 6.15.0

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 scraping.

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

Installation

Changelog

v6.16 - 2022-08-02:

v6.15 - 2022-06-02:

v6.12 - 2021-09-20:

v6.11 - 2021-09-13:

v6.10 - 2021-09-03:

v6.9 - 2021-09-02:

v6.8 - 2021-07-08:

v6.7 - 2021-01-31:

v6.6 - 2020-10-06:

v6.5 - 2020-09-14:

v6.4 - 2020-08-30:

v6.3 -2020-07-03:

v6.2 - 2020-06-01:

v6.1 - 2020-05-21:

v6.0 - 2020-05-20

Version ^6.8: strict-origin-when-cross-origin

Facebook added a new CORS policy, and you can't display the data directly.

You can now download media on your storage or server to serve it directly on your website. You can find an example here.

Example:

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

⚠️

schelmo

πŸ’»

Mojtaba

πŸ’»

Georgy Gusev

πŸ’»

Jibran Ijaz

πŸ’»

Julien Cousin-Alliot

πŸ’»

n-richaud

πŸ›

Dmitry Afonin

πŸ’»

Andrei Firoiu

πŸ›

Fiki Pratama

πŸ’»

Carl

πŸ›

Peter Kampjes

πŸ’»

Bob Brown

πŸ“–

nagajoomlapro

πŸ’»

cleveng

πŸ’»

BMRG14

πŸ’»

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|^6.0
guzzlehttp/guzzle Version ^6.0|^7.0

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

Loading the files please wait ....