Book description
Twitter is rapidly moving up the social networking food chain and is currently outranked by only Facebook and MySpace. It features a programming API that allows you to build Web sites and applications (both desktop and mobile) for reading and posting to Twitter, finding other Twitter users, aggregating Twitter content, and other uses. This book walks you through the process of combining many programming tools in order to build exciting, useful, and profitable applications.
You'll begin with a look at RESTful services and examine how to structure your queries, handle asynchronous operations, use headers, and post binary data. From there, author and TweetSharp developer Daniel Crenna explains how to authenticate with the OAuth specification for Web and Windows applications.
Twitter is growing in popularity at a rapid pace and this book shows you how to take advantage of its programming API to build applications
Explains the various ways to design a Twitter application, including caching, third party application interoperability, real-time data binding, push vs. pull data scenarios, and more
Takes an in-depth look at TweetSharp, a .NET library for developing Twitter applications-whose creator is also the author of this book
Walks you through requesting and retrieving responses from Twitter's API
Warns you of considerations to take into account regarding authentication and security
Professional Twitter Development shows you how to get the most out of Twitter so that you can build your own applications for this exciting new platform.
Table of contents
- Copyright
- About the Author
- Credits
- Acknowledgments
-
Introduction
- Who This Book Is For
- What This Book Covers
- How This Book Is Structured
-
What You Need to Use This Book
-
Setting Up Your Development Environment
- Using the Microsoft Web Platform Installer
- IIS 7.0 with ASP.NET Components
- ASP.NET MVC 1.0
- Microsoft® Silverlight™ 3 Tools Beta 1 for Visual Studio 2008 SP1
- SQL Server 2008 Express
- Visual Studio Web Developer Express and Above
- SDKs and Libraries
- Windows Azure Tools for Microsoft Visual Studio (Including the Azure SDK)
- TweetSharp v1.0
- Debugging HTTP Traffic
- Configuring Wireshark
-
Setting Up Your Development Environment
- Summary
- Conventions
- Source Code
- Errata
- p2p.wrox.com
-
1. Working with RESTful Services
- 1.1. What is REST?
- 1.2. HTTP and URIs
-
1.3. Communicating with the Web and .NET
-
1.3.1. WebClient, HttpWebRequest and HttpWebResponse
- 1.3.1.1. Simplifying Web Communication with WebClient
- 1.3.1.2. Enhanced Control with HttpWebRequest and HttpWebResponse
- 1.3.1.3. Going Low Level with Sockets and TcpClient
- 1.3.1.4. Handling Exceptions
- 1.3.1.5. HTTP Basic Authentication
- 1.3.1.6. Username and Password
- 1.3.1.7. Realm
- 1.3.1.8. Working with Proxies, Gateways, and Firewalls
- 1.3.1.9. Twitter vs. .NET
- 1.3.1.10. Expect100Continue
- 1.3.1.11. Example
- 1.3.1.12. UseNagleAlgorithm
- 1.3.1.13. NetworkCredential and Pre-Authentication
- 1.3.2. Creating a Request Utility
-
1.3.1. WebClient, HttpWebRequest and HttpWebResponse
- 1.4. Summary
-
2. The Twitter REST API
- 2.1. Obtaining a Twitter Account
- 2.2. Overview
-
2.3. Twitter Features
-
2.3.1. Statuses
- 2.3.1.1. Public Timeline
- 2.3.1.2. Example
- 2.3.1.3. Friends Timeline [A] [R]
- 2.3.1.4. Example
- 2.3.1.5. User Timeline [A] [R]
- 2.3.1.6. Example
- 2.3.1.7. Show [A] [R]
- 2.3.1.8. Example
- 2.3.1.9. Update [A]
- 2.3.1.10. Example
- 2.3.1.11. Mentions [A] [R]
- 2.3.1.12. Example
- 2.3.1.13. Destroy [A] [R]
- 2.3.1.14. Example
- 2.3.2. Users
- 2.3.3. Direct Messages [A] [R]
- 2.3.4. Friendships
- 2.3.5. Social Graphing
-
2.3.6. Account
- 2.3.6.1. Verify Credentials [A]
- 2.3.6.2. Example
- 2.3.6.3. End Session [A] [R]
- 2.3.6.4. Example
- 2.3.6.5. Update Delivery Device [A] [R]
- 2.3.6.6. Update Profile Colors [A] [R]
- 2.3.6.7. Example
- 2.3.6.8. Update Profile Image [A] [R]
- 2.3.6.9. Example
- 2.3.6.10. Update Profile Background Image [A] [R]
- 2.3.6.11. Example
- 2.3.6.12. Rate Limit Status (A)
- 2.3.6.13. Example
- 2.3.6.14. Update Profile [A] [R]
- 2.3.6.15. Example
- 2.3.7. Favorites
- 2.3.8. Notifications
- 2.3.9. Blocks
- 2.3.10. Help
-
2.3.1. Statuses
- 2.4. Twitter Objects
- 2.5. Working with the API
- 2.6. Summary
- 3. Working with XML, JSON, and JSONP
- 4. The Twitter Search API
- 5. Working with RSS and Atom Syndication
- 6. Basic Authentication and OAuth
- 7. Maximizing Performance and Functionality
- 8. Data Push vs. Pull
- 9. Introduction to TweetSharp
-
10. Building a Cross-Platform Twitter Application
- 10.1. The Application: Twiticism.com
-
10.2. The Azure Cloud
- 10.2.1. Azure Storage Services
- 10.2.2. Azure Hosted Services
- 10.2.3. Creating an Azure Services Account
- 10.2.4. The Things You Need for Programming Against Azure
- 10.2.5. Shared Key Authentication
- 10.2.6. Designing Applications for the Cloud
- 10.2.7. Working with Azure Queues
- 10.2.8. Working with Azure Tables
- 10.2.9. Hosting a Twitter Proxy in the Cloud
- 10.2.10. Running a Global User Cache in the Cloud
- 10.2.11. ASP.NET Membership in the Cloud
- 10.3. Silverlight Application Highlights
- 10.4. Summary
Product information
- Title: Professional Twitter® Development With Examples in .NET 3.5
- Author(s):
- Release date: September 2009
- Publisher(s): Wrox
- ISBN: 9780470531327
You might also like
book
2022 Cloud Salary Survey
Are you curious about how your job title, gender, state, age, or education impact your salary? …
book
SQL for Data Analysis
With the explosion of data, computing power, and cloud data warehouses, SQL has become an even …
book
Developing High Quality Data Models
Developing High Quality Data Models provides an introduction to the key principles of data modeling. It …
certs-practice-exam
Exam AZ-900 Microsoft Azure Fundamentals (Pearson Practice Test)
This Pearson Test Prep practice test contains four full practice exams with hundreds of review questions. …