Skip to main content

Questions tagged [facebook-ios-sdk]

Facebook's SDK for developing Facebook-connected applications for iOS devices

facebook-ios-sdk
663 questions with no upvoted or accepted answers
8 votes
1 answer
3k views

Facebook iOS SDK 3.0 Re-Authorisation

I have a few of questions about the new FBSession reauthorisation (reauthorizeWithPermissions: behavior: completionHandler:) in facebook sdk 3.0: Once someone has logged in via facebook on my app, on ...
Anand's user avatar
  • 81
7 votes
2 answers
1k views

CocoaPods v0.39.0 errors with Facebook SDK v4.7

Old Cocoapods Configuration I am using Xcode 7 Beta 4. Initially I was using Cocoapods version 0.38.2 and when I ran pod install --verbose in Terminal it said it downloaded dependencies for Bolts, ...
Luke Schoen's user avatar
  • 4,405
7 votes
1 answer
2k views

How to handle expired Facebook access tokens on iOS and FB SDK 3.7

I'm using Facebook's iOS SDK 3.7 on my iOS app to handle logins. When I request post permissions it looks like the expiration date is about 2 months from the date of login. I understand I can check ...
Jiho Kang's user avatar
  • 2,482
7 votes
1 answer
2k views

iOS web/native app Facebook Login Popup - FAILS?

I am trying to build a web app that will allow a user to login Facebook. Everything works in Firefox/Chrome/Safari (on the phone/tablet and on OSX). When the App runs on the tablet (Native UIWebview ...
Tyler Wall's user avatar
  • 3,778
6 votes
0 answers
964 views

FBSDKLog: Unable to obtain a key window

When I start my application I get the following log: FBSDKLog: Unable to obtain a key window, marking <UIWindow: 0x100e7b260; frame = (0 0; 375 667); hidden = YES; gestureRecognizers = <...
themenace's user avatar
  • 2,760
6 votes
0 answers
1k views

Facebook login crash in iOS 10 when build is installed from testflight on Bitcode ON

I am using Xcode 7.3.1(Swift) and using the latest FB iOS SDK v4.15.1 EDIT Same scenario happened also on FB iOS SDK v4.14.0 EDIT OVER I am facing a weird issue in iOS 10 device whenever I am doing ...
Rajan Maheshwari's user avatar
6 votes
1 answer
874 views

iOS how to publish action on custom object Graph Api - Facebook

I need to publish action I got success in publishing 'liking the link' from graph API. e.g 'abc likes www.abc.com' now I am stuck at 'liking custom object' e.g 'abc likes toy1' and also to get total ...
Haris's user avatar
  • 1,862
6 votes
0 answers
533 views

How to open a particular Facebook post in Facebook iOS app?

So I get this data from graph search: https://graph.facebook.com/search?q=watermelon which has post Id and the user Id. How can I use it to launch the Facebook iOS app and make the app go to that ...
Ashish Awaghad's user avatar
6 votes
1 answer
1k views

Could not fulfill request (error code 7) via openActiveSessionWithReadPermissions with Facebook test users

Background Recently upgraded to Facebook SDK 3.2 Tested on both device and simulator (iOS 5.1 through 6.1) Error is only present when attempting to authenticate Facebook test users. Error The ...
Terry Worona's user avatar
5 votes
0 answers
504 views

target 'FBSDKLoginKit' has invalid header layout: umbrella header found at

When compiling my project in the latest version of Xcode I'm running into the following error: Showing Recent Messages target 'FBSDKLoginKit' has invalid header layout: umbrella header found at '/...
Chris Hansen's user avatar
  • 8,389
5 votes
0 answers
532 views

Can't share Video to Facebook in Swift

I am trying to share a video on facebook using FBShareDialog. But I am getting error : The operation couldn’t be completed. (com.facebook.sdk.share error 2.) I have the file path : file:///...
schinj's user avatar
  • 804
5 votes
0 answers
601 views

Is Facebook SDK disabling event logging in development by default?

Seems like a pretty simple question that doesn't need stack overflow, but I can't seem to find a straight and clear answer to that. I recently swapped from google analytics to FB analytics, following ...
dev_mush's user avatar
  • 2,196
5 votes
1 answer
629 views

iOS9 Facebook Login canOpenURL error

I am having an issue with Facebook SDK 4.6 using iOS9 and Xcode7. When testing on a device, nothing happens when I click the login button and in the iOS Simulator, I receive an error. 2015-10-01 17:...
Wraithseeker's user avatar
  • 1,904
5 votes
1 answer
866 views

Facebook Login: -canopenurl issue with facebook sdk?

I'm trying to integrate Facebook Login in my IOS app. The error -canOpenURL: failed for URL: "fbauth2:///" - error: "(null)" is suddenly started coming now. My info.plist has following entries &...
crysis's user avatar
  • 1,584
5 votes
0 answers
613 views

iOS Facebook, Logout current FB user, then login as different FB user

After reading near misses on SO here, here, here and others, my app is still not clearing the previously logged in Facebook user from my device so that I can then login as a different Facebook user. ...
smDeveloper's user avatar
  • 1,068

15 30 50 per page
1
2 3 4 5
45