Leveraging a Custom Twitter Service

A custom Twitter service is used for all communication with the Twitter web API. The service also provides the capability to cache the results of calls to Twitter using a local database.

The viewmodel, which presents the Twitter timeline information, consumes the Twitter service using an ITwitterService interface.


The ITwitterService contains two methods designed to execute asynchronously. They are as follows:

Image GetTimeline(string screenName,                        Action<ResultEventArgs ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.