andreekeberg/instagram-scraper

Instagram scraper, with support for users and tags

1.1.0 2020-09-14 17:05 UTC

This package is auto-updated.

Last update: 2024-12-15 02:48:24 UTC


README

Latest Stable Version Total Downloads License

Instagram scraper, with support for users and tags.

Get a public users media, or search for a specific tag, without having to register an app.

Since this library uses the web version of Instagram to scrape content, it can break at any time should the returned source code for these pages change. Use in production is therefore discouraged.

This library is provided "as is", and without warranty of any kind.

Requirements

  • PHP 5.6.0 or higher

Installation

composer require andreekeberg/instagram-scraper

Basic usage

Getting a public users media

$feed = Instagram::getUser('github');

Getting public media with a specified tag

$feed = Instagram::getTag('opensource');

Limiting results

$feed = Instagram::getUser('github', 4);
$feed = Instagram::getTag('opensource', 6);

Documentation

Contributing

Read the contribution guidelines.

Changelog

Refer to the changelog for a full history of the project.

License

Instagram Scraper is licensed under the MIT license.