andreekeberg / instagram-scraper

Instagram scraper, with support for users and tags
https://packagist.org/packages/andreekeberg/instagram-scraper
MIT License
7 stars 0 forks source link
instagram instagram-scraper library scraper

📷 Instagram Scraper

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

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.