Twitter Reaper

By : _qrrr

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_harvest()
  • returns array of tweet data for every tweet saved in the cron
    • id [the unique ID of the tweet in the WordPress database]
    • tweet_id [the unique ID of the image as supplied by Twitter]
    • tweet
    • date_created [the date the tweet was made on Twitter]

example:

$tweets = twitter_reaper_get_harvest();
foreach ($tweets as $tweets) {
  <div class="single-tweet">
    <p><?php echo twitter_reaper_tweet_time($tweet['date_created']) . ' ' . twitter_reaper_tweet_date($tweet['date_created']); ?></p>
     <?php echo $tweet['tweet']; ?>
  </div>
<?php }
twitter_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()
  • handy for pagination

example:

$images = twitter_reaper_get_harvest_in_range(0, 25);
foreach ($images as $image) { ?>
  <div class="single-tweet">
    <p><?php echo twitter_reaper_tweet_time($tweet['date_created']) . ' ' . twitter_reaper_tweet_date($tweet['date_created']); ?></p>
     <?php echo $tweet['tweet']; ?>
  </div>
<?php }
twitter_reaper_save_tweets()
  • 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
twitter_reaper_get_tweets($args)
  • query the Twitter API directly. This will not save in the database
  • currently can query by Hashtag or Username
$args:
  • query (required) - 'hashtag' or 'username'
  • 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'
);

$tweets = twitter_reaper_get_tweets($args);
foreach ($tweets as $tweet) { ?>
  <div class="single-tweet">
    <p><?php echo twitter_reaper_tweet_time($tweet['date_created']) . ' ' . twitter_reaper_tweet_date($tweet['date_created']); ?></p>
     <?php echo $tweet['tweet']; ?>
  </div>
<?php }

Instagram Reaper

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 w.........

Similar: 60%

omTwitter

Plugin for simple periodic backup of Tweets. Can store your Tweet to separate category or can mix them with your blog posts. Compare https://twitter.com/OzzyCzech and on my blog: http://www.nabito.net/tweets Using https://github.com/dg/twitter-php for Twitter connection (thanks!dg)....

Similar: 40%

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%

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%

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%

NextGEN Facebook - Complete Meta Tags for FB, Google, Pinterest, Twitter, LinkedIn & More

Make sure social websites present your content in the best possible way, no matter how your webpage is shared — from sharing buttons on the webpage, browser add-ons / extensions, or URLs pasted directly on timelines and private messages (PM) — the NextGEN Facebook (NGFB) plugin has you c.........

Similar: 9%

Tweet Wheel Lite

Tweet Wheel plugin helps you to share your WordPress posts, pages, products and any post type on Twitter automatically without your supervision. Promote your WordPress website on Twitter by tweeting regularly to earn more followers and drive more traffic. Current features Automated queueing syste.........

Similar: 5%

SEO Ultimate

From the Creators of SEO Ultimate Premium Support Now Available The SEO Design Solutions team does not provide support for SEO Ultimate on the WordPress forums. However, dedicated one on one email support is available when you upgrade to SEO Ultimate+. The premium version of SEO Ultimate also has .........

Similar: 4%