Facebook Login? Possible or no?


#1

I am trying to create a feature in my app that would allow the user to create an account/ login using Facebook credentials. We already have a basic create an account form where the user can manually create an account but we would love the value add from allowing users to create/login with Facebook. Any help is appreciated!


#2

We don’t currently have a sample for this, but it can be done with AppStudio. Here are Facebook’s official docs:

To load the Facebook SDK into your app, you’ll need to add this line to extraheaders in Project Properties:

<script async defer src="https://connect.facebook.net/en_US/sdk.js"></script>

and put this code in Global Code:

  window.fbAsyncInit = function() {
    FB.init({
      appId            : 'your-app-id',
      autoLogAppEvents : true,
      xfbml            : true,
      version          : 'v3.2'
    });
  };

You should then be able to make the calls to Facebook.