facebook-login

Difference between sign up with Facebook/Google/etc and log in with Facebook/Google/etc

六眼飞鱼酱① 提交于 2020-01-01 09:03:16
问题 I am currently trying to implement Facebook, Google and other third parties connectivity for my web application. When I browsed many webpages I noticed there are two options, take the Facebook option for example: Log in with Facebook and Sign up with Facebook. From what I could tell they both do the same thing, if you don't have a user in your database with Facebook retrieved email, the app creates one and logs you into the new account. The same can be said about Google login/signup. What

Facebook login in fragment in android

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-31 10:41:36
问题 I'm trying to login Facebook using custom interface it worked fine in Activity class. same thing i have to do in Fragment too. but Callback is not executing. is it not possible to add CallbackResult in Fragment's OnActivityResult ?? 回答1: Yes it's Posssible to implement facebook login in fragment, the only thing you need to do is call OnActivityResult in your host activity like this: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super

FB.getLoginStatus always returns status='unknown'

一笑奈何 提交于 2019-12-30 11:27:28
问题 If I am logged into facebook.com, I expect a call to FB.getLoginStatus will return a status='not_authorized'. Instead it returns status='unknown', even if I pass true for the 'force' parameter. If I call FB.login, and then call FB.getLoginStatus, I get status='connected'. Makes sense. If I call FB.login, reload the page, and then call FB.getLoginStatus, I get status='unknown'. Does not make sense. If I add 'true' as the second parameter (i.e. force), I still get status='unknown'. (I expect

How to pick Export Compliance in my app?

£可爱£侵袭症+ 提交于 2019-12-30 09:54:28
问题 I am submitting for review and not sure about the Export Compliance question Is your app designed to use cryptography or does it contain or incorporate cryptography? (Select Yes even if your app is only utilizing the encryption available in iOS or macOS.) The only internet function in my app is using Facebook Login on first screen for users to register and login. And I use Firebase as backend. So do I need to select Yes ? If I should pick Yes for first question, then second question Does your

Facebook login fails on some devices

此生再无相见时 提交于 2019-12-30 06:10:30
问题 I have implemented the Facebook login and it works fine on some devices/AVDs. My development device is a Gingerbread phone, but testing it with a 4.1.1 device, it simply does not log in. After pressing the facebook button, it shows a blank screen (trying to connect Facebook), and after 1-2 seconds it comes back to the home screen. Also, no errors are toasted or displayed in the Logcat. Oh, and the Facebook application is installed in the device... Any ideas? UPDATE: I enabled logging as

Facebook Activity not loading correctly in facebook-sdk 4.4.0

北战南征 提交于 2019-12-29 08:41:39
问题 I want to integrate Facebook signin in my android app. I am using Facebook-sdk-4.4.0. Using the LoginManager class method. But I am facing problem on running the following code- FacebookSdk.sdkInitialize(getApplicationContext()); callbackmanager = CallbackManager.Factory.create(); // Set permissions LoginManager.getInstance().logInWithReadPermissions((Activity)getContext(), Arrays.asList("email", "public_profile")); LoginManager.getInstance().registerCallback(callbackmanager, new

iOS Facebook and Google login at the same time?

人盡茶涼 提交于 2019-12-29 07:14:33
问题 I'm trying to implement google+ and facebook sign ins in the same app. I followed the instructions by Parse and Google and I first successfully implemented Facebook login. Then I started to follow the google instructions. After doing that, now I'm having these 2 functions in my AppDelegate.swift file: For google: func application(application: UIApplication, openURL url: NSURL, options options: [String: AnyObject]) -> Bool { return GIDSignIn.sharedInstance().handleURL(url, sourceApplication:

How can I get UIWebView to open Facebook login page in response to the OAuth request on iOS 5 and iOS 6?

老子叫甜甜 提交于 2019-12-29 04:54:08
问题 We have: (1) Facebook API-based web application with Facebook OAuth functionality (“the FB web app”) (2) UIWebView -based browser on iPad (“the Browser”) Our objective is to open the Facebook Login page to sign in to the FB web app (1) inside the UIWebView-based Browser (2) on iPad. There is a somewhat similar issue here: http://facebook.stackoverflow.com/questions/11337285/no-longer-able-to-login-to-ios-app-via-oauth-the-page-requested-was-not-found However, the issue of that question

Facebook SDK 4.0.1 Login without login button

[亡魂溺海] 提交于 2019-12-29 03:10:30
问题 I'm trying to log in without using login button. I followed facebook tutorial but i can not get it work, always give me NullPointerException. My Manifest: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.hema.testfcaebooksdk" > <uses-permission android:name="android.permission.INTERNET"/> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="

How to get e-mail when logging into canvas application using fb graph?

早过忘川 提交于 2019-12-26 03:55:28
问题 I want to get the user email when the user logged into my facebook canvas application using only fb graph api?I dont want to use facebook php sdk as I can not handle it with this code(Actually,I tried a lot but failed)Plz help $app_id = "xxxxxxx"; $canvas_page = "xxxxxxxx"; $auth_url = "http://www.facebook.com/dialog/oauth?client_id=" . $app_id . "&redirect_uri=" . urlencode($canvas_page); $signed_request = $_REQUEST["signed_request"]; list($encoded_sig, $payload) = explode('.', $signed