By Hasin Hayder, Mark Alexander Bain

In Detail

Using fb purposes, builders can upload customized gains to 1 of the most well-liked web pages on this planet. fb is the most important social community between students, and is gaining flooring between execs too. fb functions allow you to upload new methods for clients to have interaction with one another utilizing Facebook.

Facebook functions are written in a server-side language, and hosted at the program developer's personal server. They interface with fb, so they seem to clients to be a part of fb itself.

This booklet exhibits personal home page builders tips on how to quick start development robust fb purposes, how one can paintings with info kept in fb, together with images, and the way to address multimedia and different customized facts inside of fb applications.

The e-book covers find out how to ship notifications and invites from inside of an software, replace a user's profile, create program keep watch over panels for clients, and lots more and plenty more.

What you'll research from this book?
• study fb software improvement via step by step examples.
• construct data-driven fb purposes, paintings with buddies lists, picture galleries, multimedia, and more.
• paintings with Facebook's defense version to provide purposes which are secure and functional.
• converse with clients via newsfeeds, notifications, invites, and messages.
• study the fb Hypertext Preprocessor API, and some of the markup languages you'll have to construct fb purposes: Mock Ajax, FBML, FBJS (a variation of JavaScript specifically for Facebook), and FQL.


This booklet builds in your wisdom as a personal home page developer to supply a fast paced, step by step educational in development fb purposes. The publication is choked with instance code and demo purposes, for you to see concepts in motion. alongside the best way we offer quickly references to crucial points of the API, so that you can refer again as you increase your personal functions with the book.

Who this e-book is written for?

This ebook is for PHP5 builders who are looking to create customized fb purposes. It assumes no wisdom of the fb API or Platform, yet does suppose that you're a fb consumer.

Show description

Read Online or Download Learning Facebook Application Development: A step-by-step tutorial for creating custom Facebook applications using the Facebook platform and PHP PDF

Best Programming books

Embedded C

For those that are approximately to write down their first embedded software - or were suffering to profit approximately this significant zone - this booklet will keep weeks of attempt.

Cocoa Design Patterns

“Next time a few child exhibits up at my door inquiring for a code assessment, this is often the e-book that i'm going to throw at him. ”   –Aaron Hillegass, founding father of substantial Nerd Ranch, Inc. , and writer of Cocoa Programming for Mac OS X   Unlocking the secrets and techniques of Cocoa and Its Object-Oriented Frameworks   Mac and iPhone builders are usually beaten by way of the breadth and class of the Cocoa frameworks.

C++ Primer (5th Edition)

Bestselling Programming instructional and Reference thoroughly Rewritten for the recent C++11 typical   totally up to date and recast for the newly published C++11 average, this authoritative and complete creation to C++ can assist you to benefit the language quick, and to take advantage of it in smooth, powerful methods.

Operating System Concepts

Retain velocity with the fast-developing international of working structures Open-source working structures, digital machines, and clustered computing are one of the prime fields of working structures and networking which are speedily altering. With significant revisions and organizational alterations, Silberschatz, Galvin, and Gagne’s working procedure suggestions, 8th version is still as present and appropriate as ever, assisting you grasp the basic thoughts of working structures whereas getting ready your self for today’s rising advancements.

Extra info for Learning Facebook Application Development: A step-by-step tutorial for creating custom Facebook applications using the Facebook platform and PHP

Show sample text content

In addition, please just be sure you are executing FQLS opposed to the viewer himself, or his/her community. To make it run-able, you'll want to regulate it like this: decide upon identify, pic_small FROM person the place uid = '' or: decide upon identify, pic_small FROM consumer the place uid = '' [ 109 ] Cooking person information operating with FQL, and effects facing FQL queries and the lower back resultset on your personal home page code, is sort of effortless. fb api_client made this relatively easy. After executing an FQL question, you will get the lower back resultset as XML, JSON or simply Hypertext Preprocessor array, after which you could technique them as you will have. let's examine the subsequent instance, the place we're retrieving a user's nation utilizing FQL, and exhibiting by means of personal home page code: api_client->fql_query("SELECT current_location. nation FROM consumer the place uid= '{$fbuser}'"); echo "Country is : {$result[0]['country']}" ? > subscribe to as Sub question you could practice take part FQL; even though it isn't as large as in unique SQL. FQL basically helps a subset of normal SQL features and DDLs. In FQL, you could sign up for tables simply through Sub question. that allows you to retrieve the identify and uid of all pals of the logged in consumer, you could look at the subsequent FQL for example: choose uid, identify FROM consumer the place uid in (SELECT uid2 FROM good friend the place uid1='logged in user') Please notice that you just can't adjust facts utilizing FQL. In infrequent situations, you must retrieve the identify of a consumer in FQL to reveal them. that will be aware of what the capture is, you'll find that the reaction is quite larger than traditional should you retrieve the names of those clients. and also you need not retrieve names only for showing, simply because there's a particular FBML tag (fb:name) for this function, and also you merely have to offer the consumer identity to that. let's see the subsequent code block the place you could show photos and names of the chums of presently logged in consumer. api_client->fql_query("SELECT uid2 from pal the place uid1= '{$fbuser}'"); Foreach($users as $user) { echo "

"; } ? > [ one hundred ten ] Chapter four it is going to provide you with anything just like the following, looking on your pal checklist. you could decrease the burden produced via next relaxation name through the fb API purchaser utilizing FQLs successfully. [ 111 ] Cooking person info powerful looking with constructions the schema, you can find that a lot of those columns are literally constructions containing a suite of comparable information. you could decide upon the fields from within these constructions, at once on your FQL question. for instance, the site in consumer desk is a constitution containing a few fields inside of it. you could opt for purely the rustic identify from this constitution. the subsequent instance will make clear this factor extra particularly: decide upon place.

Rated 4.25 of 5 – based on 25 votes