Build 10 games and learn game development along the way in this fast paced game development course

Get the source code of 12 commercial games, loaded 50+ million times, and learn the secrets of game design

Learn how to make a successful Flash game from a real world example. Fully commented source code

Create realistic Flash physics games from scratch with advanced features, from Angry Birds to Crush the Castle

Developing a Facebook Application for absolute beginners

With more than 300 million active users and 50% of them using it every day (source), Facebook can be an interesting way to make some viral marketing.

One of the most effective ways is developing an application users (and users friends – and friends of users friends – and…) will use every day.

This tutorial will guide you through the creation of a simple application that will display how many male and female friends do you have.

Requirements

To develop a Facebook application with this tutorial, you will need:

* An active Facebook account
* An hosting plan supporting php
* Being my fan

ehm, actually being my fan is not strictly required, but it’s strongly recommended :)

Getting started

Go to developers area and click on Set Up New Application

Give a name to your application and agree terms.

Then, Facebook will create an API key and a secret key. Write them down (well, it’s not necessary since you will always find them in this page, but having something to write down makes me feel like I’m dealing with something important).

At this time the application is ready to run, but you can add more information and icons.

When done, go to Canvas page

Here, you will b asked for a Canvas Page URL that is the unique url of your application. Being obviously unique, all best names have been already taken (just like .com domains). In Canvas Callback URL, you have to enter the URL of the page on your server that will host the application. Then set Render Method to FBML

FBML mode lets you quickly start building an application from scratch, which is good for a absolute beginners. We’ll see it more in depth during next tutorials

At this time your application is ready to be executed.

Download the client library and copy the content of facebook-platform -> php to the Facebook application directory in your server – the same path of Canvas Callback URL.

Your directory now should look like this:

Now, t’s time to create the application itself:

Line 3: including Facebook library

Lines 5-6: Declaring variables with API key and secret code… yes, the two codes seen before

Line 8: Initializing a Facebook API

Line 10: Requiring the user to be logged into Facebook before using the application. If they are not logged in they will first be directed to a Facebook login page and then back to the application’s page. Then save the user unique id into $user_id variable

Line 12: Storing in the $friends array the unique id of all friends of yours

Line 14: This is the first FBML tag we see: Fb:name renders the name of the user specified by uid attribute. In this case, it will display your name. More information about Fb:name at this page. You can see all available tags at this page

Lines 16-20: Creating a string with all of your friends ids separated by comma, such as uid1,uid2,uid3,...,uidn

Line 22: users_getInfo returns a wide array of user-specific information for each user id passed. As you can see, I pass the whole list of friends and I only want to know their sex. More information about users_getInfo at this page

Line 24: Creating an array where I will store all genders

Line 26-31: Determining the % of each gender (male or female) in my friends list. You can see some additional math because sex value can be blank

Line 33: Displaying the results

Now that your application is completed, you can submit it to the Application directory. Before you are able to do it, your application must have at least 5 total users or 10 monthly active user.

Take a look at the “finished” application.

It should output something like that

Warning: During the latest day there is a known bug called facebook auth_token loop that won’t allow you to run the application. If you experience problems, simply check back later.

Rate this post: 1 Star2 Stars3 Stars4 Stars5 Stars (154 votes, average: 4.62 out of 5)
Loading ... Loading ...
Learn how to make a successful commercial Flash game from a real world example: get the fully commented source code of Globez, a Flash game played millions of times which generated a four figure income. Limited copies available.

Get it now
Be my fan on Facebook and follow me on Twitter! Exclusive content for my Facebook fans and Twitter followers

