ThinkTwit Update 1.1.2

I’ve today updated ThinkTwit to version 1.1.2 with 2 key changes:

  • Added support for caching engines
  • Added support for CURL

These changes were requested by ThinkTwit users but will no doubt be useful to others out there. The no-caching support uses AJAX (via jQuery) to output code from a pure HTML file (the format in which the cached page is stored) and the CURL support offers an alternative to the standard URL get method which may cause the following error (or similar) if URL file-access is disabled:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /..../wp-content/plugins/thinktwit/thinktwit.php on line 145

Warning: file_get_contents(http://search.twitter.com/search.atom?q=from%3Adeleted&rpp=3) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /.../wp-content/plugins/thinktwit/thinktwit.php on line 145

Additionally I have added debug messages to assist in locating errors when calling the method that requests the Twitter feed.

I learnt some valuable lessons about creating AJAX capable widgets and maintaining their ability to multi-instance, so I will post a blog on this shortly.

About Stephen Pickett


Stephen Pickett is a programmer, IT strategist, project manager, RightNow and telephony expert, information security specialist, all-round geek. He is currently Professional Services Director at Connect Assist, a social business that helps charities and public services improve quality, efficiency and customer engagement through the provision of helpline services and CRM systems.


Stephen is based in south Wales and attended Cardiff University to study Computer Science, in which he achieved a 2:1 grading. He has previously worked for Think Consulting Solutions, the leading voice on not-for-profit fundraising, Fujitsu Services and Sony Manufacturing UK as a software developer.


Stephen is the developer of ThinkTwit, a WordPress plugin that allows you to display multiple Twitter feeds within a blog.


Leave a Reply