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?

Informations about the package instagram-user-feed

Instagram user feed PHP

Build Status Packagist Coverage Status

Minimum PHP Version Last version Total Downloads

Warning 2023-12-31 - Version 7.0.0 will drop support for PHP < 8.2

Warning 2022-11-09 - Instagram changed his DOM AGAIN... Please update to this version 6.16.4

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

v7.0.0 - 2023-12-31:

v6.16.6 - 2023-12-31:

v6.16.5 - 2023-12-24:

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
Pierre Grimaud

πŸ’»
Jan Γ–stlund
Jan Γ–stlund

πŸ’»
Tim Bond
Tim Bond

πŸ’»
Dlinny
Dlinny

πŸ›
RenΓ©
RenΓ©

πŸ›
ikiselev1989
ikiselev1989

πŸ›
Pezhvak
Pezhvak

πŸ’»
David Greminger
David Greminger

πŸ’»
Nana YAMANE
Nana YAMANE

πŸ’»
David Kurniawan
David Kurniawan

πŸ’»
gtapps
gtapps

πŸ’»
Chun-Sheng, Li
Chun-Sheng, Li

⚠️
schelmo
schelmo

πŸ’»
Mojtaba
Mojtaba

πŸ’»
Georgy Gusev
Georgy Gusev

πŸ’»
Jibran Ijaz
Jibran Ijaz

πŸ’»
Julien Cousin-Alliot
Julien Cousin-Alliot

πŸ’»
n-richaud
n-richaud

πŸ›
Dmitry Afonin
Dmitry Afonin

πŸ’»
Andrei Firoiu
Andrei Firoiu

πŸ›
Fiki Pratama
Fiki Pratama

πŸ’»
Carl
Carl

πŸ›
Peter Kampjes
Peter Kampjes

πŸ’»
Bob Brown
Bob Brown

πŸ“–
nagajoomlapro
nagajoomlapro

πŸ’»
cleveng
cleveng

πŸ’»
BMRG14
BMRG14

πŸ’»
Sinan Portakal
Sinan Portakal

πŸ’»
deepvision7
deepvision7

πŸ’»
Yusuf Γ–zdemir
Yusuf Γ–zdemir

πŸ’»
Kadir Melih Can
Kadir Melih Can

πŸ’»

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.


All versions of instagram-user-feed with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-curl Version *
ext-json Version *
symfony/cache Version ^6.0|^7.0
guzzlehttp/guzzle Version ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

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

Loading the files please wait ....