-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Hello guys. I have parse server running on aws beanstalk and mlab is used for mongodb. I am unable to sign in using facebook.
I am using SWIFT, here is the code snippet I am using
PFFacebookUtils.logInInBackgroundWithReadPermissions(["public_profile","email"]) {
(user: PFUser?, error: NSError?) -> Void in
if let user = user {
if user.isNew {
print("User signed up and logged in through Facebook!")
}
else {
print("User logged in through Facebook!")
}
}
else {
print("Uh oh. The user cancelled the Facebook login.")
}
I am getting both user and error nil. I googled it and found 2 things.
- Add facebookAppIds : ['fbAppId'] to my index.js and I did
- Add Environmental variable FACEBOOK_APP_ID and I did
Still I am facing the same issue. How to fix it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels