Building a Twitter client for Windows Phone - Getting the data from the timeline
Join the DZone community and get the full member experience.Join For Free
You already have the foundation for the Twitter client, and now you need to actually see what people are tweeting about. In case you missed the previous parts, you can read them here:
- Building a Twitter client for Windows Phone - PIN Authentication
- Building a Twitter client for Windows Phone - Storing the auth data and making sure the user is remembered
- Building a Twitter client for Windows Phone - Building the core UI
- Building a Twitter client for Windows Phone - Sending your first tweet
The API call to get the timeline goes through statuses/home_timeline - a method that will get the current user's timeline. You should be aware that every returned tweet will follow an entity pattern, containing parameters like this:
One thing to remember, though, is the fact that entities and user are separate data carriers that have their own sets of descriptive parameters. But we'll get into that a bit later in this article.
Opinions expressed by DZone contributors are their own.