Bolandish / PHP-Instagram-Grabber

A workaround for the new Instagram policy to get images by hashtag and user id. No need for accesstoken :)
150 stars 39 forks source link

Get instagram images by hashtag and user id!

A workaround for the new Instagram policy to get images by hashtag and user id. No need for accesstoken :) Use at your own risk.

By Vassardish and Bolandish

Install

Via Composer

composer require bolandish/instagram-grabber

Via Include

require_once '/vendor/autoload.php';

Usage

Get by hashtag

Bolandish\Instagram::getMediaByHashtag("nofilter", 10);

Get by user id

Bolandish\Instagram::getMediaByUserID(460563723, 10);

Get after a specific post by user id

Bolandish\Instagram::getMediaAfterByUserID(460563723, 1060728019300790746, 10);

If something missing in the response, please open an issue to report :)

Plugins

Help me build this better! Thanks! :)