Skip to content
Using Native Facebook Login Button in Xamarin.Forms
C#
Branch: master
Clone or download
Latest commit 8636dc0 Sep 9, 2019

README.md

XF Facebook LoginButton Example

Xamarin.Forms application that uses an abstraction over platform specific Xamarin.Facebook.[iOS/Android] NuGet packages in order to catch the Facebook Login Events on the Xamarin.Froms level.

Native Login Button

Each platform rendering a native built-in Facebook Login Button:

  • Facebook.LoginKit.LoginButton for iOS
  • Xamarin.Facebook.Login.Widget.LoginButton for Android

The abstraction is handling the next events:

  • OnSuccess(string authToken)
  • OnError(string errDescription)
  • OnCancel

Facebook SDK

  • Token changed event
  • Programmatically logout

More details in the blogpost.

You can’t perform that action at this time.