facebook-ios-sdk

IPhone + Twitter + LinkedIn + Facebook Error : Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

别说谁变了你拦得住时间么 提交于 2019-11-28 14:14:17
I am using MGTwitterEngine oAuth and LinkedIn iOS SDK in my iOS application with facebook-ios-sdk TwitterEngine : https://github.com/bengottlieb/Twitter-OAuth-iPhone LinkedInIphone : https://github.com/ResultsDirect/LinkedIn-iPhone Both integrated well separately, But when I have used both in application then error coming FB + Twitter = working well FB + LinkedIn = Working Well FB + Twitter + LinkedIn = Not Working and giving error: Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 Please help me where I am wrong. Related post EDIT Error

iOS Facebook SDK 4 Session

牧云@^-^@ 提交于 2019-11-28 13:03:08
I'm having a problem with the new FacebookSDK for iOS. I can successfully login and get back necessary information, but when I open my app again and I intend to skip the login process, the session that I'm verifying is null. This is my AppDelegate: class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { self.window = UIWindow(frame: UIScreen.mainScreen().bounds) self.window!.rootViewController = LogInViewController() self.window!.makeKeyAndVisible()

FBSDKLoginManager with FBSDKLoginBehaviorWeb failing with “Not Logged In” error

瘦欲@ 提交于 2019-11-28 11:55:20
Something must have changed recently on Facebook's servers regarding how they process login requests because this used to be working perfectly and suddenly stopped. (We are using FBSDKLoginManager.loginBehavior = FBSDKLoginBehaviorWeb because of how our app is replicated for multiple brands (one codebase, many apps) and issues we ran into using the native login.) Anyhow, this is what we see now when we try to present a login webview to the user ( before it even lets them attempt to login): (Not Logged In: You are not logged in. Please login and try again.) This is the code we are using to

Parse Facebook login fails with error code 251

我的未来我决定 提交于 2019-11-28 11:39:23
I'm trying to use Parse Facebook & Twitter login in my app but the problem is I can't get the Facebook login to work. I'm getting the following error message: Error Domain=Parse Code=251 "The operation couldn’t be completed. (Parse error 251.)" UserInfo=0xa0329c0 {code=251, error=The supplied Facebook session token is expired or invalid. I also downloaded the Parse tutorial "IntegratingFacebookTutorial" and still the same error. (I added the bundle to the facebook app and updated the application id on xcode as required. The same happens in my own project when trying to use

Apple rejected app 10.6 because Facebook opens Safari to login

空扰寡人 提交于 2019-11-28 11:38:27
I sent another version of my app, that allow users to login via Facebook. Of course, I use official Facebook iOS SDK. But Apple twice rejected my app with following reason: The app opens a web page in mobile Safari for logging in, then returns the user to the app. The user should be able log in without opening Safari first. I tried to get more info, and reviewer's answer was: Thank you for your response. We reviewed your app version 3.2.1 and when the user taps Facebook to login, the user is taken to mobile Safari and then back to the app. It provides poor user's experience and not in

IOS Facebook SDK: login doesn't return email despite permissions granted

爱⌒轻易说出口 提交于 2019-11-28 09:51:31
I'm trying to get information through the facebook sdk but so far I'm getting only the id and the name of the user, although I'm sure there is an email available, as it is my account. I've been looking at several answer here but none of them solved my problem so far. What am I doing wrong, and why is it not returning more data as I am requesting several permissions? Here is my code: fbLoginManager.logInWithReadPermissions(["public_profile", "email", "user_friends", "user_about_me", "user_birthday"], handler: { (result, error) -> Void in if ((error) != nil) { // Process error println("There

How to comment or like a photo in facebook through FBconnect or Graph API in iPhone SDK?

十年热恋 提交于 2019-11-28 08:45:53
I am developing a iPhone application in which I want to Comment or Like a Photo on Facebook. For Facebook integration I am using FBConnect and Graph API. I am getting friends Photos on my wall in my application, now I want to Like or Comment on them through my iPhone Application. Please suggest me how can i obtain that. Thanks in Advance. audience To "Like" a Photo (or everthing else with an ID) just post your Acces-Token to the Graph API, e.g. your photo has the ID 123456789. So you have to post your Access-Token to https://graph.facebook.com/123456789/likes . To comment on a Photo do the

How to move to the next page in Facebook JSON response using iOS SDK?

淺唱寂寞╮ 提交于 2019-11-28 06:37:26
In Facebook iOS SDK, I can ask for queries like this: [_facebook requestWithGraphPath:@"me/feed" andDelegate:self]; But often Facebook will give a limited JSON response with a URL to be used to request to move to earlier dates, for example. So in the JSON response, I'll have: data = ( /*things here... status updates, photos, etc...*/ ); paging = { next = "https://graph.facebook.com/me/feed?sdk=ios&sdk_version=2&access_token= <something>&until=2010-12-04"; previous = "https://graph.facebook.com/me/feed?sdk=ios&sdk_version=2&access_token=<something>&since=<something>"; }; What I'm wondering is..

iPad: Cannot load facebook page wall in UIWebview

[亡魂溺海] 提交于 2019-11-28 06:31:25
问题 Its already too long i am struggling with this issue. After searching a lot I decided to post a question here. What my app does Captures photo Uploads the photo on the wall of the page Displays the facebook page wall in a UIWebview after upload is complete Everything was working as expected 4 days back :) Suddenly something went wrong :( Code NSString *facebookPageURL =@"https://m.facebook.com/pages/<myPageName>/<myPageID>?v=wall" UIWebView *webView = [[UIWebView alloc] initWithFrame

[Facebook-iOS-SDK 4.0]How to get user email address from FBSDKProfile

一曲冷凌霜 提交于 2019-11-28 06:11:06
I'm upgrading my app to Facebook-iOS-SDK-4.0 , but seems like I can't get user email from FBSDKProfile , since it only provide, username, userid, etc. To fetch email you need to utilize the graph API, specifically providing the parameters field populated with the fields you want. Take a look at Facebook's Graph API explore tool, which can help to figure out the queries. https://developers.facebook.com/tools/explorer The code that worked for me to fetch email is the following, which assumes you are already logged in: NSMutableDictionary* parameters = [NSMutableDictionary dictionary];