In The Developer’s Guide to Social Programming, Mark Hawker shows developers how to build applications that integrate with the major social networking sites. Unlike competitive books that focus on a single social media platform, this book covers all three leading platforms: Facebook, OpenSocial, and Twitter. Hawker identifies the characteristics of superior, highly engaging social media applications, and shows how to use the Facebook platform, Google Friend Connect, and the Twitter API to create them.
You’ll find practical solutions and code for addressing many common social programming challenges, from site registration to search, blog commenting to creating location-based applications. Hawker concludes by walking you through building a complete, integrated social application: one that works seamlessly across all leading platforms, and draws on powerful features from each. Coverage includes
- Working with the Twitter API, including the Search API, Lists API, and Retweets API
- Authenticating users with Twitter OAuth
- Mastering the Facebook API, FQL, and XFBML
- Utilizing the Facebook JavaScript Library for creating dynamic content, and animation
- Exploring the Google Friend Connect JavaScript API, and integrating with the OpenSocial API
- Using Facebook’s tools for sharing, social commenting, stream publishing, and live conversation
- Using the PHP OpenSocial Client Library with Google Friend Connect
- Creating, testing, and submitting Google Friend Connect gadgets
Author(s): Mark D. Hawker
Series: Developer's Library
Edition: 1
Publisher: Addison-Wesley Professional
Year: 2010
Language: English
Pages: 335
Table of Contents......Page 8
Twitter API Essentials......Page 16
Accessing the Twitter API......Page 26
Summary......Page 34
Twitter API Methods......Page 36
Twitter Search API......Page 49
Summary......Page 58
Introducing Twitter OAuth......Page 60
Implementing Twitter OAuth......Page 63
Summary......Page 74
Extending Twitter’s Core Functionality......Page 76
Twitter Community Evolution......Page 86
Summary......Page 91
Facebook Platform for Developers......Page 92
Facebook Platform......Page 93
Facebook API, FQL, and XFBML......Page 99
Summary......Page 113
User Authorization and Authentication......Page 114
Connecting and Inviting Friends......Page 124
Translations for Facebook......Page 126
Summary......Page 129
Content-Sharing and Live Conversation......Page 130
Social Commenting and Stream Publishing......Page 135
Summary......Page 150
8 Application Discovery, Tabbed Navigation, and the Facebook JavaScript Library......Page 152
Application Dashboards and Counters......Page 153
Navigating and Showcasing Your Application Using Tabs......Page 160
Dynamic Content and the Facebook JavaScript (FBJS) Library......Page 172
Summary......Page 179
Components of Google Friend Connect......Page 180
Using the Google Friend Connect JavaScript API......Page 184
An Overview of the OpenSocial API......Page 188
Summary......Page 206
Server-Side OpenSocial Protocols and Authentication Methods......Page 208
Using the PHP OpenSocial Client Library with Google Friend Connect......Page 212
Summary......Page 222
An Overview of Google Gadgets......Page 224
Creating a Google Gadget......Page 237
Summary......Page 248
An Overview of CodeIgniter......Page 250
Building the Basic Sprog Application......Page 261
Summary......Page 281
Implementing Twitter Functionality......Page 282
Implementing Facebook Functionality......Page 294
Implementing Google Friend Connect Functionality......Page 307
Summary......Page 316
A......Page 318
C......Page 320
D......Page 321
F......Page 322
G......Page 324
L......Page 325
M......Page 326
O......Page 327
R......Page 328
S......Page 329
T......Page 330
U......Page 331
X......Page 332