facebook-authentication

When the user_link permission is requested from Facebook, GraphRequest.newMeRequest() returns a null object

谁都会走 提交于 2021-02-11 17:00:02
问题 I'm letting Firebase handle login to Facebook in my app, as advised in the Firebase docs: loginButton.setPermissions("email", "public_profile"); When I call GraphRequest.newMeRequest(), I request the user_link permission as follows: Bundle parameters = new Bundle(); // Need special permission from Faceook in order to get this data. Apply after we've settled on a new name for the app. parameters.putString("fields", "id, first_name, last_name, email, gender, birthday, timezone, picture, locale,

When the user_link permission is requested from Facebook, GraphRequest.newMeRequest() returns a null object

时光怂恿深爱的人放手 提交于 2021-02-11 16:58:45
问题 I'm letting Firebase handle login to Facebook in my app, as advised in the Firebase docs: loginButton.setPermissions("email", "public_profile"); When I call GraphRequest.newMeRequest(), I request the user_link permission as follows: Bundle parameters = new Bundle(); // Need special permission from Faceook in order to get this data. Apply after we've settled on a new name for the app. parameters.putString("fields", "id, first_name, last_name, email, gender, birthday, timezone, picture, locale,

Authentication Error e.Message = OAuth Error = Permissions+error

故事扮演 提交于 2021-02-08 05:44:24
问题 I'm using Xamarin.Auth version 1.5.0.3 in my xamarin.android and xamarin.ios (PCL) project for application authentication/login with facebook's OAuth API. The issue arises after I click on the "Not now" link (watch the screenshot below). I get the following error dialog: Authentication Error e.Message = OAuth Error = Permissions+error Is there any way to disable this link or to fix it somehow? Or does someone have an idea why this happens? iOS code (which works now): public override void

Combining Facebook and Google auth for Firebase Android

痞子三分冷 提交于 2021-02-06 12:52:36
问题 Background Hello, I'm new with Firebase for Android and I'm trying to implement the Facebook and Google auth/login for the first time. I followed these two tutorials for the corresponding authentication: http:// firebase.google.com/docs/auth/android/google-signin http:// firebase.google.com/docs/auth/android/facebook-login Separately, the FacebookSignInActivity and GoogleSignInActivity are working as they should. Problem The problem is that I'm trying to use the Google and Facebook auth in

Android : How to get larger profile pic from Facebook using FirebaseAuth?

ぐ巨炮叔叔 提交于 2020-12-27 07:54:26
问题 I am using FirebaseAuth to login user through FB. Here is the code: private FirebaseAuth mAuth; private FirebaseAuth.AuthStateListener mAuthListener; private CallbackManager mCallbackManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); FacebookSdk.sdkInitialize(getApplicationContext()); // Initialize Firebase Auth mAuth = FirebaseAuth.getInstance(); mAuthListener = firebaseAuth -> { FirebaseUser user = firebaseAuth.getCurrentUser(); if

Android : How to get larger profile pic from Facebook using FirebaseAuth?

久未见 提交于 2020-12-27 07:51:35
问题 I am using FirebaseAuth to login user through FB. Here is the code: private FirebaseAuth mAuth; private FirebaseAuth.AuthStateListener mAuthListener; private CallbackManager mCallbackManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); FacebookSdk.sdkInitialize(getApplicationContext()); // Initialize Firebase Auth mAuth = FirebaseAuth.getInstance(); mAuthListener = firebaseAuth -> { FirebaseUser user = firebaseAuth.getCurrentUser(); if

Cordova Facebook Login - Sudden Failure on Oct 1st 2020

夙愿已清 提交于 2020-11-29 19:12:40
问题 We are using cordova-plugin-facebook4 to manage Facebook login within our Cordova apps. Facebook login suddenly started failing today (Oct 1st 2020). When calling the facebookConnectPlugin.login, it keeps returning this error: "Facebook error: Caught exception: (#200) Missing Permissions" It has been working fine all the while, and our app is authorized for those permissions. This is the code used: facebookConnectPlugin.login(["email","public_profile","user_birthday","user_location"],

Empty email field of Firebase Auth User using Facebook Login Integration (Firebase 3.0)

我的未来我决定 提交于 2020-05-07 10:34:11
问题 I have successfully deployed tutorial code from https://firebase.google.com/docs/auth/android/facebook-login for integrating Firebase Auth logins with Facebook. The users successfully created in Firebase Auth console. However, I noticed that the Email field in the user object is empty (—). Strangely, I successfully retrieved the email information directly from provider result objects using GraphRequest using the acquired token. Based on the documentation I read (https://firebase.google.com

How to check if someone is liked my fanpage from my website?

微笑、不失礼 提交于 2020-04-16 04:24:51
问题 I want to check if a user liked my fan-page from my website and if he did i skip the step and if he didnt i want to suggest him to like my fan-page,its all on my website i dont want to put a landing page or something else on my fan-page.all of it is on my website,i don't want to put a landing page or anything else on my fan-page. Thanks 回答1: there are only 2 ways for this: -) use the edge.create event: https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/ downside:

Firebase's Facebook login on React-native-android

戏子无情 提交于 2020-02-03 10:00:29
问题 I've been trying to get the Facebook login snippet from Firebase's documentation to work but I get the following console error: window.open is not a function What is the correct way to implement Firebase's Facebook login on a React Native app ? 回答1: This was answered in How to use Firebase Twitter Authentication with React Native? It's because the JavaScript version of Firebase was written for the web and not React Native. Most of the API works correctly except for: Social authentication .