=== Instagram Reaper ===
Contributors: _qrrr
Donate link:
Tags: theme development, instagram, wp_cron
Requires at least: 3.0.1
Tested up to: 3.4
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A plugin for developers. Gets instagram images by username or hashtag
== Description ==
Set up wp_cron jobs to occur every minute, half-hour, hour, daily, or weekly. Saves instagram image data to database for use in custom theme development.
Saves image src's for full-size, low-resolution and thumbnail sizes. Also saves the like count for an image at the time of the api query, and will update this count should the image be part of a later query.
`inst_reaper_get_harvest()`
* returns array of image data for every image saved in the cron
* id [the unique ID of the image in the Wordpress database]
* inst_id [the unique ID of the image as supplied by Instagram]
* url [the url link to the image on Instagram]
* src [the full size image url]
* src_low_res [the smaller size image url]
* src_thumb [the thumbnail size image url]
* likes_count [the number of favories or likes of the image]
* comments count [the number of comments of the image]
* date_created [the date the image was created on Instagram]
example:
`
$images = inst_reaper_get_harvest();
foreach ($images as $image) { ?>
'username',
'username' => 'dvl',
'count' => '30'
);
$images = inst_reaper_get_photos($args);
foreach ($images as $image) { ?>
'username',
'username' => 'dvl',
'count' => '30'
);
$images = inst_reaper_get_photos($args);
foreach ($images as $image) { ?>