You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 14, 2020. It is now read-only.
I want to implement a Facebook log in, I was actually using Parse for a few months but I get the "facebook is not a supported service". I followed the Parse guide and I don't know what is going on. Please help!
private void signInByFacebook() {
if (Utils.isNetworkAvailable(getBaseContext())) {
//ParseUser parseUser = new ParseUser();
final List<String> permissions = Arrays.asList("public_profile", "email");
ParseFacebookUtils.logInWithReadPermissionsInBackground(this, permissions, new LogInCallback() {
@Override
public void done(ParseUser user, ParseException err) {
if (user == null) {
Log.d("MyApp", "Uh oh. The user cancelled the Facebook login.");
Log.d("MyAppError", err.getLocalizedMessage());
} else if (user.isNew()) {
//setResult(RESULT_OK);
//finish();
getUserDetailFromFB();
Log.d("MyApp", "User signed up and logged in through Facebook!");
Bundle parameters = new Bundle();
parameters.putString(AppEventsConstants.EVENT_PARAM_REGISTRATION_METHOD, "Facebook");
logger.logEvent(AppEventsConstants.EVENT_NAME_COMPLETED_REGISTRATION, parameters);
} else {
Log.d("MyApp", "User logged in through Facebook!");
}
}
});
}
}
I got this is my logcat:
09-21 13:02:29.018 16376-16376/com.hct.btracker D/MyApp: Uh oh. The user cancelled the Facebook login. 09-21 13:02:29.019 16376-16376/com.hct.btracker D/MyAppError: facebook is not a supported service.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to implement a Facebook log in, I was actually using Parse for a few months but I get the "facebook is not a supported service". I followed the Parse guide and I don't know what is going on. Please help!
This is my gradle.build file:
This is my SignupActivity#signInByFacebook :
I got this is my logcat:
09-21 13:02:29.018 16376-16376/com.hct.btracker D/MyApp: Uh oh. The user cancelled the Facebook login. 09-21 13:02:29.019 16376-16376/com.hct.btracker D/MyAppError: facebook is not a supported service.
The text was updated successfully, but these errors were encountered: