WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

TwitFeed

Connect to the twitter stream and feed live twets to your blog.

Requirements:

  • Memcache + php5-memcache
  • php5-curl
  • Phirehose (included, with some minor changes )
  • jQuery must be included in your blog

Installation:

Just uncompress to your plugins folder and make sure the requirements are met. In the wp admin menu enable TwitFeed, and set the options for your account.

You WILL need to change some options in the daemon and consumer scripts. There are four settings with need to change in BOTH scripts:

  • appRunAsGID (default 1000)
    • This is the group id the daemon will run under. Set to a valid group id.
  • appRunAsUID (default 1000)
    • Similar to above, user id instead of group. Set to a valid user id.
  • logLocation (default /var/log/{OPTIONS.appName}.log)
    • Where the log will be written.
    • The user above must be able to create a file here, and write to the file.
  • appPidLocation (default /var/run/[daemon]/[daemon].pid)
    • Process id tracking file
    • User must be able to create and write to files here.

Running:

From a shell run: ./daemon ./consumer

The daemon script connects to twitter and stores tweets in memcache. The consumer script reads the data from memcache and inserts into the db.

This is a two step process in order to make sure than the daemon does not fall behind if the feed and database are busy.

If you want to write an init script you can do: ./daemon --write-initd ./consumer --write-initd

This will create scripts in /etc/init.d which you can use to start and stop the daemons. You can also create startup scripts so the daemons start if you reboot, but I won't get in to that. Look up the details on the PEAR System_Daemon class if you wish to do this. Also, this only works for Debian and Ubuntu based systems as far as I can tell.

Requires: 3.0.1 or higher
Compatible up to: 3.0.5
Last Updated: 2010-10-8
Downloads: 1,326

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1