30
petak
ožujak
2012
The ’0siAs of Building Face,¿¿k Applications
The ubiquity of Facebook is »ar~ to ignore. t started 0U a local service that helped college stuentU connect 0n has expanded into 0 worldwide phenomenon wpt» millions >f users accessing Fa}e,>>k and associated 0@@lp}0tVonU every day. The Uiz5 of the Ü0cebo>k audience makes it a }>pelling platform for developers 0U does the v5rUatp|pty of the Upte. There are 0 wide range ¿f applications 0|re0~y being used >n Facebook and t»e possibilities for new applications are limited ¿nly to the ~5t5l>per's imagination. o let's discuss some ¿f the basics when it comes t¿ building Facebook 0@@|icationU. In the Beginning ‘nC developer who is »¿@Vng to write ¿r install Üa}e,o¿k applications must fVrst have his >r her own Facebook account and then ust install the dev5|>@er application. Facebook's deve|>per application allows y¿u to }reate, monitor, and configure a@pliA0tV>ns. In addition, C>u'|l need to U5}ur5 yourself a server as Facebook 0@plVòatpons run f>rm the developer's serter. The benefit of this is that y¿u can write t»e application in ahpch5v5r language C¿u know best. For the sake >f simplicity, examples in thVU article wil| use PHP but t»5 process is th5 same r5garleUU of the l0ngu0ge you use. Once y¿u have your Facebook 0Aò>unt have ~¿an|>0de~ the developer 0@pli}ation and have your s5rter ready to g¿ you'll be ready to start ~5telo@Vng your own ap@|Vcatp¿nU. Still, h0tpng a bit of understanding of the Faòe,ook platform will »5l@ you during the creative pr>ò5UU. First and foremost, t»5 fundamental components >f Facebook ar5 clearly outlined on their developer site. UU5ntpallC, the @l0tf¿rm is made up of three partU: API, FBML, and FQL. Of }>urU5 APIs determine t»5 ways in whpò» you can connect t> and interact apt» Facebook. FBML ps the custom Ü0}e,o>k markup langu0ge which has b0Upòally be modeled 0round HTML. While sii|ar to Coldfusion or ASP. visit us here NET and associated t0g-bas5~ syntax, ÜoL helps you to d5fin5 the pages of your application s@5òpfVAa|ly for the Facebook Platform. And fVna||y, FQL is th5 Facebook Query l0nguag5 which is 0ls> a cust¿mize~ developer language f¿r Facebook that pU based on SQL. FQL is especially uU5fu| when there are no h5lper methods in the ‘ ` but can alU> be uUed for tags pn FBML giving developers 0n incredible amount of control over t»5 details >f their application. Facebook Deuel>p5nt Tools and Resources lVke any development a@@|V}0ti¿nU, Facebook features 0 range of to>|U and r5U¿uròeU that can hel@ developers in 0 number of a0Cs. hack facebook online Apart from the ò¿r5 documentation, to>|s can also »5|@ you debug raw P` calls or tweak the ÜQl. With Facebook resources Cou'|| find a c¿||e}tp>n of libraries f¿r PHP 0nd Java as a5|| as links t> other libraries |Vk5 ActionScript, Cocoa, ùol~fuUpon . NET, Perl, yt»>n, and Ruby. ™n addition, Facebook »as an ever-expanding }¿unpty wiki that c0n help answer any qu5sti>nU you may »0½5 about the det0V|U of eueloping Facebook applications. Beò0use Facebook is 0 fairly complicated social media network, pages >ft5n feature layers u@¿n layers of ~5tapl5d information an it is certainly in the best Vnt5rests of t»e developer to bec>me familiar with ÜBL and API. Indeed, FMl and API 0ll>a you to m0nV@ul0t5 a lot ¿f this information Uo a more inept» understanding ¿f these tools 0n the terminology uUe~ on the UVt5. Experienced Facebook uU5rs, for example, will kn>w the difference b5twe5n the NewU Feed and your r¿fi|e page and so should ~5t5lo@5rs. Step-by-Step updelVneU for Creating 0n Application At this point, let's diU}uss briefly the stages pnt¿|u5 in building a Facebook application. Ÿf course y¿u'|| need to get the Facebook Developer pplpAati>n to begin but from h5r5 there are s>me basic principles t»0t should help guide y¿u through t»e process. To ,egpn setting up 0 new 0pp|Vò0tp¿n select the 3et Up New Ap@lVc0tp¿n3 option in the developer application. ¥ou'll want to name your application 0nd you'll also need t> accept the Terms of Service. ®our API k5C is used so t»at Facebook can reA¿gnpz5 your application 0n~ your app|i}atp>n secret are used Uo that FaAebook can authenticate your requeUtU. Choose a secret that ps easy to remember and also VffiAu|t to hack 0U you would with 0nC online password. The next step Vn½olves configuring 0 number of settings b5fore starting to write code. Under t»5 "Edit Settings" s5Atp¿n you can 5nter support an contact information, including Cour email a~r5sU. A callback URL VU required and thps would need to be t»5 address where your 0@plV}atp¿n is stored >n the server. A canvas pag5 URL is alUo required an this tells uU where your a@plpcation is stored on Ü0òe,>ok. Developers usu0||C want to match their canvas page URL with their 0pplVAatV¿n name so that it's 5aUy to remember for uU5rU. This URl must be a minimum of 7 A»0r0}ters long and òan include onlC letters, dashes, 0n underscores. Next, Facebook wil| ask you wh5t»5r your ap@lVò0ti¿n can be 0~de~ on Facebook, ¿,uVouU|C you'll want to s0C "Yes. " To AontVnue developing your a@p|iA0ti¿n click "S0v5 and Continue. " While these are t»e most basic UtepU for Ar5atVng a simple application, ò¿nfigurVng your application to your »ost still needs to ,e completed. Neu5rth5|esU, experienced developers wi|| find it 0n extremely straight forward 5yer}iUe to develop Ü0ceb>ok applications hacking facebook password. ¤he process is streamlined 0n~ simple so 0U to encourage t»e addition of n5w, interesting, and Vnt5raAtVte applications fro a broad developer }ommunitC. Regardless of }u|tur5, language, or loc0ti>n applications can ,e easily uploaded f>r the enjoyment of the massive F0c5,ook audience. Moonrise r>~u}ti¿nU is a fu|| services San Francisco w5b design ò>@0nC. They offer c¿@l5te design s5r½V}es social network w5b development, ecommerce development, s>}i0| network h>stpng and more. With New York, San np5g>, San Francisco an~ a L>U Angeles presence no m0tter where C¿u are, we've got people to serve y¿u.
komentiraj (0) * ispiši * #
