facebook-login

Facebook login issue unable to get user's actual facebook id

左心房为你撑大大i 提交于 2019-12-10 10:46:56
问题 We have an app available in android, ios and web. The app uses facebook login(using easyfacebook.jar) as alternate way of authorizing users. It was working fine but due to recent changes in facebook sdk I am unable to get the actual facebook id as the facebook api returns app-specific user id. From the facebook page: Changes from v1.0 to v2.0 App-scoped User IDs: To better protect people's information, when people log into a version of your app that has been upgraded to use Graph API v2.0,

FirebaseUI Authentication with Facebook not logging in

淺唱寂寞╮ 提交于 2019-12-10 10:15:24
问题 I'm using FirebaseUI Auth in Android for user authentication. Dependencies in my app build.gradle for Facebook Login: compile 'com.google.firebase:firebase-auth:11.0.0' compile 'com.firebaseui:firebase-ui-auth:2.0.0' compile 'com.facebook.android:facebook-android-sdk:[4,5)' Classpath dependencies in my project build.gradle: classpath 'com.google.gms:google-services:3.1.0' My FirebaseUI Authentication Code in my Activity onCreate(): final AuthUI.IdpConfig facebookIdp = new AuthUI.IdpConfig

facebook login blocked a frame issue

喜夏-厌秋 提交于 2019-12-10 10:08:42
问题 NOTE I read all the related questions regarding this issue but i couldn't find a solution for my problem. Facebook Login API HTTPS Issue Facebook: Unsafe JavaScript issue (document.domain values should be same) I'm facing the blocked frame facebook api issue: Blocked a frame with origin "https://www.facebook.com" from accessing a frame with origin "http://static.ak.facebook.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http".

How i get, is user login or logout in facebook sdk 4.0.1

一个人想着一个人 提交于 2019-12-10 08:37:03
问题 I am using Facebook new sdk 4.0.1, in that when i get log-in button changes to log-out and same button is used to logout without any code. but actually i want to do some coding at time of log-out. so how i get differentiate between these two things in that sdk? How i declare logout method ? 回答1: You could check when the token changes, and if the new access token is null, the user just logged out. new AccessTokenTracker() { @Override protected void onCurrentAccessTokenChanged(AccessToken

Facebook Login not going back to App when migrated to Swift 3

久未见 提交于 2019-12-09 18:10:29
问题 I have created a sample app where User logs in using Facebook Login button. Once logged in I display User's Name and Email on Login screen. It was working with Swift 2.3. Once I migrated to Swift 3, it stopped working. Step1: Login with Facebook Login Button Step2: Allow permissions for email and profile Step3: Here it should go back to screen 1. But it doesn't. Attaching the Log I get when I click "Ok" button. Update 1: App runs fine on iOS 9.3. The issue occurs only on iOS 10 devices. 2016

Facebook login throws "Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed

隐身守侯 提交于 2019-12-09 15:08:26
问题 I know this question was already asked many times, but still It seems to throw this error altough I tried several url addresses. I'm trying to make facebook login through a asp.net mvc app like in microsoft tutorial here. When I check it on local host it works fine (Site URL in facebook is set to: http://localhost:55797/ but when I try to check it after I upload the app to the server it gives me this error: Given URL is not allowed by the Application configuration.: One or more of the given

Facebook login is working with release APK before publishing App, but not after publishing same APK

落花浮王杯 提交于 2019-12-09 13:51:19
问题 Facebook login is working with release APK before publishing App, but not after publishing same APK in Play Store. I am trying to implement Facebook Login into my app from past 2 days. I have followed all the steps and added both key-hash (for debug and release ) into my app at facebook developer account. Its working fine with both type of build variant before publishing app in Play Store, but after downloading same release variant (which I am testing before publishing app) from Play Store,

Facebook Login/Google Login - Same Activity?

巧了我就是萌 提交于 2019-12-09 06:34:50
问题 I am trying to give my users the option to sign in with either Google or Facebook. So far I found an example to implement a Google Sign in Flow, but I am confused if I can implement a similar Facebook Login Flow within the same Activity. Anyone have an Idea as to handle the Logins? I was thinking about potentially defining a class to handle the Login Flows for both Google / Facebook, and perhaps just check to see which is being used when the app launches. Any Ideas? public class MainActivity

Facebook API: Login using JavaScript SDK then checking login state with PHP

半腔热情 提交于 2019-12-09 05:44:40
问题 I'm using Facebook's JavaScript SDK to bring up a Login Popup when the user clicks the Login button. The code is, as Facebook provides in the doucmentation: $(".loginButton").click(function(){ FB.login(function(response) { FB.api('/me', function(response) { console.log(response.id); //User ID shows up so I can see that the user has accepted the app. }); }); I can also use FB.getLoginStatus() to check that the user has indeed logged in and accepted the application. However, now I would like to

Facebook android login

跟風遠走 提交于 2019-12-08 23:13:28
In below code i am using facebook provided chrome custom tab feature, facebook login screen is opening in both chrome (if device having chrome browser) or else simple webview and also in facebook app (if device having app) but after granting the general permission graphapi not providing any data even after async call i'm not getting what i am doing wrong in this please help if possible extra info :- This is calling inside a fragment, facebook login screen is opening in all three way just the callback is not working till now i am not able to find solution for this only get unanswered question,