Follow Us

New Twitter API integration in CodeIgniter

Quite recently, Twitter changed to API 1.1 and all previous API requests stop functioning. Not only their authentication API was not giving developers the user's email address, they had to push a little bit further and change their tweets retrieving API.

Anyway, here we were put to confront with the situation. The solution i will present here makes use of two existing solutions - one for writing tweets asynchronously with jQuery and one for fetching tweets via PHP.

This tutorial will show the basics for displaying tweets list for a specific twitter user on your website. From there, you can expand further more.

Read more: New Twitter API integration in CodeIgniter

CodeIgniter issue with question mark in queries

If you've played around enough with CodeIgniter you have been probably using the easier

$this->db->query($myQuery) 

in your Models.

Well, everything runs smoothly until you (or more likely one of the testers in your team) makes a query with a question mark in a string we are using in a LIKE condition.

Read more: CodeIgniter issue with question mark in queries

Disallowed Key Characters message in CodeIgniter and QapTcha jQuery plugin

An article by Robert

You will eventually run into an issue with CodeIgniter when you will get a blank page with a dummy message - Disallowed Key Characters.

And that's all you get.

I got this kind of error when submitting a form and could not understand where it came from. Searching a bit on the Internet, i found that it's related to a function located in /system/core/Input.php around line 728

Read more: Disallowed Key Characters message in CodeIgniter and QapTcha jQuery plugin