O'Reilly logo

Mastering Xamarin UI Development by Steven F. Daniel

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

Creating a Facebook user model for the TrackMyWalks app

In the previous section, we added both of our Xamarin.Auth and Facebook SDK .NET Assembly packages to our TrackMyWalks Portable Class Library. This will essentially be used by each of our ViewModels along with the Views (pages).

In this section, we will begin by creating our FacebookApiUser data model, which will be used to store our Facebook login information from when we create our backend service calls, and then the FacebookCredentials.cs and FBSignInRenderer.cs files will communicate and interact with our Facebook TrackMyWalks App ID to retrieve Facebook related information, as well as allowing the user to post walk information to their Facebook wall.

Let's now start to implement the code ...

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