facebook-login

Channel URL Facebook

假如想象 提交于 2019-12-22 18:46:55
问题 I'm implementing the facebook login in my website wich is in the form of mysite.anotherdomain.org . I did all explained in the Documentation of the Javascript SDK but, since I have some problems, I'm wondering if the error comes from the channel url. What should I exactly write for the channel file? Thanks in advance! 回答1: The channel file basically fixes certain cross-domain issues for certain browsers. The following are the three that Facebook has identified: Pages that include code to

Parse.com and Facebook login, runs infinite loop

流过昼夜 提交于 2019-12-22 18:01:58
问题 I updated both Parse and Facebook iOS SDKs to the latest versions, and when I try to login using Facebook my app crashes, and from the debugger I can see that it is calling 3-4 methods in an endless loop. My login code looks like this: - (void)openSession { UIViewController *topViewController = self.window.rootViewController; NSArray *permissions = [NSArray arrayWithObjects:@"user_likes", @"friends_likes", nil]; // Login PFUser using Facebook [PFFacebookUtils logInWithPermissions:permissions

Swift project not segue-ing properly after Facebook login

孤街浪徒 提交于 2019-12-22 10:34:56
问题 The initial ViewController, LoginViewController.swift: import UIKit class LoginViewController: UIViewController, FBSDKLoginButtonDelegate { override func viewDidLoad() { super.viewDidLoad() // Do view setup here. if (FBSDKAccessToken.currentAccessToken() != nil) { // User is already logged in, do work such as go to next view controller. performSegueWithIdentifier("loginSegue", sender: nil) print("segued due to login") } else { let loginView : FBSDKLoginButton = FBSDKLoginButton() self.view

Open facebook login screen in personal App and not in device browser

徘徊边缘 提交于 2019-12-22 09:47:23
问题 When Facebook app are installed on device and i am not log in. My own app opens facebook app when click on facebook login button.and if i am login on facebook app, my own app takes login details from facebook app and let me use login info. When i don't have facebook app installed on device, first time when i click on facebook login button in my own app it open facebook login page on default device browser and save my login credentials for next time. when next time i try to login it directly

ios facebook login sdk 4.28.0 error code 3

我的未来我决定 提交于 2019-12-22 04:41:44
问题 Error Domain=com.facebook.sdk.core Code=3 "(null)" UserInfo={com.facebook.sdk:FBSDKErrorDeveloperMessageKey=Unknown error building URL.} The login code is as follows FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logInWithReadPermissions: @[@"public_profile"] fromViewController:self handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) { NSLog(@"facebook login result.grantedPermissions = %@,error = %@",result.grantedPermissions,error); if (error) { NSLog(@

Facebook Login With WP JWT Auth

徘徊边缘 提交于 2019-12-22 03:48:43
问题 We are using WP JWT Auth plugin to login user to WordPress from wp rest API. WP JWT Auth plugin requires a password to get the token, now when we are integrating facebook login, I am not sure how to get the user logged in since we won't be having passwords from facebook. Any suggestions? 回答1: Yesterday I opened a bounty for your question and today I'm answering it! You will need two WordPress plugins: stionic users and nextend social login (you need to configure it on order for stionic to

Parse with Facebook login - Possibly since APK v42 or Graph API v2.4

我怕爱的太早我们不能终老 提交于 2019-12-22 01:33:16
问题 Note: I have since edited this question's summary as I believe the focus must shift from Android APIs to Facebook itself. Ever since my devices updated to Facebook v42, or since Facebook updated it's Graph API to v2.4 (7th August), my app has failed to login. My Samsung S6 (API 22) failed initially, and 3 days later when my HTC (API 21) updated the Facebook app it too failed to login when it had been successful until then. Initial Steps Taken: I have attempted to remove the app from the test

Facebook SDK iOS login with Facebook app installed

筅森魡賤 提交于 2019-12-21 13:01:06
问题 UPDATE: I've realized that the below problem only occurs if the user has already given Facebook access to my app, and then reinstals my app. The first time the user selects the Facebook button in my app, it goes to the Facebook app to get authentication, but since the authentication status is still saved in the Facebook app, it returns immediately to my app without explanation to the user, and the postToFacebookWall method fails. UPDATE 2: I ended up implementing the solution found here: How

iOS - Facebook Login Error - Unknown Error building URL (com.facebook.sdk.core error 3)

允我心安 提交于 2019-12-21 03:15:16
问题 I am using Facebook login for my iOS app being developed for iOS 8 and onwards. (Latest Facebook SDK is being used) I have followed all the essential steps described by the Facebook official guide. However, when I click the login button it gives me the following error: Unknown Error building URL (com.facebook.sdk.core error 3) I have checked, to look what I might have done wrong, but everything seems as per guide, and I have been stuck here for a day. Code for FB Login Delegate: class

Facebook Login not working in PWA app if app is in stand alone state

馋奶兔 提交于 2019-12-20 11:35:36
问题 I am building a PWA webiste. I am using Angular JS and I used javascript facebook login in my website. But if I view my app in browser, facebook login is working. But when I add shortcut to homescreen and launch the app from the homescreen, FB login is not working. Facebook page is loading. But after entering credentials it shows blank page. Can anyone help ? Here is my FB login code var doBrowserLogin = function(){ var deferred = $q.defer(); FB.login( function(response){ if (response