| The ubiquity of Facebook is hard to ignore. It started | | | | layers upon layers of detailed information and it is |
| as a local service that helped college students connect | | | | certainly in the best interests of the developer to |
| and has expanded into a worldwide phenomenon with | | | | become familiar with FBML and API. Indeed, FBML |
| millions of users accessing Facebook and associated | | | | and API allow you to manipulate a lot of this |
| applications every day. The size of the Facebook | | | | information so a more in-depth understanding of these |
| audience makes it a compelling platform for | | | | tools and the terminology used on the site. |
| developers as does the versatility of the site. There | | | | Experienced Facebook users, for example, will know |
| are a wide range of applications already being used on | | | | the difference between the News Feed and your |
| Facebook and the possibilities for new applications are | | | | Profile page and so should developers. |
| limited only to the developer’s imagination. So | | | | Step-by-Step Guidelines for Creating an Application |
| let’s discuss some of the basics when it comes to | | | | At this point, let’s discuss briefly the stages involved |
| building Facebook applications. | | | | in building a Facebook application. Of course you’ll |
| In the Beginning | | | | need to get the Facebook Developer Application to |
| Any developer who is hoping to write or install | | | | begin but from here there are some basic principles |
| Facebook applications must first have his or her own | | | | that should help guide you through the process. |
| Facebook account and then must install the developer | | | | 1. To begin setting up a new application select the |
| application. Facebook’s developer application | | | | “Set Up New Application” option in the |
| allows you to create, monitor, and configure | | | | developer application. You’ll want to name your |
| applications. In addition, you’ll need to secure | | | | application and you’ll also need to accept the |
| yourself a server as Facebook applications run form | | | | Terms of Service. Your API key is used so that |
| the developer’s server. The benefit of this is that | | | | Facebook can recognize your application and your |
| you can write the application in whichever language | | | | application secret are used so that Facebook can |
| you know best. For the sake of simplicity, examples | | | | authenticate your requests. Choose a secret that is |
| in this article will use PHP but the process is the same | | | | easy to remember and also difficult to hack as you |
| regardless of the language you use. | | | | would with any online password. |
| Once you have your Facebook account, have | | | | 2. The next step involves configuring a number of |
| downloaded the developer application, and have your | | | | settings before starting to write code. Under the |
| server ready to go, you’ll be ready to start | | | | “Edit Settings” section you can enter support |
| developing your own applications. Still, having a bit of | | | | and contact information, including your email address. |
| understanding of the Facebook platform will help you | | | | 3. A callback URL is required and this would need to |
| during the creative process. First and foremost, the | | | | be the address where your application is stored on the |
| fundamental components of Facebook are clearly | | | | server. |
| outlined on their developer site. Essentially, the | | | | 4. A canvas page URL is also required and this tells us |
| platform is made up of three parts: API, FBML, and | | | | where your application is stored on Facebook. |
| FQL. Of course, APIs determine the ways in which | | | | Developers usually want to match their canvas page |
| you can connect to and interact with Facebook. | | | | URL with their application name so that it’s easy to |
| FBML is the custom Facebook markup language | | | | remember for users. This URL must be a minimum |
| which has basically be modeled around HTML. While | | | | of 7 characters long and can include only letters, |
| similar to Coldfusion or ASP.NET and associated | | | | dashes, and underscores. |
| tag-based syntax, FBML helps you to define the | | | | 5. Next, Facebook will ask you whether your |
| pages of your application specifically for the Facebook | | | | application can be added on Facebook, obviously |
| Platform. And finally, FQL is the Facebook Query | | | | you’ll want to say “Yes.” |
| Language which is also a customized developer | | | | 6. To continue developing your application click |
| language for Facebook that is based on SQL. FQL is | | | | “Save and Continue.” |
| especially useful when there are no helper methods in | | | | While these are the most basic steps for creating a |
| the API but can also be used for tags in FBML giving | | | | simple application, configuring your application to your |
| developers an incredible amount of control over the | | | | host still needs to be completed. Nevertheless, |
| details of their application. | | | | experienced developers will find it an extremely |
| Facebook Development Tools and Resources | | | | straight forward exercise to develop Facebook |
| Like any development applications, Facebook features | | | | applications. The process is streamlined and simple |
| a range of tools and resources that can help | | | | so as to encourage the addition of new, interesting, |
| developers in a number of ways. Apart from the | | | | and interactive applications from a broad developer |
| core documentation, tools can also help you debug | | | | community. Regardless of culture, language, or |
| raw API calls or tweak the FQL. With Facebook | | | | location applications can be easily uploaded for the |
| resources you’ll find a collection of libraries for PHP | | | | enjoyment of the massive Facebook audience. |
| and Java as well as links to other libraries like | | | | Moonrise Productions is a full services San Francisco |
| ActionScript, Cocoa, Coldfusion, .NET, Perl, Python, and | | | | web design company. They offer complete design |
| Ruby. In addition, Facebook has an ever-expanding | | | | services, social network web development, |
| community wiki that can help answer any questions | | | | ecommerce development, social network hosting and |
| you may have about the details of developing | | | | more. With New York, San Diego, San Francisco and |
| Facebook applications. Because Facebook is a fairly | | | | a Los Angeles presence no matter where you are, |
| complicated social media network, pages often feature | | | | we've got people to serve you. |