CodeIgniter and Twitter
2011-10-24 14:39:30
I stumbled upon a really neat CodeIgniter Library in order utilize the Twitter API (Github). So far I’ve did some REST calls tests, and after some major frustration due to the fact that I believe there is a slight bug with the $_apiUrl within the Tweets Library file.
$response = $this->_httpRequest(strtoupper($method), $this->_apiUrl.'/'.$this->_version[0].'/'.$path.'.json', $args);
The problem was the lack of version number within the url string. I threw in $this->_versionl[0].’/’ to fix the issue.
Just a little fyi that may help someone in the future.