Facebook authentication in an app using Azure

Asked

Viewed 117 times

1

Good afternoon, I’m new here and I’m on a project for the creation of a hybrid application (Android and IOS), we are at the beginning and do not understand Android programming - let’s learn while we do the project -, so far we have defined only that we will use Microsoft Azure.

We thought of inserting an authentication by Facebook as a way of Login, but we need to analyze a personal information (gender) of the user and, if it is true, allow access. That is, we want to allow only women to create an account in the app and for that we think about, initially, using Facebook. Of course this does not eliminate the possibility of creating fake accounts, but in principle it would be a reasonable solution.

So, I wonder if it is possible to perform this "filter" using Facebook profile information and whether this should be implemented right at the start or is it better to make the application first basis.

  • It is possible to implement this filter in the tutorials of the facebook for developers explains how to get profile data of who is authenticating through the app, and one of those data is the.

1 answer

3


The documentation of Facebook for Developers is quite complete to do what you need.

See here all about Login to Facebook, provided to log in iOS and Android apps, as Websites and others.

inserir a descrição da imagem aqui

It is important to consider that you will only have the gender information of the user after your authentication in your application. Then:

  1. The user logs into your application with Facebook;
  2. Your application whether or not it allows you to browse the app using its genre as a filter.

I believe that gender is part of basic login information, but you can customize what information you need to be mandatory for login completion. Recommendation: The less information ask, the better.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.