facebook-ios-sdk

Same facebook key for lite and pro apps

陌路散爱 提交于 2019-12-23 06:06:51
问题 I have a lite and pro version of my Iphone app, but my lite app rejected by appstore ,they cannot login through facebook. But in development mode i can able to login both pro and lite version through FB. I have used same FB developer key for both lite and pro. Is this the issue for rejection? If i need to use different developer key for lite and pro version of same app? Thanks, 回答1: Please check this SO post. It may help you. urlSchemeSuffix is a string of lowercase letters that is appended

Same facebook key for lite and pro apps

不想你离开。 提交于 2019-12-23 06:03:56
问题 I have a lite and pro version of my Iphone app, but my lite app rejected by appstore ,they cannot login through facebook. But in development mode i can able to login both pro and lite version through FB. I have used same FB developer key for both lite and pro. Is this the issue for rejection? If i need to use different developer key for lite and pro version of same app? Thanks, 回答1: Please check this SO post. It may help you. urlSchemeSuffix is a string of lowercase letters that is appended

Any way to have completionHandler style syntax using [facebook authorize] on iOS 5?

浪子不回头ぞ 提交于 2019-12-23 02:45:32
问题 The code below is trying to lazy login to Facebook right before posting a photo, but has an asynchronous problem. In the logs, the after isSessionValid block will appear before the fbDidLogin and then a facebookErrDomain error 10000 will happen ("OAuthException", "active access token must be used", etc). MyAppDelegate *appDelegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate]; if (![appDelegate.facebook isSessionValid]) { [appDelegate.facebook authorize:[NSArray

undeclared identifier 'FBAppCall' 'FBDialogs'

依然范特西╮ 提交于 2019-12-22 17:48:14
问题 I'm recently trying to update the Facebook SDK on our application. I had no worries following the steps fom the Upgrade guide by Facebook. I was able to compile without issues. However, when I quit XCode, reopen my project and try to recompile I get an error about ' FBAppCall ' (undeclared identifier). All others classes from the SDK are working except this one and ' FBDialogs '. I am able to solve those errors by deleting the Facebook framework and adding it again. But I must do it every

undeclared identifier 'FBAppCall' 'FBDialogs'

那年仲夏 提交于 2019-12-22 17:48:07
问题 I'm recently trying to update the Facebook SDK on our application. I had no worries following the steps fom the Upgrade guide by Facebook. I was able to compile without issues. However, when I quit XCode, reopen my project and try to recompile I get an error about ' FBAppCall ' (undeclared identifier). All others classes from the SDK are working except this one and ' FBDialogs '. I am able to solve those errors by deleting the Facebook framework and adding it again. But I must do it every

iOS FacebookSDK + Parse SDK + GoogleMaps SDK

眉间皱痕 提交于 2019-12-22 10:55:16
问题 I searched a lot and I realized, -ObjC flag that GoogleMapSDK requires, doesn't play well with ParseSDK and FacebookSDK . So I read on all the stackoverflow answers and tried solving my problem. The problem isn't fixed yet. Steps I performed: Problem 1 :Parse doesn't work with -ObjC Solution 1 : To make Parse work with -ObjC import the FacebookSDK. Done Problem 2 : Parse and Fb SDK both use Bolts.framework and the linker gives duplicate symbol errors(some 92 of them) Solution 2 : Delete Bolts

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

How to fetch user's birthday from Facebook API in iOS using latest Facebook sdk?

匆匆过客 提交于 2019-12-22 09:25:32
问题 How to fetch user's birthday from Facebook API in iOS using latest Facebook sdk? I have tried to fetch it {@"fields": @"id, name, link, first_name, last_name, picture.type(large), email, birthday"} and have given permission [login logInWithReadPermissions:@[@"public_profile", @"email", @"user_friends",@"user_birthday"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) But not able the fetch birthday. 回答1: You can't fetch users birthdate only yours you can get and you have to

FaceBook API, login in-app

╄→尐↘猪︶ㄣ 提交于 2019-12-22 08:38:02
问题 I followed this guide and I've created my app successfully with Facebook integration. What's the problem? When the user has to do the login, the app quits in the browser (or in Facebook app, if is installed) How do I keep authentication entirely in-app? 回答1: The point of the oAuth login is that it doesn't happen within your application. It uses fast-app switching to perform the authentication in a trusted environment (either Safari or the Facebook application). However, you can modify

Facebook iOS SDK gives FBErrorCategoryUserCancelled for no reason?

落爺英雄遲暮 提交于 2019-12-22 08:30:14
问题 I've been rejected from the App Store since the tester was unable to login to my app with Facebook Login (I use the latest Facebook iOS SDK 3.13) They've sent me a screenshot indicating "Facebook: Login cancelled". I've searched my app's code, and the only way this message could ever be shown is if this Error message was triggered by the Facebook SDK: "FBErrorCategoryUserCancelled". Assuming they didn't press "Don't Allow" when the Facebook login asked for permissions, why did Apple see this