In a recent project, I’ve been using public/private key encryption to transmit data from a mobile application to an API, keeping sensitive information secure as a result. This tutorial explains how you can create your own keys, and then use them to encrypt or decrypt data using PHP and OpenSSL.
As version v4.1 of the Facebook PHP SDK nears release (at time of writing), I though this would be a good time to explain how the new version works. Migrating your application from v4.0.x to v4.1.x will break your application.Facebook, Facebook Graph API, Facebook PHP SDK 4.1, PHP, Tutorial
The Facebook API lets you post to Pages you administrate via the API. With the release of Graph API v2.x and the new Facebook PHP SDK v4.0.x, I’m updating my old tutorial to show how to achieve the same functionality using the newer Graph API and PHP SDK.Facebook, Facebook Graph API, Facebook PHP SDK 4.0, PHP, Tutorial
With the introduction of the Facebook Graph API 2.0, access a user’s friends list was removed and limited to just friends who use the same application. However, Facebook added two new APIs to allow retrieval of Friend names (and indirectly a friend count).Facebook, Facebook Graph API, Facebook Graph API 2.0, Facebook PHP SDK 4.0, PHP