Latest Twitter Update:






Facebook Bigint UID Fix for PHP/MySQL

I spent quite a bit of time on this one and am sharing for those who run into it as well.

If you’re using PHP and MYSQL, you’ll run into an issue with long Facebook IDs (bigint). This will cause an issue when you’re doing queries with Facebook since PHP will attempt to convert it to a float. In php.ini you can bump up precision (25) and it should solve your issue, just do not try to convert your Facebook ID to an int.

// Jacob

Leave a Reply