Facebook Connect with PHP SDK v4

Since my last post about Facebook connect back in 2012, Facebook still remains the top user registration source, well at-least in my imagination! And recently they have released PHP SDK version 4 with significant changes. So, today we are going to talk about it a bit and try and create a working Facebook Sign-Up page using their SDK v4.

Useful PHP Snippets

If you are looking for useful PHP snippets, here’s list compiled from my previous posts. I am sure this list will come in handy for you in your PHP projects.

Backup MySQL Database Using PHP

It is always a good idea to backup your MySQL database often as possible, because you don’t want to risk your entire work over some technical failure, you want to make latest copies of your database and keep it somewhere safe. Some web hosts do offer such backup features, you just have to push “back-up button” and you are good to go. But if not, you can also backup using PHP exec() function explained in this post but this function may be disabled by most host for security reasons, so in that case you can use this nifty PHP functions to back up your entire database tables.

Get Latest Twitter Status Easily with PHP

Recently I wanted to display my Last Tweet on a website, but you may have noticed that the old Twitter API v1.0 doesn’t work anymore, the new update 1.1 requires authentication in order to interact with Twitter, which means there is no straight forward way of doing this without obtaining Twitter API keys.