PHP Classes

PHP Instagram API Query: Get details about Instagram users from their pages

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-09-18 (11 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 40 This week: 6All time: 10,475 This week: 21Up
Version License PHP version Categories
php-instagram-query 1.0.0GNU General Publi...5PHP 5, Web services, Social Networking
Description Author

This package can get details about Instagram users from their pages.

It can send HTTP requests to the Instagram Web servers to retrieve pages from specific Instagram users and parses those pages to return several types of user details.

Currently it can extract:

- The user name

- The user profile identifier

- The user picture

- The user page identifier

Picture of Ujah Chigozie peter
  Performance   Level  
Name: Ujah Chigozie peter <contact>
Classes: 17 packages by
Country: Nigeria Nigeria
Age: 31
All time rank: 245013 in Nigeria Nigeria
Week rank: 19 Up1 in Nigeria Nigeria Up
Innovation award
Innovation award
Nominee: 8x

Details

php-instagram-query

A simple php class to extract user profile picture, page_ids, profile_id & name from instagram

Installation is super-easy via Composer:

composer require peterujah/php-instagram-query

USAGES

Initialize InstagramQuery with the necessary parameters and register your custom classes.

use \Peterujah\NanoBlock\InstagramQuery;
$lookup = new InstagramQuery();
$username = "peterchig";

OR with options

use \Peterujah\NanoBlock\InstagramQuery;
$lookup = new InstagramQuery($browserLanguage, $userAgent);
$username = "peterchig";

Fine user profile picture

$ig = $lookup->findProfilePic($username);
echo $ig->picture;
var_dump($ig);

Fine user page ids

$ig = $lookup->findPageId($username);
echo $ig->page;
var_dump($ig);

Fine user profile id

$ig = $lookup->findProfileId($username);
echo $ig->profile;
var_dump($ig);

Fine user instagram name

$ig = $lookup->findProfileName($username);
echo $ig->name;
var_dump($ig);
  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file InstagramQuery.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:40
This week:6
All time:10,475
This week:21Up
For more information send a message to info at phpclasses dot org.