YYZtech.ca

Developer's Guide to Social Programming
Building Social Context Using Facebook, Google Friend Connect, and the Twitter API

A bit of REST, a bit of CodeIgnitor and a lot of JSON and APIs

By: Staff

AdSense

As the book’s title indicates, it covers using the APIs provided by Twitter, Facebook and Google to connect your site to them and share data between them. The book is organized into four sections, each looking at one platform and ending with a “putting it all together” chapter. It’s aimed at intermediate programmers familiar with PHP and web technologies including REST and JSON.

Each chapter starts with an overview of the platform, then provides an introduction to the API(s) and examples of how to use them. There are plenty of example code and some break-out boxes with either tips or explanations of terminology.

The first section is on Twitter and, in addition the the API,  this chapter covers the expected topics like the OAuth protocol Twitter uses for authenticating third-party sites, but it also covers newer features, like location awareness. The sections on Google’s OpenSocial and the Facebook platform are more involved as they, obviously, offer more ways to connect with other sites.  Having reviewed books on both OpenSocial and Facebook development in the past, the material here is more up to date. For instance,  Facebook has removed some ways developers used to be able to post to users profiles and and OpenSocial has continued to evolve and along the way gained some tools that make writing against it simpler that previously. I wouldn’t say this book is a replacement to a dedicated book on either OpenSocial or the Facebook platform, but it does cover how to do some common tasks.

Chapter 12 introduces the reader to the CodeIgniter, a bare-bones PHP framework, and builds a micro-blogging site (Sprog: Social PROGamming)  with it. Chapter 13 then takes this and integrates Twitter, Facebook and Google. It shows how to log-in with Google Friend Connect. In short, this is a practical example of plenty of developers might want to add their own projects.

Overall, this 300-odd page book teaches exactly what you’d expect it to, and touches on a bunch of related topics. There is plenty of example code written for PHP 5; which fortunately means there’s proper error handling (try/catch) used. The example application at the end will probably satisfy most readers looking to integrate these social sites into their own projects. It’s a readable book.

[asa]0321680774[/asa]

Date published: 11-Nov-2010

AdSense

Comments

AdSense

Related

Stealing MySpace

At one time this title actually made sense. Still, it's a good read about the birth and growing pains of the first big social network.

Friends With Benefits

Having mutually beneficial relationships with social networks? With a title like that, No Starch where asking for it.

Essential Facebook Development

Put your website on Facebook or put a bit of Facebook on your site, this book shows you how.

The Facebook Marketing Book

The book is a pretty slim volume, about 260 pages, but it’s an easy read too with plenty of screenshots.

Sponsored



2017 YYZTech



For American computers stores, visit: AmericanComputerDealer.com

Google+