Instagram Reaper

By : _qrrr

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) { ?>
  <a href=https://wordpress.org/plugins/instagram-reaper/"<?php echo $image['url']; ?>">
    <img src=https://wordpress.org/plugins/instagram-reaper/https://wordpress.org/plugins/instagram-reaper/"<?php echo $image['src']; ?>" />
  </a>
<?php }
inst_reaper_get_harvest_in_range($start, $stop)
  • returns array of image data for images in range supplied as arguments
  • data return is the same as get_instagram_reap()

example:

$images = inst_reaper_get_harvest_in_range(0, 25);
foreach ($images as $image) { ?>
  <a href=https://wordpress.org/plugins/instagram-reaper/"<?php echo $image['url']; ?>">
    <img src=https://wordpress.org/plugins/instagram-reaper/https://wordpress.org/plugins/instagram-reaper/"<?php echo $image['src']; ?>" />
  </a>
<?php }
inst_reaper_get_user_id_by_name($username)
  • returns Instagram user id (for use in custom Instagram query)
inst_reaper_save_photos()
  • this is the function called in the cron-job. You can call it at your leasure if you want to update get new images outside of the schedule
inst_reaper_get_photos($args)
  • query the instagram API directly. This will not save in the database
  • currently can query by Hashtag or Username
$args:
  • query (required) - 'hashtag' or 'username'
  • user_id - the Instagram User id for the query. If you do not know the User ID, use
  • username - this will get the user ID by the username before querying
  • hashtag - the hashtag for the query
  • count - the number of images to return

example:

$args = array(
  'query' => 'username',
  'username' => 'dvl',
  'count' => '30'
);

$images = inst_reaper_get_photos($args);
foreach ($images as $image) { ?>
  <a href=https://wordpress.org/plugins/instagram-reaper/"<?php echo $image['url']; ?>">
    <img src=https://wordpress.org/plugins/instagram-reaper/https://wordpress.org/plugins/instagram-reaper/"<?php echo $image['src']; ?>" />
  </a>
<?php }

Twitter Reaper

Set up wp_cron jobs to occur every minute, half-hour, hour, daily, or weekly. Saves tweet data to database for use in custom theme development. Parses tweet bodies, replacing urls, hashtags and usernames with corresponding hrefs. Replaces unicode emojis with image sprites. twitter_reaper_get_har.........

Similar: 60%

Cron View

This plugin adds a page in the admin area where you can see all the queued Cron events, when they are due, which schedule they are on (or if they are one off) and which hook they will call. Future development might include: Removing Cron events Seeing which functions/methods are currently called b.........

Similar: 40%

Trigger Scheduled Events

Trigger any scheduled event now instead of waiting until WP cron tells it to run. Handy for debugging....

Similar: 34%

WP Instagram Digest

This plugin downloads your latest photos from Instagram and creates post with gallery....

Similar: 29%

Crony Cronjob Manager

Create and Manage Cronjobs in WP by loading Scripts via URLs, including Scripts, running Functions, and/or running PHP code. This plugin utilizes the wp_cron API. All you do is install the plugin, schedule your Scripts / Functions / PHP code to run at a specific interval, and live your life -- Cron.........

Similar: 29%

Improved Cron

Cron not running when you expect? This plugin may help. Also provides insight into WP-Cron exactly like the Cron View plugin. This plugin will visit your site every minute and thereby ensure that your cron jobs run on time. It is mostly intended for people who can't use real cron for some reason.........

Similar: 25%

Cron Manager by Duo Leaf

Allows you to manage cron task/jobs/schedules easily. Features Remove jobs Coming soon Add jobs/taks Immediately run job Manage intervals Log tasks ...

Similar: 23%

Host Analytics.js Locally

A cool plugin created by Daan van den Bergh that enables you to host your Google Analytics javascript-file (analytics.js) locally and keep it updated using wp_cron(). Whenever you run an analysis of your website on Google Pagespeed Insights or Pingdom, it'll tell you to leverage browser cache when .........

Similar: 20%

DW Social Feed

DW Social Feed plugin is a plugin which allows user to get content automatically from popular Social media sites( Facebook, Twitter, Youtube, Vimeo, Instagram, Flickr ) or RSS Feed. After that, these contents will be stored as posts in specific categories. You can choose category, author, posttype f.........

Similar: 17%

Miappi: Social Media Wall

Miappi is a social media enhancement platform. Use Miappi to unite all your social media accounts into an awesome 'social wall'. Display your social wall on screens of any size - from smartphones to websites to cinema screens! Here’s what you can include on your social wall: Social media feeds f.........

Similar: 7%