Questions tagged [facebook-ios-sdk]

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

Facebook SDK 4.x for iOS.

1778 questions
5
votes
1 answer

How to Send App request to facebook friends through facebook iOS sdk?

I am using facebook sdk for my my iOS facebook application. I want to send app request to multiple users. I am using following method for that purpose. NSArray* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys: …
5
votes
1 answer

iOS Facebook SDK installation - App Events

I'm having a nightmare trying to install the Facebook SDK on iOS for app events analytics. The facebook documentation is terrible, and inconsistent, and I can't find any up to date installation documents that work. All I want to do is install the…
TimWhiting
  • 2,405
  • 5
  • 21
  • 41
5
votes
0 answers

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
  • 7,813
  • 15
  • 81
  • 165
5
votes
1 answer

Facebook API for Mac Application

I'm developing a Mac application to share the files (video, images) to Facebook using the Facebook API. In the Facebook SDKs & Tools, I can find only iOS SDK (iPhone & iPad), but not the one specific for Mac application. Does it mean we've to use…
LS Developer
  • 515
  • 10
  • 24
5
votes
2 answers

Facebook Audience Network: is Facebook Login required?

we've integrated Facebook Audience Network in our Android and iOS apps a few days ago. We're using AdMob Open Bidding mediation. Technically speaking everything seems to be ok, the SDK is initializing as expected and the AdMob adapter has been…
5
votes
3 answers

FBSDKLog: FBSDKGraphRequestConnection cannot be started before Facebook SDK initialized

I just use Facebook Analytics in my iOS app using FBSDKCoreKit 8.1.0 (latest) This error message keeps flooding my log: FBSDKLog: FBSDKGraphRequestConnection cannot be started before Facebook SDK initialized. I don't even use the Graph API. I've…
themenace
  • 2,601
  • 2
  • 20
  • 33
5
votes
4 answers

Post string on Facebook wall without showing dialog (iPhone Facebook SDK)

I have been searching stackoverflow and the internet and did no find a working solution for my intention. I want to call a method with a string as parameter which is then posted to the facebook wall without showing a dialog. Of course only when a…
nimrod
  • 5,595
  • 29
  • 85
  • 149
5
votes
1 answer

finished with error - code: -1009 when internet there is no connection

We are using Google SDKs like SignIn,maps and Analytics. Facebook SDK for signIn. Alamofire and ObjectMapper for Networking and JSON parsing. Realm for DB. When there is no internet connection I am getting following error on console. I have…
AppleBee
  • 1,199
  • 12
  • 26
5
votes
3 answers

How to post to a friends Wall using Facebook Graph API for iPhone

I want to post something in the users friends wall. I use this to post into the user wall SBJSON *jsonWriter = [[SBJSON new] autorelease]; NSDictionary* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys: …
ipraba
  • 16,485
  • 4
  • 59
  • 58
5
votes
3 answers

FBRequestDelegate only works on AppDelegate?

I want to encapsulate all my Facebook interactions within a FacebookFacade class to keep things clean and tidy. I have an instance of the iOS SDK Facebook class within my FacebookFacade. My problem is that when I make a Graph API call within the…
RMR
  • 51
  • 1
  • 2
5
votes
0 answers

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 :…
schinj
  • 794
  • 4
  • 19
5
votes
5 answers

Ambiguous reference to LoginManager Facebook sdk swift

I've integrated facebook-sdk-swift manually in my ios project in xcode8 following documents [https://developers.facebook.com/docs/swift/getting-started]. I'm getting error "Ambiguous reference to member logIn(_:viewController:completion:)" my code…
Nitisha Sharma
  • 239
  • 4
  • 14
5
votes
6 answers

Blank page while logging in with Facebook SDK on iOS 10

In my app I'm using facebook SDK to login a user like this: FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logInWithReadPermissions: @[@"public_profile", @"email"] fromViewController:self…
joaocdn
  • 51
  • 1
  • 2
5
votes
1 answer

Intermittent close of facebook login page which is integrated with iOS app

Mine is an iOS app in Objective-C and have integrated Facebook SDK for login functionality. I have a mainview controller where I display my button. On button click belowmentioned code is executed on the button handler. FBSDKLoginManager *login…
Marimuthu
  • 437
  • 4
  • 14
5
votes
4 answers

Cannot build facebook ios SDK in Swift Project

I get these errors Here is the pods that are installed My Podfile is : platform :ios, “8.0” post_install do |installer| installer.pods_project.build_configuration_list.build_configurations.each do |configuration| …
Utku Dalmaz
  • 9,780
  • 28
  • 90
  • 130