pffacebookutils

Use of unresolved identifier PFFacebookUtils

天涯浪子 提交于 2019-12-30 17:45:51
问题 I've done all is mentioned here (https://www.parse.com/docs/ios_guide#fbusers/iOS) for implement in iOS the Facebook Login. The problem is that i have an compile error "Use of unresolved identifier PFFacebookUtils" near che line PFFacebookUtils.initializeFacebook() in AppDelegate. I've correctly imported the Parse and Facebook Framework into my project. Are there some bug knowed in Xcode 6 Beta? 回答1: Parse docs doesn't mention this yet: After downloading the Parse iOS SDK, You should include

PFFacebookUtils login methods do nothing if Facebook app is installed

淺唱寂寞╮ 提交于 2019-12-12 03:26:52
问题 This is very weird. I'm trying to login to Facebook and everything is working fine if there's no Facebook app is installed on the device. But if there's this app then nothing happens. Just nothing. Completion block is never called and no login dialog appears. This is my very simple code: [PFFacebookUtils logInInBackgroundWithReadPermissions:@[@"public_profile"] block:^(PFUser *user, NSError *error) { NSLog(@"Completion"); }]; I also have this code inside applicationDidFinishLauncing : [Parse

ParseFacebookUtils - How to Open Facebook Login Dialog every time?

≯℡__Kan透↙ 提交于 2019-12-11 19:46:15
问题 My question is same as this thread but the answer in it does not work anymore because ParseFacebookUtils.getSession() has been deprecated. What is the replacement on how to log out and flush the cache so that next time the Facebook login button appears again. Just doing ParseUser.logOut() did not help. Here is my code to login: List<String> permissions = Arrays.asList("public_profile", "email"); ParseFacebookUtils.logInWithReadPermissionsInBackground(this, permissions, new LogInCallback() {

PFFacebookUtils logInInBackgroundWithReadPermissions: block: opens Facebook app instead of using system account

一曲冷凌霜 提交于 2019-12-10 18:21:03
问题 I've upgraded to ParseFacebookUtilsV4 and I've updated my login code as such: [PFFacebookUtils logInInBackgroundWithReadPermissions:FACEBOOK_READ_PERMISSIONS block:^(PFUser *user, NSError *error) { ... }]; However, now my app switches to Facebook app for a brief moment and comes back. It uses the native Facebook app to login, while there is still a valid iOS Facebook account in Settings. How can I make PFFacebookUtils v4 use the system Facebook account when available, and only fall back to

Parse login hang since Facebook 4.0.x with [PFFacebookUtils initializeFacebookWithApplicationLaunchOptions:launchOptions] (semaphore_wait_slow trap)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 13:05:08
问题 Since updating Facebook to v4.0.x and the latest Parse libraries, my app is hanging, seemingly when trying to log in the user. My stack trace looks like this: I had a very similar problem previously, answered here: Parse crash when calling [PFFacebookUtils initializeFacebook] - semaphore_wait_trap However that solution no longer works, since it seems [PFUser currentUser] has been replaced with [PFUser(Private) _getCurrentUserWithOptions:] and [BFTask(Private) waitForResult

Use of unresolved identifier PFFacebookUtils

依然范特西╮ 提交于 2019-12-01 16:27:05
I've done all is mentioned here ( https://www.parse.com/docs/ios_guide#fbusers/iOS ) for implement in iOS the Facebook Login. The problem is that i have an compile error "Use of unresolved identifier PFFacebookUtils" near che line PFFacebookUtils.initializeFacebook() in AppDelegate. I've correctly imported the Parse and Facebook Framework into my project. Are there some bug knowed in Xcode 6 Beta? Parse docs doesn't mention this yet: After downloading the Parse iOS SDK, You should include the ParseFacebookUtils.framework into your project, then import it in each file you want to use it, like