Questions tagged [facebook-authentication]

Facebook authentication is popular sign in method for many websites using Facebook credentials.

Facebook authentication is popular sign in method for many websites using Facebook credentials. This cab be implemented with many SDKs like PHP, C#, android, etc.

816 questions
86
votes
3 answers

REST API for website which uses Facebook for authentication

We have a website where the only way to login and authenticate yourself with the site is with Facebook (this was not my choice). The first time you login with Facebook, an account gets automatically created for you. We now want to create an iPhone…
Adam
  • 1,172
  • 1
  • 8
  • 12
78
votes
11 answers

Facebook OAuth 2.0 "code" and "token"

Why do you need both a "code" and a "token" in the Facebook OAuth2 authentication flow as described here: https://developers.facebook.com/docs/authentication/ ? If you look at the OAuth dialog reference…
jkeesh
  • 3,289
  • 3
  • 29
  • 42
74
votes
2 answers

Is it possible to check if an email is confirmed on Facebook?

Update This was reported to Facebook via https://www.facebook.com/whitehat/report/ on Dec 16th 2013 and Facebook responded on Dec 17th that the bug has long since been fixed. I have retested this with my Facebook account (that I still haven't…
73
votes
4 answers

How should a Facebook user access token be consumed on the server-side?

Preface I'm developing several web services and a handful of clients (web app, mobile, etc.) which will interface with said services over HTTP(s). My current work item is to design an authentication and authorization solution for the product. I have…
56
votes
4 answers

How can I login with multiple social services with Firebase?

I want users to be able to authenticate to my Firebase application using multiple different auth providers, such as Facebook, Twitter, or Github. Once authenticated, I want users to have access to the same account no matter which auth method they…
37
votes
4 answers

When to request permissions with Facebook's new Android SDK 3.0?

With Facebook's new Android SDK 3.0 (that was released a few days ago), the process of authentication has changed. So how do you request a read permission such as "friends_hometown"? The following code is how I am trying to do it - but I'm quite…
caw
  • 30,999
  • 61
  • 181
  • 291
33
votes
12 answers

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

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…
31
votes
7 answers

python-social-auth AuthCanceled exception

I'm using python-social-auth in my Django application for authentication via Facebook. But when a user tries to login, they have been redirected to the Facebook app page, and they click on the "Cancel" button, the following exception appears: ERROR…
25
votes
8 answers

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

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…
23
votes
5 answers

Why is the Facebook Authentication SDK behaving so very differently depending on its mode?

I have an Android app in the App Store. It uses Firebase on the back-end and provides social login via Facebook (and Google). Recently Facebook contacted me to warn me that my app is crashing/not responsive when logging in via Facebook. Confused, I…
23
votes
9 answers

Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://

I am implementing Passport Facebook Authentication by linking the Facebook Authentication API route to a button using href like: Facebook Login When I click on the button, it redirects to the Facebook Authentication…
22
votes
3 answers

StatusCallback not called after requestNewReadPermissions then requestNewPublishPermissions

I am developing an Android App that integrates with Facebook. I would like to: Let the user login with Facebook Get the user's email address on Facebook (could be a proxied email address, which is fine) Post to the user's wall/timeline on his/her…
Pang
  • 9,564
  • 146
  • 81
  • 122
20
votes
1 answer

Example for Authenticating using AWS Cognito (boto3)

I am trying AWS Cognito using boto3. I find it difficult to understand by reading the AWS documentation. I am looking for an example or tutorial which has a step-by-step explanation. I already have a facebook app and Cognito identity pool…
19
votes
1 answer

Facebook App Type: Which one to pick for mobile AND web?

In the Facebook App Settings ☞ Advanced ☞ Authentication I can pick "Web" or "Native/Desktop" as App Type. The info bubble says: Only select Native/Desktop if you are a Native iOS or Android app, device, or Desktop app Actually I am none of…
18
votes
3 answers

FirebaseUI authentication with Facebook not working

I am using FirebaseUI-Authentication. Signing in with an email or a Google account is successful, but sign in with Facebook doesn't work. onActivityResult() is not called after AuthUI activity was started and attempted to sign in with Facebook.…
1
2 3
54 55