Matt Williams' Blog: Implementing oAuth Twitter with CodeIgniter
Note: This article was originally published at PHPDeveloper on 27 August 2010.
On August 31st Twitter will be axing basic auth GET requests, which is being overtaken by the more secure oAuth, there are a few tutorials out there on how to use oAuth and how to get started creating an app with CodeIgniter, but not many with actually helpful advice so here is my 2 penneth.
The library makes it simple to connect to the Twitter servers with your key/token combination and run a check against the credentials via a simple "oauth()" method call. Sample code is included in the post to make implementing easier.