In the second decade of this century, nobody writing about the Internet would underestimate the importance of social networking. Dominated as it is by a few major sites—Facebook and Twitter being the biggest of the big—social networking provides both an opportunity for developers and a missed opportunity for the developer community as a whole. Certainly there are still opportunities for creative use of social networking. But what is missing (despite valiant efforts) is a single “open social networking” API that includes authorization, messaging, and media interchange.
This chapter provides a few how-tos on accessing Facebook and Twitter, using plain HTTP (they all originated as web-based sites just before the explosion of mobile apps) and using more comprehensive but more-specific APIs.
You need a basic level of social networking support in your app.
Instead of diving into the API, you can simply add social networking support.
For Facebook, Twitter, and LinkedIn integration, just follow three simple steps to get started:
Download the logos for Facebook, Twitter, and LinkedIn.
Create image buttons for each of them.
Implement an event handler that, when the user presses the button, passes control to the relevant site and displays the results in a browser window.
Here is a simple approach to adding basic social networking. ...