PHP Classes

Instagram API integration with PHP: Access an Instagram user account with its API

Recommend this page to a friend!

  Author Author  
Picture of Yasir Siddiqui
Name: Yasir Siddiqui is available for providing paid consulting. Contact Yasir Siddiqui .
Classes: 14 packages by
Country: Pakistan Pakistan
Age: 39
All time rank: 3153 in Pakistan Pakistan
Week rank: 387 Down9 in Pakistan Pakistan Down
Innovation award
Innovation award
Nominee: 8x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can access an Instagram user accounts with its API.

It can send HTTP requests to the Instagram API Web servers using the OAuth protocol to access the account of an user with his permission.

The class retrieves a token that it can use to send subsequent API requests to get the user feed, the user publications, get his followers and who he follows, and his most popular photos.

Details

instagram-apis-with-php

This sample project demonstrates the integration of instagram apis with PHP. It user oAuth authentication and can fetch verity of data.

It can show user?s Feed (user wall), User comments, Uploaded media by a user, Show user?s uploaded photos on Google map with Pins and information windows showing photo, List of users who are following current user, List of users followed by current user, Most popular photos on instagram with comments and users.

Follow the following instructions:

1) First Of all Upload all the files to a publically access able web server so that instagram can redirect user to your server after authentication.

2) Register an application at http://instagram.com/developer/

3) On the registration form enter http://yourwebsite.com/instagram/redirect.php as redirect URI for "OAuth redirect_uri" field.

4) Please note that redirect uri should point to http://yourwebsite.com/instagram/redirect.php otherwise this application is not going to work.

5) After creating the application you will get "CLIENT ID", "CLIENT SECRET" and "REDIRECT URI".

6) Copy those values and open config.php

7) Replace these values in appconfig array. Please note that redirect_url in appconfig should be same as "OAuth redirect_uri" value you entered while registering the App.

8) Hit index.php


  Classes of Yasir Siddiqui  >  Instagram API integration with PHP  >  Download Download .zip .tar.gz  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Instagram API integration with PHP
Base name: instagram
Description: Access an Instagram user account with its API
Version: 1.12
PHP version: 5.0
Licenses: BSD License
GNU General Public License (GPL)
All time users: 2562 users
All time rank: 1495
Week users: 0 users
Week rank: 106 Equal
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Social Networking Tools and components to integrate with social networking sites View top rated classes

  Files folder image Screenshots  
/opt2/mlemos/httpd/htdocs/application/repository_browse.php 2937 feed.PNG
File Role Description
Accessible without login Image file feed.PNG Screen Screen Shot
Accessible without login Image file map.PNG Screen Screen shot


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (83%) Good (83%) Sufficient (75%) Sufficient (66%) - - Sufficient (64%) 924
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imageimages (8 files)
Plain text file Class.Instagram.php Class Class File
Accessible without login Plain text file config.php Conf. Configuration script
Accessible without login Plain text file followers.php Example Example script
Accessible without login Plain text file following.php Example Example script
Accessible without login Plain text file footer.php Data Example script
Accessible without login Plain text file header.php Aux. Example script
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file Instructions.txt Doc. Documentation
Accessible without login Plain text file leftmenu.php Example Example script
Accessible without login Plain text file maps.css Data maps css file
Accessible without login Plain text file myfeed.php Example Example script
Accessible without login Plain text file mypublications.php Example Example script
Accessible without login Plain text file popular.php Example Example script
Accessible without login Plain text file publicationsmap.php Example Example script
Accessible without login Plain text file README.md Doc. Auxiliary data
Accessible without login Plain text file redirect.php Example Example script
Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file background.png Data Auxiliary data
  Accessible without login Image file leftmenu_bottom.png Icon Icon image
  Accessible without login Image file leftmenu_link.png Icon Icon image
  Accessible without login Image file leftmenu_top.png Icon Icon image
  Accessible without login Image file link_background.png Icon Icon image
  Accessible without login Image file main_back.png Data Auxiliary data
  Accessible without login Image file main_bottom.png Data Auxiliary data
  Accessible without login Image file main_top.png Data Auxiliary data

Install with Composer Install with Composer - Download Download all files: instagram.tar.gz instagram.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Files folder imageimages (8 files)
Plain text file Class.Instagram.php Class Class File
Accessible without login Plain text file config.php Conf. Configuration script
Accessible without login Plain text file followers.php Example Example script
Accessible without login Plain text file following.php Example Example script
Accessible without login Plain text file footer.php Data Example script
Accessible without login Plain text file header.php Aux. Example script
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file Instructions.txt Doc. Documentation
Accessible without login Plain text file leftmenu.php Example Example script
Accessible without login Plain text file maps.css Data maps css file
Accessible without login Plain text file myfeed.php Example Example script
Accessible without login Plain text file mypublications.php Example Example script
Accessible without login Plain text file popular.php Example Example script
Accessible without login Plain text file publicationsmap.php Example Example script
Accessible without login Plain text file README.md Doc. Auxiliary data
Accessible without login Plain text file redirect.php Example Example script
Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file background.png Data Auxiliary data
  Accessible without login Image file leftmenu_bottom.png Icon Icon image
  Accessible without login Image file leftmenu_link.png Icon Icon image
  Accessible without login Image file leftmenu_top.png Icon Icon image
  Accessible without login Image file link_background.png Icon Icon image
  Accessible without login Image file main_back.png Data Auxiliary data
  Accessible without login Image file main_bottom.png Data Auxiliary data
  Accessible without login Image file main_top.png Data Auxiliary data

Install with Composer Install with Composer - Download Download all files: instagram.tar.gz instagram.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.