close menu
Bookswagon-24x7 online bookstore
close menu
My Account
Developer's Guide to Social Programming: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API, The(Developer's Library)

Developer's Guide to Social Programming: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API, The(Developer's Library)

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

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


Table of Contents:

I: Twitter

1 Working with the Twitter API 1

Twitter API Essentials 1

Twitter API Methods 3

Twitter API Parameters 6

Twitter API Return Formats 10

Accessing the Twitter API 11

cURL 12

Twitter-async 14

Twitter API Rate Limiting 17

Twitter API Error Handling 18

Summary 19

2 Diving Into the Twitter API Methods 21

Twitter API Methods 21

User Objects 23

Status Objects 26

Direct Message Objects 28

Saved Search Objects 29

ID Objects 30

Relationship Objects 31

Response Objects 32

Hash Objects 33

Twitter Search API 34

Introducing the Atom Syndication Format 34

Twitter Search API Methods 38

Summary 43

3 Authentication with Twitter OAuth 45

Introducing Twitter OAuth 45

OAuth Benefits 46

OAuth Definitions 46

Implementing Twitter OAuth 48

Twitter OAuth Workflow 48

Test Tube: A Sample Twitter Application 50

Summary 59

4 Extending the Twitter API: Retweets, Lists,

and Location 61

Extending Twitter’s Core Functionality 61

Retweet API 62

Lists API 64

Geolocation API 68

Twitter Community Evolution 71

Platform Translations 71

Spam Reporting 72

Future Directions 74

Summary 76

II: Facebook Platform

5 An Overview of Facebook Platform Website

Integration 77

Facebook Platform for Developers 77

Facebook Platform 78

Registering a Facebook Application 79

Referencing a Facebook Platform Application 81

Facebook API, FQL, and XFBML 84

Facebook API and FQL 84

XFBML 97

Summary 98

6 Registration, Authentication, and Translations with Facebook 99

User Authorization and Authentication 99

Logging In and Detecting Facebook Status 101

Logging Out, Disconnecting, and Reclaiming

Accounts 107

Connecting and Inviting Friends 109

Translations for Facebook 111

Preparing Your Application and Registering Text 111

Administering and Accessing Translations 113

Summary 114

7 Using Facebook for Sharing, Commenting, and Stream Publishing 115

Content-Sharing and Live Conversation 115

Facebook Share 116

Facebook Widgets 118

Social Commenting and Stream Publishing 120

Comments Box 120

Open Stream API 123

Summary 135

8 Application Discovery, Tabbed Navigation, and the Facebook JavaScript Library 137

Application Dashboards and Counters 138

News and Activity Streams 139

Games and Applications Counters 143

Navigating and Showcasing Your Application

Using Tabs 145

Configuring and Installing an Application Tab 146

Extending an Application Tab 149

Dynamic Content and the Facebook

JavaScript (FBJS) Library 157

Facebook Animation Library 157

Facebook Dialogs 160

Handling Events with an Event Listener 162

Summary 164

III: Google Friend Connect

9 An Overview of Google Friend Connect 165

Components of Google Friend Connect 165

Google Friend Connect Gadgets 166

Google Friend Connect JavaScript API 167

Server-Side Integration 167

Google Friend Connect Plug-ins 168

Using the Google Friend Connect JavaScript API 169

Installing and Configuring the JavaScript Library 169

Working with Google Friend Connect Data 171

An Overview of the OpenSocial API 173

OpenSocial API Methods 173

The DataRequest Object 174

Fetching People and Profiles 176

Fetching and Updating Activities 177

Fetching and Updating Persistence 178

Color Picker: A Google Friend Connect Application 181

Summary 191

10 Server-Side Authentication and OpenSocial Integration 193

Server-Side OpenSocial Protocols and Authentication Methods 193

Google Friend Connect Authentication Methods 194

OpenSocial Client Libraries 196

Using the PHP OpenSocial Client Library with Google Friend Connect 197

Google Friend Connect Authentication Workflow 197

Setting Up a Server-Side Application 198

OpenSocial Data Extraction Principles 201

Summary 207

11 Developing OpenSocial Gadgets with Google Friend Connect 209

An Overview of Google Gadgets 209

Anatomy of an OpenSocial Google Gadget 210

OpenSocial v0.9 Specification 214

Advanced OpenSocial Gadget Development 217

Creating a Google Gadget 222

Color Picker, Revisited 222

Testing, Tracking, and Directory Submission 230

Summary 233

IV: Putting It All Together

12 Building a Microblog Tool Using CodeIgniter 235

An Overview of CodeIgniter 235

The Model-View-Controller Architectural Design 236

Installing, Configuring, and Exploring CodeIgniter 237

CodeIgniter Libraries 240

CodeIgniter Helpers 245

Building the Basic Sprog Application 246

Stage 1: Creating the Registration, Login, and Home Pages 247

Stage 2: Extending the Sprog Application with Updates, Comments, and Likes 257

Summary 266

13 Integrating Twitter, Facebook, and Google Friend Connect 267

Implementing Twitter Functionality 267

Setting Up Twitter and Twitter-async Support 268

Stage 3: Extending the Sprog Application with Twitter Functionality 270

Updating a User’s Twitter Account 276

Implementing Facebook Functionality 279

Registering a Facebook Application and Adding Facebook Support 279

Stage 4: Extending the Sprog Application with Facebook Functionality 281

Implementing Google Friend Connect Functionality 292

Registering and Adding Google Friend Connect Support 292

Stage 5: Extending the Sprog Application with Google Friend Connect Functionality 294

Summary 301

Index 303


Best Seller

| | See All

Product Details
  • ISBN-13: 9780321680921
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Language: English
  • Series Title: Developer's Library
  • Weight: 1 gr
  • ISBN-10: 0321680928
  • Publisher Date: 09 Aug 2010
  • Binding: Digital download
  • No of Pages: 336
  • Sub Title: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API, The


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Be The First to Review
Developer's Guide to Social Programming: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API, The(Developer's Library)
Pearson Education (US) -
Developer's Guide to Social Programming: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API, The(Developer's Library)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Developer's Guide to Social Programming: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API, The(Developer's Library)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    | | See All


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA