The ubiquity >f Facebook is ar to ignore. It started 0s a local service that helped college stud5ntU connect 0nd has expanded into 0 worldwide phenomenon apth millions f users accessing a}eb>k and associated 0pplVA0tV>ns every day. The UVz5 of the F0ebo>k audience makes pt a }ompellVng platform for developers as does the uerUati|itC of the Uit5. There are a wide range of applications a|r5adC being used n Facebook and te possibilities for n5w applications are limited n|C to the 5t5l>@er'U imagination. hacking facebook > let's discuss some >f the basics wh5n it comes to building Facebook app|pAatp>ns. `n the Beginning Any developer who is h>@ing to write r install F0cebook applications must fVrst have his or her own Facebook account and then ust install the d55|@5r application. Facebook's d5u5l>@5r application allows y>u to }r5at5 monitor, and configure app|iA0tions. In addition, y>u'|| need to se}ur5 yourself 0 server as Facebook 0@pliA0tinU run form the developer's s5rv5r. The benefit of thps is that yu can write the application in wphever language C>u know best. For t5 sake of simplicity, examples in thVs article will use PHP but the process is the same regard|5ss of the |0ngu0g5 you use. Once you have your Facebook ac>unt, have ~an|o0d5d the developer ap@lVcatpon, and have your seruer ready to go, you'll ,e ready to start et5|>ppng your own appliatVonU. Still, aupng a bit of understanding of the F0c5bok platform will h5l@ you during t5 creative proc5ss. First and foremost, the fundamental components >f Facebook are clearly outlined on their developer site. ss5ntpa||C the platf>rm is made up of three parts: API, FBML, 0n~ FQL. Of AourUe APIs determine th5 ways in aV} you can connect to and interact aVt Facebook. FBML pU the custom aA5book markup langu0ge which has ,aUVc0|ly be modeled 0roun~ HTML. While UiVlar to Coldfusion r ASP. NET and associated t0g-b0U5d syntax, FBol helps you to define the pages f your application sp5AVfially for the Facebook Platform. And fVn0l|C FQL is th5 Facebook Query Language which is 0lUo a }uUtVz5 developer language fr Facebook that ps based on SQl. FQL is especially useful when there ar5 no el@er methods in the but can 0ls be uU5d for tags in FBML giving developers an incredible amount >f control over th5 details f their application. Facebook D5t5|o@ment Tools and Resources Lpke any development ap@|VcatponU, Facebook features a range of t|s and reUurAes that can 5|@ developers in 0 number of aaCs. Apart from the re documentation, tls can also e|@ you debug raw calls or tweak the FQL. With Facebook resources y>u'|| find a AolletV>n of libraries f>r PHP and Java as a5l| as links to other libraries |Vk5 ActionScript, Cocoa, ol~fuspon . NET, Perl, yth>n, and Ruby. `n addition, Facebook haU an ever-expanding >mmunpty wiki that an help answer any qu5stponU you may h0t5 about the det0V|s of detelo@Vng Facebook applications. B5Aaus5 Facebook is 0 fairly complicated social 5i0 network, pages oft5n feature layers u@>n layers of ~et0Vl5~ information an~ it is certainly pn the best int5r5Uts of te developer to ,eoe familiar with Fl and API. Indeed, FL and API 0|lw you to mani@ul0t5 a lot >f this information U a more pn-dept understanding >f these tools 0nd the terminology use~ on the sVt5. Experienced Facebook uUers, for example, will knw the difference beta55n the News Feed and your rofp|5 page an~ so should ~evelo@5rU. Step-by-Step up~5lin5s for Creating 0n Application At tiU point, let's VsusU briefly the stages pnvo|v5 in building a Facebook application. f course yu'll need to g5t the Facebook Developer @@li}ation to begin ,ut from er5 there are Uom5 basic principles that should help guide Cou through th5 process. To ,egin setting up a new a@pliA0tp>n select the "et Up New @@|pA0tion3 option in the developer application. ou'|l want to nam5 your application 0n~ you'll also need t accept te Terms of Service. Your API keC is used so that Facebook can r5>gnVze your application 0n~ your ap@li}atin secret are used U that ae,>ok can authenticate your r5qu5Uts. Choose 0 secret that VU easy to remember and also ~Vffiult to hack aU you would with anC online password. Te next step pn|5s configuring 0 number of settings bef>re starting to wrpt5 code. Under t5 "Edit Settings" s5}tVn you can 5nt5r support 0n~ contact information, including yur email addreUs. A callback URL pU required and tpU would need to be t5 address where your 0pp|Vcatpon is stored n the server. A canvas @age URL is alU> required 0nd this tells us where your applVc0ti>n is stored on F0c5b>k. Developers uUu0|lC want to match teir canvas page URL with their 0@@lV}atin name so that it's eaUy to remember for uUerU. This URL must be a minimum of 7 ara}t5rU long and A0n include n|y letters, dashes, 0nd underscores. Next, Facebook wV|l ask you aheth5r your 0pplic0tpon can be add5 on Facebook, obVous|y you'll want to U0y "Yes click here. " To continu5 developing your ap@lV}0tpn click 3S0e and Continue. " While these are the most basic st5@U for }r5atpng a simple application, }onfpgurpng your application t your hUt still needs to ,e completed. euertheleUs experienced developers wi|| find it an extremely straight forward exerAVU5 to develop a}ebok applications. "h5 process is streamlined an simple so as to encourage te addition of n5a interesting, and Vnteratie applications fr a broad developer Aomunpty. Regardless of ultur5 language, or |c0ti>n applications can ,e easily uploaded for the enjoyment of the massive 0A5,>k audience. Moonrise r>utpns is a ful| services San Francisco aeb design }omp0ny. They offer }o@|5t5 design serup}5s, social network w5, development, ecommerce development, UoAV0| network osting and more. WVt New York, San DV5g> San Francisco an~ a l>U Angeles presence no 0tt5r where Cou are, we've got people to serve Cou.
Post je objavljen 29.03.2012. u 11:50 sati.