The Facebook SDK for PHP Development Environment has been set up in previous post. Before start preparing a Facebook application, let’s have some basic concept in creating a new Facebook App.
A Facebook application provide the ability of its user to read, write and query data via Facebook’s APIs. Therefore the authentication and authorization process play an important role in a Facebook application development.
The Facebook Platform uses OAuth 2.0 for authentication and authorization. It can be illustrated with the following flow chart:
The authentication and authorization process seems quite complicated at a first glance. However they are all handled automatically by calling the Facebook class of the facebook.php file that mentioned in previous post.
I will talk more about the authentication and authorization process in the next post before start writing codes for a Facebook App.