Login with Facebook in Xamarin Forms

Download this episode

Download Video


Learn how to Login to Facebook with Xamarin Forms.

This video will walk you through the process to connect Xamarin app to Facebook API:

1) Create Facebook app with Login product and get Client ID

2) Use the client Id to create a GET HTTP request for login

3) Get an access token and use it to get user profile information



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      Thank You! Short and concise.
      But, please consider using a lavaliere microphone... The sound is very reverbant, voice becomes distant and hard to hear. There's lots of echo in a hard wall room.

    • User profile image

      MonoAndroid,Version=v6.0 missing assembly ref

    • User profile image
      Costas Aletrari

      This is a fantastic solution which suits my app. BUT once the login returns to its success page via the webview a nice red message of

      SECURITY WARNING: Please treat the URL above as you would your password and do not share it with anynone.See the Facebook Help Center for more information.

      ive seen other peoples posts regarding this same issue,, some have the issue with ios only or andoid only. I have them both :-(

      I've added ssl to my webservice and to my restclient urls

      also my app has not yet been approved from facebook as im still in development so im not sure if being approved will solve mine and other peoples issue.


    • User profile image

      Hi Houssem,
      you do not how you did configure the settings of your facebook app.
      What should we configure? It is giving me a session error.
      The facebook API Version leveled to 2.8
      Your example is still using 2.4
      Can you please enlight me?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.