Summary
In this chapter, you learned how to apply for a Twitter developer account so that you can incorporate social networking features by creating and registering our TrackMyWalks
app within the Twitter Developer Portal. You then incorporated the Xamarin.Auth
NuGet package within our solution and created a TwitterService
Interface and Class that we can use to communicate with the Twitter APIs using RESTful web service calls. Next, you created the TwitterSignInPage
, along with the associatedTwitterSignInPageViewModel
andTwitterSignInPageRenderer
classes, so that users can sign into your app using their Twitter credentials. You updated theWalksMainPage
code-behind to call ourTwitterSignInPage
to check whether the user has signed in.
Finally, you made changes to our WalkDistancePage
XAML and code-behind so that we can utilize our TwitterService
class to display profile information, as well as post information about the trail to the user's Twitter feed.
In the final chapter, you'll learn how to...