ThinkTwit is a Twitter module for WordPress. ThinkTwit uses the Twitter ATOM API to display recent tweets from one or more Twitter users. It is very simple, yet flexible and easily customised. It can be placed on your WordPress page simply through drag and drop on the Widgets interface or through the use of Shortcode or a PHP function call.
ThinkTweet was created due to a lack of fully functional modules that offer the ability to request tweets from more than one user. It was created using a heavily modified version of code written by Anders Ross at Instant Shift with added code changes by Kevin Pajak at kevinpajak.com. Thanks guys, the code has been much appreciated!
Given the code created was so useful, and the lack of modules that did what we required, it was decided to create a plugin so that we can give something back to the community – we sincerely hope that others can benefit from this!
ThinkTwit was originally developed by Stephen Pickett when he was working for Think Consulting Solutions. Think decided to open source the code and after he left Stephen decided to continue to maintain the code.
- Can be configured from Widgets settings (if displayed in sidebar)
- Can be implemented using shortcode or Output Anywhere (PHP function call)
- Contains default slimline CSS for integrated look and feel
- Easy to configure and customise (through settings and CSS)
- Multiple instances can be deployed (like other widgets/plugins)
- Can specify multiple usernames
- Tweets can be filtered by #hashtag or keyword
- Can specify maximum number of tweets
- Can specify maximum number of days back to display
- Supports no-caching, to prevent caching of tweets by caching engines such as WP Super Cache
- Supports CURL as an alternative to access to the Twitter API if URL file-access is disabled
- Can display the avatar of the Twitter user
- Supports optional caching of tweets and avatars
- Output can be filtered (using apply_filters)
- Can optionally output “Follow @username” links
The following is a list of features (in order) that will be implemented in future releases (struck through items are completed and awaiting release):
- A method of backing up old options (to allow rollback), adding new options when necessary and transforming options where they are changed during upgrades
- Better error handling – currently there is an unsightly error thrown when Twitter is blocking excessive requests (this will be fixed separately) – such errors need to be handled better
- Reset options function
- Implement internationalisation
- Enable keyword searching
- Replace Twitter Search ATOM API with JSON API (in anticipation of deprecation)
- Allow configuration of avatar cache time
- Add option to output published as text, timestamp or not at all
- Currently #hashtag usage is AND – provide an OR option