GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mineur/instagram-parser: :camera: Crawl the Instagram website tags and users like if it was a simple API client.

BranchesTags
Open more actions menu

Latest commit

 

History

68 Commits
68 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
examples
examples
 
 
src
src
 
 
test
test
 
 
.formatter.yml
.formatter.yml
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
phpunit.xml
phpunit.xml
 
 

Repository files navigation

Instagram Parser

License Build Status Code Climate Latest Unstable Version Total Downloads

The Instagram parser gives you an easy interface to parse all the Instagram's data. Like an API, but without being it! You can get posts by a tag, all user posts

Setup

composer require mineur/instagram-parser:dev-master

Before run your parsers, you first need a query hash. Follow this 5 steps to get yours: How to get a query hash.

Start parsing!

Let's parse all data tagged with the string "github" for instance. You will get a scaled infinite loop of posts related to it until they are finished.

use Mineur\InstagramParser\Instagram;
use Mineur\InstagramParser\Model\InstagramPost;

$queryHash = '298b92c8d7cad703f7565aa892ede943';

Instagram::createTagParser($queryHash)
    ->parse('github', function(InstagramPost $post) {
        dump($post);
    });

The console dump will be like this:

Motivation

Since Instagram has restricted its API only to registered and verified applications, you can't get all of its public data being an experimental user or a data science analyst who just wants to play with that, you only have access to the API sandbox mode.

So I decided to create an alternative parser on top of GuzzleHttp library to access to the entire data with a nice interface.

Documentation

For more information about this library see the docs.

About

📷 Crawl the Instagram website tags and users like if it was a simple API client.

Topics

guzzlehttpinstagraminstagram-apiinstagram-botinstagram-clientinstagram-parserinstagram-scraper

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

128 stars

Watchers

6 watching

Forks

21 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.