Sample Twitter Timeline Viewer

The principle example for this chapter is a Twitter timeline viewer that downloads the tweets of a specified Twitter user, caches them in a local database, and displays them on a page. The code for this example is located in the DataDrivenApps/TwitterExample directory of the WPUnleashed.Examples project.

The Twitter timeline viewer has a simple data model consisting of two entities representing a Twitter user and a tweet or TimelineItem (see Figure 29.3), and it demonstrates using a local database to cache cloud data.

Image

FIGURE 29.3 A TwitterUser has many TimelineItems.

TimelineItem represents a status update (tweet) ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.