Developing a FACEBOOK Application allows
the user to get into the core of FACEBOOK experience. The application made can
be integrate in different aspects of FACEBOOK including the News Feeds and
Notifications.
FACEBOOK applications are web
applications loaded in the context of FACEBOOK that is referred to as a Canvas
Page. FACEBOOK applications can be developed using different programming
language such as PHP, Python, Java and C#. A canvas page is a blank page where
the applications will be loaded. To make up the application, it needs a Canvas
URL. When a user request for the Canvas page, the canvas URL will be loaded
within an iframe. By default, the canvas chrome is 760 px but it can be set to
fluid canvas which means that the iframe is set to 100%.
How do FACEBOOK
Applications works? (1) The user will send a request from the web browser to
FACEBOOK for an application. (2) FACEBOOK will now ask the user for the
permission to grant access to the application so it can access the FACEBOOK
user’s basic information but this permission request may vary depending upon
the requirements of the application. (3) Once the user authorizes the
application, FACEBOOK can now access the code on the server. (4) FACEBOOK will
now load the application in an iframe on FACEBOOK;s official website. (5) Now,
if the application needs any FACEBOOK data such as user’s friends, news feed
and etc, developer will have to send request to FACEBOOK server with
application ID and Secret key which is provided upon registering to a FACEBOOK
application. (6) After receiving the request, FACEBOOK will now authenticate
and respond with data in JSON format.
0 comments:
Post a Comment