Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericrallen/developer-instagram-feed-wp
Simple Instagram feed plugin for WordPress developers. This does not provide any styling or output options, it simply gives you a way to retrieve images from the API.
https://github.com/ericrallen/developer-instagram-feed-wp
Last synced: 11 days ago
JSON representation
Simple Instagram feed plugin for WordPress developers. This does not provide any styling or output options, it simply gives you a way to retrieve images from the API.
- Host: GitHub
- URL: https://github.com/ericrallen/developer-instagram-feed-wp
- Owner: ericrallen
- Created: 2013-12-07T09:37:29.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-03T17:37:13.000Z (about 10 years ago)
- Last Synced: 2024-10-11T09:38:34.775Z (28 days ago)
- Language: PHP
- Size: 286 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
developer-instagram-feed
================REQUIRES PHP 5.3+
Coming soon to the WordPress Plugin Repository.
Allows developers to easily connect to the Instagram API and provides functions for retrieving a user's photos. It only returns an array so developers can style the feed as they wish.
Tired of opinionated plug-ins that do too much styling of content from the Instagram API? Tired of having to get user credentials to authorize the Instagram API for your clients? Tired of plugins that only allow one Instagram user's feed?
That's why we built this one. You set up an Instagram API Client for your WordPress installation and then your user's can authenticate the API Client when editing their user profile. All you need to do is send a user ID to a function and you can pull in that user's latest Instagrams.
Utilizes the [PHP-Instagram-API](https://github.com/galen/PHP-Instagram-API) by [galen](https://github.com/galen/)
Using the Plugin
==========1. Upload the `developer-instagram-feed` directory to your WordPress `/wp-content/plugins/` directory
2. Go to the Settings->Developer Instagram Feed page and follow the instructions for setting up your Instagram API Client
3. Set the number of images and the cache timeout for the plugin after storing your API credentials
4. Have your users login and authorize your Instagram API Client via their WordPress Profile Page
5. Use the `DIF_get_user_images($user_id)` function to retrieve a user's images from the Instagram API, or use the `DIF_get_hashtag_images($tag, $user_id)` function to retrieve images from the Instagram API based on a hashtag (you need to provide the WordPress ID of a user who has authorized with the API integration to pull in hashtagged images). Here's a [gist](https://gist.github.com/ericrallen/8393004) to help you get started.