Introduction
Xamarin is a platform to develop cross-platform and multi-platform apps (for example, Windows phone, Android, iOS). In Xamarin platform, the code sharing concept is used. In Xamarin Studio, Visual Studio is also available.
Xamarin is a platform to develop cross-platform and multi-platform apps (for example, Windows phone, Android, iOS). In Xamarin platform, the code sharing concept is used. In Xamarin Studio, Visual Studio is also available.

Prerequisites
- Xamarin Studio(or)Visual Studio For Mac.
- Xcode.
- Facebook Account.
The steps given below are required to be followed in order to Facebook Login using Xamarin.Auth in Xamarin iOS.
Step 1
Go to https://developers.facebook.com.
Step 2
After Loggin in to Developer.Facebook.com, Click Add a New App.
Step 3
In this step, ceate your app Id.
Step 1
Go to https://developers.facebook.com.
Step 2
After Loggin in to Developer.Facebook.com, Click Add a New App.
Step 3
In this step, ceate your app Id.
- Display Name - Ex: MyApp
- Contact Email - [email protected]
Afterwards, click on "Create App ID".
Step 4
Now, your app id is ready. Go to Dashboard. App details are available here.You can copy your app id and paste your code.
Step 5
In this step, set valid OAuth redirect URI.
Now, your app id is ready. Go to Dashboard. App details are available here.You can copy your app id and paste your code.
Step 5
In this step, set valid OAuth redirect URI.
Step 6
Now Create Your App.
Go To Xamarin Studio.
Click New Solution—> select iOS—>select App--> Choose single View App. Afterwards, click Next.
Step 7
In this step, configure your app. Give the app name (Ex:sample), Organization Identifier. Afterwards, click Next.
Step 8
In this step, give your project name (Ex: Sample) and solution name (Ex: Sample). Give the path of your project. Afterwards, click Create.
Step 9
Subsequently, go to the solution. In the solution, get all the files and sources in your project. Now, select Main.storyboard and double click to open Main.storyboard page.
Step 10
After opening the Main.storyboard, you can design this page, as per your desire.

Step 11
In this step, You need to add Xamarin.Auth Package.
Go to Solution Explorer—> Packages—>Right Click—>Add Packages—>Select Xamarin.Auth.
Step 12
Now, check your package.
Go to Solution Explorer—> Packages—> Xamarin.Auth.
Step 13
In this step, design your app using Storyboard, Toolbox, and Properties.
- ImageView (imgCover)
- ImageView (imgProfile)
- Label(lblName)
- Button(btnLogin)


Marius CrisanPosted Apr 30, 2019, 9:19 AM
Thank you for the article. Very pragmatic. Very good resource for starting with these.
Richard RittenhousePosted Jan 24, 2019, 9:16 AM
Delpin Susai Raj I checked your profile for the visual studio version of the Facebook login with xamarin forms but could not find it. would you mind sending the link to it
Richard RittenhousePosted Jan 22, 2019, 3:35 PM
Is there a tutorial for cross platform Xamarin forms in vs 2017
Richard RittenhousePosted Jan 22, 2019, 3:35 PM
Can you post the link for the visual studio tutorial
Zeeshan AliPosted Dec 15, 2018, 12:23 PM
Realy helpful article
Arvind ChourasiyaPosted Aug 5, 2017, 4:07 AM
Really nice article. Thank you Susai.