Facebook fan page is the most required thing for your brand or website to reach more people via social. Facebook Pages by default applications for Photos, Videos and Events, if you would like to add custom pages with other information like product Look Book, Offers, etc. This post explains you to how to create an application for Facebook Fan page, take a quick look at the following steps.
9lessons Fan Page Live Demo
Step 1
Open the Facebook Developer page and create an application and click Create New App button.
Give valid application name.
Disable the Sandbox mode.
Step 2
Create a simple HTML page with the following dimensions. Take a look at this page.
body
{
width:730px;
height:680px;
}
{
width:730px;
height:680px;
}
Note: Facebook allows only https SSL urls, try to host your pages at Dropbox or Google Docs.
Step 3
Here give the HTML page urls one is http while the other one is https, and upload tab image with 111×74 pixels dimensions.
Step 4
Copy the application ID from the URL.
Step 5
Execute the following URL with your application ID.
https://www.facebook.com/dialog/pagetab?next=http://facebook.com&app_id=Your_Application_ID
Step 6
The above Facebook pagetab URL will prompt with following screen, here map the pagetab with your Fan Page.
Step 7
Final result HTML page inside Facebook
Step 8
You can change the application display position while clicking edit icon.
Can it be an PHP or Javascript App?
ReplyDeletewow that was great
ReplyDeletethank you , for the tutorials.
ReplyDeletethank you.
ReplyDeleteyeah, you can include you'r php/js script in the page that you link forward( in step 3 )
ReplyDeletethanks for the tutorial, srinivas your awesome!
Thank you Srinivas....
ReplyDeleteNice one, but having troubles hosting the file at dropbox and Google drive. Facebook keeps displaying a connection error eventhough I got the link to the hosted file from both dropbox and G drive. I suspect they are not reading the file as HTML or what could have happened?
ReplyDeleteI really need your help pls. Dont have SSL on my domain, wld av used that.
All process done very well but there are only blank page appear..!! whats wrong with me.. files are uploaded on google docs and sharing permissions are according to public that anyone can view .!! please resolve this problem..
ReplyDeletethank you for this toturial.
ReplyDeleteGreat!
ReplyDeleteWhy set a width of 730px when it can be 810px?
ReplyDeleteSeu trabalho é excelente parabéns, saudações aqui do Brasil. : )
ReplyDeletethanks for the great tutorial.Your websites design is very nice and it loads very fast.
ReplyDeletethanks for the geat tutorial
ReplyDeletenice post , keep going
ReplyDeleteHello Srinivas,
ReplyDeleteThanks for sharing all good post liked it...
can u please help us with detail configuration of stories in opengraph for game application
good post, thanks!
ReplyDeleteGreat :) thank you for this Tutor..
ReplyDeleteGreat tutorial! Thanks.
ReplyDeletethanks for this tutorial, but i'm recieving connection timed out error when loading the page following the last step
ReplyDeleteI've followed the steps but being shown a Dropbox error on Facebook. Anybody else had this problem?
ReplyDeleteFor those of you getting an error in Facebook, make sure you use the public link of the .html in Dropbox but shorten the link before copying.
ReplyDeleteDoes this mean that I really have to get an HTTPS to make an app? It's been a while since my last creation of app which allows me to make an app even with a ghost HTTPS link.
ReplyDeleteAlso how can i make google docs to host my files? I tried uploading a file in google drive and used its link as the Canvass URL and Secure Canvass URL but when I load my app page it's not working. Am I missing something? Hope to hear from you soon. Thanks!
I've done it and successfully uploaded a file via google drive. Unfortunately, the canvas page is still blank despite of following the instructions above. I hope you can help some of us who's experiencing the same problem. Thanks! :)
ReplyDeleteyour outstanding work is appreciable
ReplyDeleteHi, great tutorial. I have a question. Is it possible thath every user can set his own data in page tab? E.g. user x has favorite web site y, user a has favorite web site b. Probably I should use page tab edit url, but I dont know how? Thanks
ReplyDeleteAwesome !
ReplyDeletethank you . ... .
ReplyDeleteLooking Great teacher
ReplyDeleteThank you sir.
How can I create a custom image to share on facebook containing user data/images in PHP. Although I can develop html for the same but could not convert it to Image.
ReplyDeleteHello sir ..I have crerated a google drive hosted page..but after adding to facebook application.It doesnot appear.
ReplyDeletePlease look at this google drive hosted web page :
https://googledrive.com/host/0BwqnrSFwpRLWUWp4UnAxMmRHbGM/kiki.html
Hi Srinivas Useful tips for beginners. Cheers up :)
ReplyDeleteHello sir ..I have crerated a google drive hosted page..but after adding to facebook application.It doesnot appear.
ReplyDeletePlease look at this google drive hosted web page :
https://drive.google.com/folderview?id=0B6Q9xUD8-M5FZ0FremRQWlhYM2M&usp=sharing
thank's
ReplyDeleteAm very much inspired with you sir .. Hats off to u !!!!
ReplyDeleteThanks, I like it, it's useful and amazing
ReplyDeleteHello
ReplyDeleteHow to create Facebook New Application using PHP ?