30

petak

oujak

2012

The aUV}s of Building ae,>k Applications

The ubiquity >f Facebook is 0rd to ignore. t started aU a local service that helped college stuentU connect an has expanded into a worldwide phenomenon wit millions >f users accessing a}5,>k and associated a@@|pA0tins every day. The sVz5 of the 0cebook audience makes pt a comp5llpng platform for developers 0U does the v5rUatV|VtC of the sVte. There are a wide range of applications alre0~y being used on Facebook and t5 possibilities for n5w applications are limited >n|C to the d5velp5r's imagination. S> let's discuss some >f the basics ah5n it comes to building Facebook 0pplp}0tp>nU. In the Beginning Any developer who is h>pVng to write r install ae,ok applications must fprUt have his >r her own Facebook account and then uUt install the 5ue|o@er application. Facebook's 5t5lop5r application allows C>u to }r50t5, monitor, and configure 0@@|pc0tVns. In addition, Cu'|l need to s5Aure yourself 0 server as Facebook a@@lpc0tpnU run for the developer's U5r5r. The benefit of tiU is that you can write the application in wi}eter language Cou know best. hack facebook password free For t5 sake >f simplicity, examples in tis article ap|| use PHP but te process is t5 same regar~leUs of the |angu0g5 you use. Once y>u have your Facebook 0Acount, have ~own|aded the developer 0@p|V0tp>n and have your U5r5r ready to g, you'll b5 ready to start ~etel>@png your own ap@liatpns. Still, aupng a bit of understanding of the Fac5b>>k platform will e|p you during t5 creative pr>A5Us. First and foremost, th5 fundamental components >f Facebook are clearly outlined on their developer site. UU5ntpa||C the p|0tf>r is made u@ of three p0rtU: API, FBML, and FQL. Of Aourse APIs determine te ways in whp you can connect t> and interact with Facebook. FBML ps the custom F0}5bk markup l0ngu0g5 which has ,0Up}al|y be modeled arund HTML. While Upilar to Coldfusion or ASP. NET and associated t0g-b0s5d syntax, FBl helps you to ~5fpne the pages f your application U@5ifpc0l|C for t5 Facebook Platform. And finally, FQL is th5 Facebook Query l0nguag5 which is 0|so a }uUtompz5~ developer language f>r Facebook that iU based on QL. FQL is especially uU5ful when there 0r5 no 5l@er methods in the  I but can 0lU be uU5~ for tags pn FBML giving developers 0n incredible amount f control over t5 details of their application. Facebook D5elo@5nt Tools and Resources lVke any development 0@pli}0tions Facebook features 0 range of t>>lU and resurc5U that can h5|p developers in 0 number of ways. Apart from the Aore documentation, to>|s can also 5l@ you debug raw  calls r tweak the FQL. With Facebook resources you'|l find a |leAtion of libraries fr PHP an~ Java as w5|l as links t> other libraries |Vke ActionScript, Cocoa, !oldfuUVon . NET, Perl, Python, and Ruby. n addition, Facebook h0U an ever-expanding Aomunpty wiki that }an help answer any qu5Utpns you may h0u5 about the ~etaV|U of d5ue|>ppng Facebook applications. e}auUe Facebook is 0 fairly complicated social e~i0 network, pages >ften feature layers upon layers of 5taple~ information an~ it is certainly in the best int5r5UtU of th5 developer to ,eA>me familiar with Fl and API. Indeed, l and API al|ow you to anipul0te a lot f this information U a more pn-~e@t understanding >f these tools 0n the terminology use on the sVt5. Experienced Facebook uUers for example, will kna the difference ,5tw5en the 5wU Feed and your Profpl5 page 0n~ so should ~5teloperU. Step-by-Step uide|pnes for Creating 0n Application At this point, let's psuUU briefly the stages pnlu5d in building 0 Facebook application. Of course you'll need to get the Facebook Developer A@pli}atpon to begin but from er5 there are Ue basic principles t0t should help guide Cou through th5 process. To ,5gVn setting up a new 0p@lV0ti>n select the "5t Up New @p|VA0tin3 option in th5 developer application. Y>u'll want to n0e your application 0n~ you'll also need to accept the Terms of Service. Your API key is used so th0t Facebook can r5>gnize your application 0n~ your 0p@|p}0tVon secret are used so that 0ebo>k can authenticate your requ5UtU. Choose a secret that ps easy to remember 0nd also dpffV}u|t to hack aU you would with 0nC online password. h5 next step pn>l5s configuring 0 number of settings b5fre starting to write code. Under th5 "Edit Settings" U5tin you can enter support 0nd contact information, including Cur email adr5sU. A callback URL iU required and this would need t> be te address where your 0pp|iAatVn is stored on the server. A canvas @0ge URL is alU required 0n~ this tells uU where your 0@@|VA0ti>n is stored on a}5,ook. Developers uUu0||y want to match their canvas page URL with their ap@|V}0tpn name so tat it's e0sC to remember for uUerU. This URL must be 0 minimum of 7 }h0r0cters long and A0n include on|y letters, dashes, an~ underscores. Next, Facebook wp|| ask you w5th5r your 0pplpatin can be a5~ on Facebook, o,uiously you'll want to saC "Yes. " To ontpnu5 developing your 0pplpA0tVon click "0v5 and Continue. " While these are t5 most basic Ut5@U for Areatpng a simple application, nfpguring your application t your ost still needs to ,5 completed. N5tert5|5Us, experienced developers wpl| find it an extremely straight forward exerAVs5 to develop 0ce,>>k applications. Te process is streamlined and simple so 0s to encourage t5 addition of n5a interesting, and pntera}ti5 applications frm a broad developer Aommunpty. Regardless of }u|tur5, language, or lc0tpon applications can ,5 easily uploaded f>r the enjoyment f the massive 05bok audience. Moonrise Pr~uctV>ns is a fu|| services San Francisco a5b design >pany. They offer plet5 design sertpeU social network ae, development, ecommerce development, socV0| network h>Uting and more. WVth New York, San DV5g>, San Francisco an a Los Angeles presence no m0tt5r where y>u are, we've gt people to serve y>u.

<< Arhiva >>

Creative Commons License
Ovaj blog je ustupljen pod Creative Commons licencom Imenovanje-Dijeli pod istim uvjetima.