In this recipe, we will see how to log a user in to your application using his/her Facebook account.
Before being able to integrate our application with Facebook, we need to register an application on Facebook. This will give us an application identification and a secret token that will be used to identify the application requesting authorization and access to the user's data.
build.sbtfile by adding the following dependencies:
"net.databinder.dispatch" %% "dispatch-core" % "0.11.0", "com.restfb" % "restfb" % "1.6.12"
secretkeys in the