This post has 115 comments

  1. Iggy Zuk

    on September 21, 2009 at 11:16 am

    woah emanuele, this one might be a start of a whole new hobby for me, thanks for a great simple tutorial c;

  2. Flo

    on September 21, 2009 at 1:07 pm

    Hi,

    The insideRIA blog provides also very nice tutorial in this very interesting facebook topic:

    http://blogs.oreilly.com/cgi-bin/mt/mt-search.cgi?IncludeBlogs=34&tag=Facebook%20API&limit=20&IncludeBlogs=34

    Thanks a lot for your tutorial!

    Flo

  3. Developing a Facebook Application for absolute beginners – step 2 : Emanuele Feronato

    on September 28, 2009 at 5:21 pm

    [...] It’s time to add some features to the application we created in step 1. [...]

  4. Shanison

    on September 29, 2009 at 5:00 am

    hey thanks for this tutorial

  5. Developing a Facebook Application for absolute beginners – step 3 : Emanuele Feronato

    on September 30, 2009 at 10:04 pm

    [...] step 1 we created a simple Facebook application, and in step 2 we made our application able to write on [...]

  6. Developing a Facebook Application for absolute beginners – step 5 : Emanuele Feronato

    on October 9, 2009 at 4:33 pm

    [...] Step 1: Creation of the application itself [...]

  7. Alex Duvot

    on October 14, 2009 at 5:33 am

    how do you do this on wordpress

  8. mie..

    on October 14, 2009 at 6:50 am

    “Now that your application is completed, you can submit it to the Application directory. Before you are able to do it, your application must have at least 5 total users or 10 monthly active user.”

    can you tell me solve this?i have problem about this..
    1)how i want to invite other user?
    2)until then..how i can view my app since it cannot submit to app directory yet..

    sorry for this dumb question and thank you for the tutorial..

  9. jack

    on October 15, 2009 at 10:09 pm

    Mie, yes, I was confused by this as well. As to question 2, to view your app, go to the canvas page url. In the above example, this would be:
    http://apps.facebook.com/genderz_demo

  10. Kelsey

    on October 26, 2009 at 10:49 pm

    This talks about posting a facebook app, but it doesn’t really go into actually ‘creating’ it.

  11. Creating a Flash Facebook application with the Facebook Actionscript API : Emanuele Feronato

    on November 4, 2009 at 2:11 am

    [...] suggest you to read the Developing a Facebook Application for absolute beginners posts from 1 to 5 if you don’t know how to create a basic Facebook [...]

  12. Stevor

    on November 10, 2009 at 4:43 pm

    I’m not familiar with php. Is it only me that gets:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /usr/local/pem/vhosts/147748/webspace/httpdocs/mosh/facebook.php on line 38

  13. Stevor

    on November 10, 2009 at 4:58 pm

    Hmm. Trying to get the client library for php 4

  14. german

    on November 24, 2009 at 9:35 pm

    but how do i do to publish this in the wall of the user how get this application?

  15. Horror Profile Facebook application source code released : Emanuele Feronato - italian geek and PROgrammer

    on December 4, 2009 at 11:25 am

    [...] I suggest you to read “Developing a Facebook Application for absolute beginners” posts 1, 2, 3, 4 and [...]

  16. tibbi

    on December 27, 2009 at 11:48 pm

    I also get this error:
    Parse error: parse error, expecting T_OLD_FUNCTION' or T_FUNCTION’ or T_VAR' or ‘}” in /3w/borec.cz/t/tibbi/facebook/facebook.php on line 38

    also this one :P
    Fatal error: Cannot instantiate non-existent class: facebook in /3w/borec.cz/t/tibbi/facebook/index.php on line 13

    Im not familiar with these things yet, what can I do? thx

  17. tibbi

    on December 30, 2009 at 11:24 pm

    nevermind, my host had php on 3.3 :D, works fine now

  18. Joe

    on January 6, 2010 at 12:30 am

    So this app half works for me. I get this when i go to the app on facebook.

    Hello Joey, you have 193 friends Notice:

    Undefined variable: infos in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 17 Warning: stream_context_create() has been disabled for security reasons in /www/zxq.net/j/o/e/joe-morrone/htdocs/facebookapi_php5_restlib.php on line 3390 Warning: fopen() expects parameter 4 to be resource, null given in /www/zxq.net/j/o/e/joe-morrone/htdocs/facebookapi_php5_restlib.php on line 3391 Warning: Invalid argument supplied for foreach() in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 26 Notice: Use of undefined constant male – assumed ‘male’ in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 30 Notice: Undefined index: male in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 30 Notice: Use of undefined constant male – assumed ‘male’ in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 30 Notice: Undefined index: male in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 30 Notice: Use of undefined constant female – assumed ‘female’ in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 30 Notice: Undefined index: female in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 30 Warning: Division by zero in /www/zxq.net/j/o/e/joe-morrone/htdocs/gender_app.php on line 30

    * Males: 0%
    * Females: 100%

    It correctly counts my total friends and knows my name, but I dont know what all that excess error data is and the percantages for males and femals is of course wrong. Been messing with this for hours now :(

  19. MoMo-Studio Development Blog » Blog Archive » Zetta Monster Plus….Facebook?

    on January 22, 2010 at 9:34 am

    [...] http://www.emanueleferonato.com/2009/09/20/developing-a-facebook-application-for-absolute-beginners/ [...]

  20. How I add facebook leaderboard to my Flixel Flash game. @ Life Is So IISD

    on February 1, 2010 at 8:05 am

    [...] If you do not know how to get start with Flash Facebook application, I suggest you to read a 5 part articles by Emanuele first. You can find the first part of the series >> HERE << [...]

  21. Birger

    on February 9, 2010 at 12:37 pm

    I guess you do need to hide the application secret by using PHP or javascript, but can you do what you do above using just Actionscript?

    It seems I do not need to embed my flash with a facebook tag.
    Why not? What if I do? whats the benefit if any?

    Please give us som clarification… cross the nation.

  22. Adding an iFrame to your Facebook Application in 2010

    on March 9, 2010 at 8:52 am

    [...] Developing a Facebook App for Absolute Beginners – Emmanuele Feronato [...]

  23. Facebook Blog

    on March 28, 2010 at 5:36 am

    i am still confuse,how to coonect with server???

  24. bigmander

    on April 13, 2010 at 6:10 pm

    did you edited that code on index.php?
    another question about these great post, did you configure anything to make this works because i follow the same steps and i cant see anything like yours!

  25. Jason Bass

    on April 26, 2010 at 6:07 pm

    I having the same issue as Stevor and tibbi…

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/j/b/a/jbass/html/nettravexpress/facebook-platform/php/facebook.php on line 38

    BTW, my host is GoDaddy, and is running PHP Version: PHP 4.x

    Any suggestions?

  26. vks

    on May 13, 2010 at 6:36 am

    Hi emanuele, Thanks for ur tutorials , it give a greate startup for me to facebook app.am sure it helps all begineers like me.Thanks a lot.

  27. Nik Ahmad

    on June 28, 2010 at 5:04 am

    Hi Emanuele, how much does it cost to set up a new facebook apps for me? .. the apps will be able to add a tab on everybody’s profile page, have flash in it, the flash contains forms, and the flash will dynamically get variables (like profile picture, profile id) to be included as one of the forms values (sent to my email)

    please email me your quotation.

    a demo of a finished product would be good.

  28. Rubal

    on July 7, 2010 at 12:20 pm

    Hi This is a great tutorial, It will help me out to push a program on FaceBook.
    Thanks alot :)

    http://technoguide.com

  29. Designing A Facebook Fan Page: Showcases, Tutorials, Resources - Smashing Magazine

    on July 7, 2010 at 1:32 pm

    [...] [...]

  30. Designing A Facebook Fan Page: Showcases, Tutorials, Resources | 

    on July 7, 2010 at 2:04 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  31. Designing A Facebook Fan Page: Showcases, Tutorials, Resources | Web Design Cool

    on July 7, 2010 at 3:10 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  32. Designing A Facebook Fan Page: Showcases, Tutorials, Resources | i know idea

    on July 7, 2010 at 5:40 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  33. Designing A Facebook Fan Page: Showcases, Tutorials, Resources « WebbyTuts | Resouces for Designers

    on July 7, 2010 at 6:06 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  34. TG Designer » Designing A Facebook Fan Page: Showcases, Tutorials, Resources

    on July 7, 2010 at 7:15 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  35. Adding RSS Feeds to Your Facebook Fan Page – Static FBML and 3rd-Party Apps | HyperArts

    on July 8, 2010 at 3:00 am

    [...] And here’s a very helpful tutorial on creating Facebook canvas applications for beginners. [...]

  36. ArticleSave :: Uncategorized :: Designing A Facebook Fan Page: Showcases, Tutorials, Resources

    on July 8, 2010 at 8:07 am

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  37. Smashing Magazine: Tim’s shared items in Google Reader: Designing A Facebook Fan Page: Showcases, Tutorials, Resources | XtremelySocial.com

    on July 10, 2010 at 6:48 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  38. Designing A Facebook Fan Page: Showcases, Tutorials, Resources « YouTooDesign

    on July 19, 2010 at 3:53 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  39. yandos

    on August 11, 2010 at 6:01 pm

    Thanks for the tut. it was not only good, but it also made me smile :D

  40. Warren

    on August 14, 2010 at 1:27 pm

    I am trying to download the .php library you discuss above
    [ At this time your application is ready to be executed.
    Download the client library and copy the content of facebook-platform -> php to the Facebook application directory in your server – the same path of Canvas Callback URL.]

    but the link is broken.

    Where are the files you refer to now kept or is this process no longer possible?

  41. Weekend Inspiration: Facebook Resources | Fat Dude Design: FatBlog!

    on August 22, 2010 at 6:46 pm

    [...] Creating a Facebook Application -  a beginner’s guide by blogger Emanuele Feronato. If you’re html-savvy and ready to add even more interactivity than your Static FBML page offers, this is  a great place to start. [...]

  42. Web design Brisbane Adriana

    on August 25, 2010 at 5:38 am

    mmmmhhh. I just discovered this blog and I cannot get enough of it! This is a great post for me, because now I am in charge of a facebook fan page of a company and we are barely starting! I read the applications in facebook, and I found them too complicated… This is easy to understand! Thanks!!! (I already became your facebook fan)

  43. Sir Bertly

    on August 27, 2010 at 2:56 am

    OMG!!! I am like half way, and I am laughing so hard already!!! you are a great writer!! Thanks for the tut…..now lemme try finish it. Got my pen and paper out so that I can feel important too!! Haha!!

  44. Smashing Magazine: Designing A Facebook Fan Page: Showcases, Tutorials, Resources « Facebook applications for developers

    on September 3, 2010 at 5:31 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  45. marciorosa.org » Developing a Facebook Application for absolute beginners - Complete listing Tools and resorces for the ultimate web developer

    on September 9, 2010 at 4:13 am

    [...] by Emanuele Feronato [...]

  46. Mircea

    on September 12, 2010 at 11:32 am

    Seems that Facebook changed the way that applications are created, please update your tutorial

  47. Vishwas

    on September 15, 2010 at 7:27 am

    hey!,
    is connecting facebook with flash, can be done in similar way ? thanks.

  48. Dmillos

    on September 17, 2010 at 7:14 pm

    Hi warren, I was wondering if you were able to find the files, I am currently trying but it seems that it is different now,

    thanks,

    -Daniel

  49. blind beginner

    on September 20, 2010 at 12:41 pm

    im still cant understand it. its so simple to you, not me
    would you send me via email? plz
    video tutorial seems better, perhaps
    sorry my language
    n thanks

  50. udayanga

    on October 5, 2010 at 10:16 am

    I got this error msg.what should I do?plz help me.

    Fatal error: Call to undefined method Facebook::require_login() in /home/petslk8/public_html/fb/index.php on line 10

  51. Sayeam Khan

    on October 9, 2010 at 4:46 pm

    This tutorial will help me to start developing Facebook Application. Thanks a lot to the author.

  52. Matt

    on October 11, 2010 at 7:14 pm

    It seems facebook has changed. I don’t have the ‘canvas’ section on the left hand side. Or am i missing something? Please help.

  53. Daniel

    on October 12, 2010 at 10:54 am

    Hi Emanuele, i have a problem.
    I make a game but I can not get the screen permissions, in your app you have this screen, how i do?

  54. Thanks

    on October 21, 2010 at 3:07 pm

    If you click on something on the page, then press the browser back button you get the out put below and the Facebook portion has disappeared:

    Warning: Cannot modify header information – headers already sent by (output started at /home/triqui/public_html/gamemummy.com/facebook/genderz_demo/index.php:26) in /home/triqui/public_html/gamemummy.com/facebook/genderz_demo/facebook.php on line 390

    Warning: Cannot modify header information – headers already sent by (output started at /home/triqui/public_html/gamemummy.com/facebook/genderz_demo/index.php:26) in /home/triqui/public_html/gamemummy.com/facebook/genderz_demo/facebook.php on line 390

    Warning: Cannot modify header information – headers already sent by (output started at /home/triqui/public_html/gamemummy.com/facebook/genderz_demo/index.php:26) in /home/triqui/public_html/gamemummy.com/facebook/genderz_demo/facebook.php on line 390

    Warning: Cannot modify header information – headers already sent by (output started at /home/triqui/public_html/gamemummy.com/facebook/genderz_demo/index.php:26) in /home/triqui/public_html/gamemummy.com/facebook/genderz_demo/facebook.php on line 394

  55. Facebook Applications

    on November 9, 2010 at 10:30 am

    hey thanks its help me alot

  56. Mosaic

    on November 13, 2010 at 3:55 am

    This is very helpful and useful, thanks for sharing, great work.

  57. NEha

    on December 1, 2010 at 1:49 pm

    I cant find the client library

  58. NEha

    on December 3, 2010 at 12:39 pm

    can anybody tell me where to find client libraries???

  59. kiran

    on December 7, 2010 at 11:53 am

    nice tut .

  60. Chriss

    on December 14, 2010 at 6:02 am

    Thnx…. great tutorial!!!

  61. Mr Goldfinger

    on December 14, 2010 at 11:11 pm

    Emanuele,

    nice tutorial, cleared my head after starting with the FB api right away.

    Greetz from Hamburg, DE

  62. reks

    on January 6, 2011 at 8:22 am

    Where is my Facebook application directory?

  63. reks

    on January 6, 2011 at 9:13 am

    do we need our own domain??

  64. WK

    on January 6, 2011 at 9:37 pm

    Hi everyone,

    I am completely new to this and am excited to give it a shot. Will you please give me some recommendations on a great place to get “a hosting plan supporting php.” Is there a cost effective, reliable, easy to use, company that I should try (possibly with some sort of customer support)?

  65. vishwa

    on January 22, 2011 at 6:36 pm

    when i go to developer page i get an error

    An error occurred with Developer. Please try again later./b>

    pls help me

  66. vibhas

    on February 15, 2011 at 10:32 am

    i dont understand that server thing at all please help . plz somebody …

  67. Carlos Hernandez

    on March 14, 2011 at 2:38 am

    Hi, do you have an updated version of this tutorial since facebook changed their API during 2010 and they are deprecating FBML?
    If so, please send me the link.

  68. Designing A Facebook Fan Page: Showcases, Tutorials, Resources

    on March 28, 2011 at 7:44 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  69. Shawn

    on March 30, 2011 at 9:12 pm

    The demo isn’t working over HTTPS. Bummer. Facebook forces you to use HTTP to view the demo.

  70. Haseebp

    on April 9, 2011 at 6:55 pm

    Download the client library and copy the content of facebook-platform -> php to the Facebook application directory in your server – the same path of Canvas Callback URL.

    Please Explain this Step!!!

  71. petri

    on April 13, 2011 at 11:38 am

    nice one!
    thanks a lot – i found a nice tweet for application-development, maybe it’s helpful for some of you too: http://twitter.com/cr8ingapps

  72. Designing A Facebook Fan Page: Showcases, Tutorials, Resources | W Design Love | Graphic and web design blog

    on April 20, 2011 at 3:21 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  73. facebook comments

    on April 24, 2011 at 6:12 pm

    I have gone to the points given by you to developed the facebook application
    I want to developed the apps for my scraps Website.
    Please help if you give some other places from where i get the information.

    Thanks

  74. Facebook – Maximize sua presença na rede social | BLOG SAMIRDESIGN

    on April 26, 2011 at 7:42 pm

    [...] Developing a Facebook Application for Absolute Beginners Tutorial minucioso escrito por Emanuele Feronato. [...]

  75. Gpak

    on May 14, 2011 at 10:20 pm

    This has really enlightened me

  76. Recursos para diseñar y programar una página de fans en Facebook

    on May 18, 2011 at 9:22 am

    [...] Developing a Facebook Application for Absolute Beginners [...]

  77. Designing A Facebook Fan Page: Showcases, Tutorials, Resources | Kill your Time

    on June 1, 2011 at 7:54 am

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  78. Designing A Facebook Fan Page: Showcases, Tutorials, Resources | Sejix Technologies Blog

    on July 12, 2011 at 4:36 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  79. Facebook Fan Page Showcases and learning Resources - Wordpress Arena

    on August 14, 2011 at 2:22 am

    [...] Applications: 2010 Recent modifications in Facebook’s API further restricted the use of iFrames. Developing a Facebook Application for Absolute Beginners With more than 300 million active users and 50% of them using it every day (source), Facebook can [...]

  80. Amit

    on August 22, 2011 at 9:50 am

    Thanks for the wonderful tutorial!

  81. Designing A Facebook Fan Page: Showcases, Tutorials, Resources | Tips4Designer

    on August 23, 2011 at 6:32 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  82. Areeb

    on August 26, 2011 at 5:27 am

    Cool app Keep it up

  83. Designing A Facebook Fan Page: Showcases, Tutorials, Resources - Pixel Promote

    on September 6, 2011 at 2:02 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re an effective tool for enhancing interactivity and engaging users. Fortunately, creating a Facebook application is not that difficult. Learn how to do it by reading this thorough tutorial by Emanuele Feronato. [...]

  84. Designing a Facebook fan page: Showcases, Tutorials, Resources - Pixel Promote's Blog

    on September 9, 2011 at 12:13 pm

    [...] Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of the success of the fan pages on Facebook. Are effective tools to enhance interactivity and attract users. Fortunately, creating a Facebook application is not so difficult. Learning to read this complete tutorial Feronato Emanuele. [...]

  85. Arun

    on September 20, 2011 at 2:17 pm

    Hey! Here’s a python tutorial for making python facebook apps on Google App Engine!

  86. Arun

    on September 20, 2011 at 2:18 pm

    Hey! Here’s a python tutorial for making python facebook apps on Google App Engine!

    http://blog.arunbalan.in/2011/09/20/facebook-canvas-apps-with-python-on-google-app-engine-super-simplified/

  87. goldcrusaider

    on October 7, 2011 at 4:18 pm

    Great tut thank you, It really helps. I have a question from the part you wrote about entering a canvas URL:”In Canvas Callback URL, you have to enter the URL of the page on your server that will host the application. Then set Render Method to FBML”

    So if I need a ‘canvas call back URL’ can I create a blank webpage, name it a unique name, then place that blank page on my host server? will that do the job? Im confused Im a newbie at this, thanks for any help you can give me.

  88. Bob

    on October 7, 2011 at 4:58 pm

    hey i am having this error

    Fatal error: Uncaught exception ‘FacebookRestClientException’ with message ‘parameters uid or session key required’ in /home/sfc123/public_html/facebook/includes/facebookapi_php5_restlib.php:1734 Stack trace: #0 /home/sfc123/public_html/facebook/includes/facebookapi_php5_restlib.php(401): FacebookRestClient->call_method(‘facebook.friend…’, Array) #1 /home/sfc123/public_html/facebook/world.php(9): FacebookRestClient->friends_get() #2 {main} thrown in /home/sfc123/public_html/facebook/includes/facebookapi_php5_restlib.php on line 1734

    I Don’t get a word!!wat dis error means.. PLEASE HELP..

  89. ms-room.com

    on November 15, 2011 at 3:29 pm

    library cannot download
    please reupload
    thanx

    [bookmarked]

  90. Developing Your First Facebook Application | Video Game Design Experts

    on November 17, 2011 at 1:06 am

    [...] recommend taking a look at this site for Facebook API and game creation. … other posts by EIC Paul [...]

  91. Designing A Facebook Fan Page: Showcases, Tutorials, Resources

    on January 2, 2012 at 2:44 am

    [...] can still be used in the Canvas Pages application, though, which is the topic of this tutorial. Developing a Facebook Application for Absolute Beginners Applications have proven to be an essential component of successful Facebook fan pages. They’re [...]

  92. Joby Joseph

    on February 9, 2012 at 9:41 pm

    How To Create a Facebook Application, by Joby Joseph http://bit.ly/AdW6zl

  93. 2bigpigs

    on April 12, 2012 at 10:39 am

    Thanks for the tutorial.

    And here’s a link for those who can’t download the PHP platform files.
    https://raw.github.com/facebook/platform/master/clients/packages/facebook-platform.tar.gz

  94. mazhar

    on June 12, 2012 at 12:44 pm

    wonderful post, finally found a useful article for facebook app creation. keep up to good work mate

  95. Aman Arora @ Tech HowTos Blog

    on June 21, 2012 at 4:45 pm

    It looks like a good tutorial but I guess facebook has done changes to interface of developers panel and images that are in the tutorial doesn’t really match current panel. Will you be able to update the tutorial or something like that?

  96. nairamania

    on September 1, 2012 at 10:49 pm

    Hello, where can I download the e-book, I need to sit down and study it.

  97. Lew Chin Hoong

    on September 6, 2012 at 11:56 am

    Hi guy, do check out my tutorial on how to create facebook help, hope it help :)
    http://woolei.com/how-to-create-facebook-application/

  98. nairamania

    on September 10, 2012 at 9:34 pm

    Hello Lew Chin, thanks you tutorial rocks!

  99. nairamania

    on September 10, 2012 at 9:37 pm

    I mean your tutorial rocks!

  100. Susheel Seth

    on September 19, 2012 at 7:51 pm

    Not Working…the authentication method is old…

  101. Mamun

    on September 23, 2012 at 7:20 pm

    hello guyz here i’m selling facebook pva (phone verified account).

    >facebook PVA with 2 demo apps (complete profile)
    >facebook PVA (complete profile)
    >facebook bulk account

    price:
    facebook PVA with 2 demo apps: $0.60 (complete profile)
    facebook PVA : $0.50 (complete profile)

    so mates feel free contact me.
    email : mamun.enter@gmail.com

  102. Divyanshu Negi

    on October 4, 2012 at 2:01 pm

    great post , creating a facebook app for my website these days , your post seems interesting.

  103. Kushal Shah

    on October 27, 2012 at 2:52 pm

    hey please write one article about tutorial on how to add paypal donate button on my blog.

  104. rajan

    on October 27, 2012 at 6:42 pm

    ultimate tutorial rocks………,

  105. Rex

    on November 26, 2012 at 5:18 pm

    For beginners its good to have lessons but for advance and proficient development .. http://www.appostrophic.com/facebook-application-development/

  106. Abid

    on December 21, 2012 at 3:03 pm

    Thanks man, it help me alot in making my first application on facebook.

  107. surficle

    on January 25, 2013 at 5:22 pm

    Thanks for sharing, now i can begin my own facebook application..!

  108. sam

    on February 23, 2013 at 10:13 am

    Hi,
    any way great tutorial. but that Facebook say FBML is removed. witch you use here. So can you explain new way of doing this.
    thanks

  109. Maaz

    on June 15, 2013 at 10:49 am

    When a new project is created, make sure you “save all” before you start coding . This solves Class errors :)

  110. Qmobile games

    on July 15, 2013 at 2:55 pm

    Class errors

  111. Nitin

    on September 11, 2013 at 8:12 am

    How can we monetize the facebook applications?

  112. reddy

    on November 14, 2013 at 8:22 pm

    From the past 1 week i am concentrating on Facebook apps,this tutorial gives me more information about Facebook Apps.

    Thank you Author

  113. Deepak

    on January 14, 2014 at 5:46 am

    how can make the output result of this php script as a attractive images….

  114. CLIENT/SERVER WEB DEVELOPMENT – WEEK 17 Part 1 | enriquemizziem819

    on March 6, 2014 at 12:50 am

    […] http://www.emanueleferonato.com/2009/09/20/developing-a-facebook-application-for-absolute-beginners/ […]

  115. kimalfonso90

    on July 16, 2014 at 3:06 pm

    Thanks for sharing such an informative and helpful blog.
    It is very helpful for the beginners, also one can hire some professionals who can assist you with their best guidance and tips in developing the desired applications. NDOGZ is one such organization providing you with the technical assistance. Visit Online: http://www.ndogz.com/

Thank you for the download!!

I hope you will find it useful and make something interesting out of it

To keep up to date with the blog, why don't you like my Facebook page and follow me on Twitter?

Want to learn more? Don't miss this:

Learn how to make a successful commercial Flash game from a real world example: get the fully commented source code of Globez, a Flash game played millions of times which generated a four figure income. Limited copies available.

Get it now

×