Hi all,
Though points of view may differ from one person to another we should agree that Facebook is the largest and leading social network ever. Because they always care about users and what is the new for them, they also pay much care for the developers and their different web programming languages. So they have many sdks js, PHP, python …..etc.
Today we’ll have a look about creating free facebook app.s using the latest PHP sdk which they call it GRAPH.

First of all you need to have a facebook developer account and it’s easy and free. You can get a free one through that link facebook developer account and they will send you the activation code for your account as an sms (actually it’s more secure to do so :D).

Then go to your developer account through the previous link. The you click on the app.s tab at the top like that

Create a facebook app.

The click at the create button at the top

create button

The you’ll have the following screen where you can specify your app. name and hosting options.

create screen

as you can see the check box for the Heroku free hosting (which i’ll show you how to deal with in the following post).

The you’ll enter the captcha security key which will appear for you.

The you’ll have the following screen to enter your email to send you the hosting configurations.

hosting config

Then you’ll have your app. screen like that

app screen

if you’ll intend to have heroku free hosting so leave the app. domains blank, the click save you’ll have an error

so remove the text that has been written in the app domains, then every thing will be alright 😀 .

There another thing which you should know, all facebook app.s can be seen as a part of facebook so why we want to have hosting domain for them

THE ANSWER IS, facebook don’t host app.s but can suggest you free hosting domains like Heroku and then facebook app. has some property called CANAVAs which can view the app. as a part of facebook

Here’s a picture the may help you to understand how every thing is doing right

api interaction

Then how will you configure it?!

At the bottom of the page you have a tab called App on Facebook which you’ll specify the url of your app

such as the following picture

canvas config

Then don’t forget to click the “Save Changes” button when yo finish.

Here we are finished and you can get you canavas url as follows

choose the app name from the left tabs on the page and then you’ll find your canavas app. url as follows

canavas page

Then you’ll see the app canvas page as the following picture

canavas view page

And finally we are done, and wait for the next blog i’ll show you how to get started with Facebook Graph PHP sdk.

Hope you enjoyed 🙂


3 responses »

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s