Recommend this page to a friend!
  Classes of Yasir Siddiqui  >  Instagram API integration with PHP  >  >  Download  
Role: Documentation
Content type: text/markdown
Description: Auxiliary data
Class: Instagram API integration with PHP
Access an Instagram user account with its API
Author: By
Last change: Update
Date: 5 years ago
Size: 1,470 bytes


Class file image Download


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

3) On the registration form enter as redirect URI for "OAuth redirect_uri" field.

4) Please note that redirect uri should point to 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

For more information send a message to info at phpclasses dot org.