Facebook App Development : Currently, we only need to know that successful authorization we obtain the access token, a string that connect to query the Graph API if you want to get data publicly unavailable.Extension of the API Software Development Kits (SDK) provided official facebook that we mentioned authorize and facilitate the work of the API, but their use is not necessary. Currently,
Let's now create a Facebook developer account and register a first Facebook application, without having to embark development itself difficult.If you run the Facebook Developer application first, you will be asked to verify your account using your mobile phone.
Connect applications through Facebook
Fill in a name and linguistic variation application. Selected language will then be automatically applied to all dialogs, error messages, etc.You should now see all of the advanced options in the application. Many now skip and when you need to change anything, we will return to this screen later. For basic functionality you need to fill out an application App Namespace (applications will be available on
Canvas URL is the address on your application server (can be local host), in our case, we fill.Now navigate in the left menu on the "Advanced". In App Type should be activated by default option Web, we also activate the Sandbox mode - the application will then be available only to developers who choose.Read More
Migrations allow a completed section from Facebook.
Recent noteworthy sections Canvas Settings - Here we recommend keeping the default, i.e.760px width of the application (note that running tab has only 520px) and height automatically according to the height of content, the "Fluid"
Hello world and connect applications to PHP library
Now, if you type an address into your browser displays the contents of your Canvas URL. In the appropriate directory on your server, create an index php with a simple "echo" to verify that everything works as it should.