O'Reilly logo

Windows Phone 7.5 Data Cookbook by Ramesh Thalli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Twitter API

In this recipe, let's build a Twitter client app using the Twitter API. This is similar to the previous RSS reader recipe. Here, instead of RSS format you will receive the custom XML format related to the Twitter username or screen name.

Getting ready

First study the Twitter API resource page at:

https://dev.twitter.com/docs/api

There are many categories of API available such as Timelines, Tweets, Search, and so on. We will be using statuses/user_timeline for a given user in this recipe.

How to do it...

In the next steps, we will create a client application, which will have a textbox to search for a name and return the latest updates for that username.

  1. Open a new project and create a new Phone 7 Application with the name Recipe2_TwiitterClient ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required