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) {
'username',
'username' => 'dvl',
'count' => '30'
);
$tweets = twitter_reaper_get_tweets($args);
foreach ($tweets as $tweet) { ?>
<?php }
`