Overview
Twitter Digest is a Wordpress plugin that creates a daily post containing tweets from a twitter account.
Features
- Automatically polls specified Twitter account and creates a post shortly after midnight which contains the previous days tweets
- Display tweets in chronological or regular (Twitter) order
- Tag tweet digest posts automatically
- Customize the title of tweet digest posts
- Select the author and category for tweet posts
Details
This plugin uses the pseudo-cron facility available in Wordpress to publish a daily post of tweets from the previous day.
Notes:
- This plugin has not been tested on anything other than Wordpress 2.7. (If anyone wants to try, let me know.)
- I used code and knowledge garnered from Alex King’s Twitter Tools to build this plugin. See http://alexking.org/projects/wordpress
- A maximum of 20 tweets will be shown per post (due to Twitter API limitation) and there will only be one post per day. This means if you tweet more than 20 times per day, not all the tweets will be shown. This may change in the future.
- On first installation, you may see an error on the options page indicating that the username and password specified are wrong. This occurs because Twitter is automatically polled when the plugin is first activated, at which time there is no username/password specified in the database for Twitter Digest to use. Assuming the username and password entered are correct, the error will go away the next time Twitter is successfully polled. If you go more than 24 hours with this error, then something is broken.
Installation
- Download the plugin archive and expand it.
- Put the ‘twitter-digest.php’ file into your wp-content/plugins/ directory.
- Go to the Plugins page in your WordPress Administration area and click ‘Activate’ for Twitter Digest.
- Go to the Twitter Digest Options page (Options > Twitter Digest) to set your Twitter account information and preferences.
Contact
If you have questions or comments, please email me, or leave a comment on this page.
Great plugin. I run Alex’s plugin but needed something else to digest my wife’s twitter account as well. You’re plugin worked like a charm. Looking forward to additional functionality. Thanks again!
Glad you like it. Alex has updated his digest functionality (as you probably know) but I’ll think about adding support for multiple Twitter accounts to Twitter Digest and then if Alex’s digest stuff doesn’t work for anyone, they can use mine if they find themselves in a situation similar to yours.
Also, I’ve already fixed a couple bugs, but haven’t had the chance to post the new version. I’ll do that in the next few days. The wordpress.org guys also haven’t got back to me about putting the plugin up on their site, but I’ll get to that when they get back to me.
BTW – I like your plugin better. Alex’s never quite gets it right… posting at wrong time, pulls wrong day’s tweets… Since install, yours has worked PERFECT. If you add multiple account support and the ability to post chronologically, I’ll be uninstalling Alex’s. Again, GREAT plugin. thankyou!
This looks like a great plugin. I just installed it. One question:
I see that the plug-in has written a draft of yesterday’s Tweets. Will it automatically publish itself or do I need to go in and Publish it myself?
That’s very odd. It should be published automatically when the post is created. The post does go through the draft->publish cycle in order to trigger any hooks that bloggers might want triggered (like a normal post), but the status change to publish is literally two lines after the post is created. Go ahead and publish the post if you like and we’ll see what happens tomorrow. I’m assuming you didn’t see any error messages anywhere. Thanks for the input.
There is some sort of conflict with the Wordbook plugin that causes Twitter Digest to break. Not sure what the issue is, but de-activating Wordbook should fix the problem.
tbeck – The plugin seems to have stopped working for me. My wife’s updates haven’t been posted in several days. Any idea why this would happen?
I’m trying to find a twitter digest that works becuz I’ve been having troulbe with Twitter Tools. This looked good, but it keeps giving me a 401 error. says:
Error retrieving tweets. Make sure your username and password are correct.
Status: 401
{“request”:”\/statuses\/user_timeline.json”,”error”:”This method requires authentication.”}
Also, is there a way to set what time this thing will update?
forgot 2 add – name username & password are indeed correct. that is not the problem.
The plugin runs when it is activated, so on the first time you activate it, there is no username/password in the database and thus you get this 401 error. Try de-activating the plugin and activating again and that error should go away. You won’t see the post of your tweets until after midnight tonight though.
I’ll add the feature of specifying what hour you want the previous day’s tweets to be published at to my TODO list.
Thanks. It started working. Awesome. just what I needed. *S*
This is great Tim, thank you very much. Can’t wait to see how it works.
Hi,
Can this plugin post a digest of tweets based on a #tag, rather than by a twitter account?
i.e. 20 posts from today on #weather (or whatever).
Thanks,
Kenny
I’ll add it to my TODO list.