Facebook Graph API – The missing part

As you all know recent changes in privacy issues made Facebook to change their basic API and added some security concerns. From my best practise, most of the old applications are safe, but you will be in trouble when you create new application. By default you cannot access user’s photos, profile pictures , albums etc. [...]

4 Comments , , , , , , , , , , , , , , , , , , , ,

Facebook Graph API for PHP

Like the old REST API, you don’t need to add 2-3 files for Facebook PHP SDK. The new graph api comes in a single file which is located at http://github.com/facebook/php-sdk/ Copy the facebook.php file in to your webroot and include this file in your php code. require_once(‘facebook.php’); To work fully functional, you need CURL and [...]

3 Comments , , , , , , , , , , , , , , ,

PHP Session problem with cloud server

There is a very strange issue with PHP session when you prefer session to save in files other than database (normal session). The problem is: some times you can access all the saved session values from $_SESSION and sometimes it returns a empty array. If you refresh 10 times, perhaps 4 times you will get [...]

1 Comments , , , , , , , , , , , ,