Recommend this page to a friend! |
Download |
Info | Example | Screenshots | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-01-09 (9 months ago) | 58% | Total: 2,582 | All time: 1,479 This week: 36 |
Version | Licenses | PHP version | Categories | |||
instagram 1.14 | BSD License, GNU ... | 5.0 | PHP 5, Web services, Social Networking |
Description | Author | |
This class can access an Instagram user accounts with its API. |
<?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
Screenshots (2) | ||
Files (27) |
File | Role | Description | ||
---|---|---|---|---|
images (8 files) | ||||
Class.Instagram.php | Class | Class File | ||
config.php | Conf. | Configuration script | ||
followers.php | Example | Example script | ||
following.php | Example | Example script | ||
footer.php | Data | Example script | ||
header.php | Aux. | Example script | ||
index.php | Example | Example script | ||
Instructions.txt | Doc. | Documentation | ||
leftmenu.php | Example | Example script | ||
maps.css | Data | maps css file | ||
myfeed.php | Example | Example script | ||
mypublications.php | Example | Example script | ||
popular.php | Example | Example script | ||
publicationsmap.php | Example | Example script | ||
README.md | Doc. | Auxiliary data | ||
redirect.php | Example | Example script | ||
style.css | Data | Auxiliary data |
Files (27) | / | images |
File | Role | Description |
---|---|---|
background.png | Data | Auxiliary data |
leftmenu_bottom.png | Icon | Icon image |
leftmenu_link.png | Icon | Icon image |
leftmenu_top.png | Icon | Icon image |
link_background.png | Icon | Icon image |
main_back.png | Data | Auxiliary data |
main_bottom.png | Data | Auxiliary data |
main_top.png | Data | Auxiliary data |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
92% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.