Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog (1) | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 73 | All time: 10,125 This week: 121![]() |
Version | License | PHP version | Categories | |||
php-instagram-query 1.0.0 | GNU General Publi... | 5 | PHP 5, Web services, Social Networking |
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
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);
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
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);
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Doc. | Documentation |
![]() | php-instagram-query-2022-09-18.zip 3KB |
![]() | php-instagram-query-2022-09-18.tar.gz 2KB |
![]() | Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.