Facebook software development kit
Questions tagged [fbsdk]
410 questions
5
votes
1 answer
Flutter project in XCode: "Multiple commands produce...FBSDKCoreKit.framework"
I after upgrading my iOS to 16.4.1, which required me to upgrade my XCode to 14.3, which required me to upgrade my mac os from 12 to 13, I get this error when trying to build my iOS Flutter app:
Multiple commands produce…

Cedric
- 470
- 6
- 20
5
votes
4 answers
'FBSDKCoreKitImport.h' file not found after update of FBSDK 11.2.0
It returns 'FBSDKCoreKitImport.h' file not found compile error after update of FBSDK 11.2.0 in XCode. How can I fix this error?

isuru
- 3,385
- 4
- 27
- 62
5
votes
1 answer
Facebook AccessToken nil after killing App (iOS)
I am developing an iOS app using the FacebookSDK to login.
After logging in and killing the App, the currentAccessToken is always nil. It only works if I press the home button and re-open the app while it's still running in the background.
I…

Ayox
- 691
- 5
- 15
5
votes
3 answers
Getting react-native-fbsdk to work with CocoaPods
I've been trying to get react-native-fbsdk to work with CocoaPods, since I much prefer fetching the Facebook SDK as part of the pod install process, but I haven't had much luck. I'm aware that I can react-native link the npm library and manually…

wjrrrl
- 51
- 2
- 2
5
votes
1 answer
LoginManager.logInWithReadPermissions never resolved on Android
i got the sdk working for IOS, but for Android, as i call LoginManager.logInWithReadPermissions, the promise never gets resolved.
Modal appears, I insert the facebook credentials, I authorize the app, modal closes but no promise resolve.
This is the…

MauroSK
- 93
- 7
5
votes
1 answer
Use of undeclared identifier 'UIUserInterfaceIdiomTV'
After installing fbsdk on my React-Native app, I got this error:
Use of undeclared identifier 'UIUserInterfaceIdiomTV'
This is in the file Pods > FBSDKCoreKit > FBSDKOrganicDeeplinkHelper.m
I got this even though I helped a friend doing exactly the…

Thanh-Quy Nguyen
- 2,995
- 7
- 30
- 46
5
votes
2 answers
FBSDKLoginButton weird background
I'm trying to use the Facebook Login SDK and the FBSDKLoginButton. I initially used it on a white background but when I changed to a non-white background it exposed a very strange background image...
I'm not sure what I can change on it to hide…

Fogmeister
- 76,236
- 42
- 207
- 306
5
votes
3 answers
Facebook login - stays at white web page SWIFT
In my LoginViewController, I implemented the FBSDKLoginButtonDelegate and imported the FBSDKLoginKit & FBSDKCoreKit. My code in viewDidLoad is as appears:
//setting up facebook login button
var facebookLogin = FBSDKLoginButton()
//want…

Michael McKenna
- 811
- 1
- 11
- 24
4
votes
1 answer
(Breaking Again) The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first. (Android)
I've been using facebook sdk for over a year now and i had followed the docs accordingly but since yesterday the app started throwing the error and it's also occurring in the previous release build (Which was running fine till yesterday). I checked…

Mohammed Mudassir
- 372
- 5
- 14
4
votes
1 answer
Initialize Facebook Core SDK for iOS using Objective C?
I want to add the Facebook Events tracking to my app, but as it appears Facebook SDK documentation only provides the code in Swift language:
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication,…

Abdulrahman Alhayek
- 1,626
- 2
- 15
- 20
4
votes
2 answers
Receiver type 'FBSDKError' (aka 'enum FBSDKError') is not an Objective-C class
Upon upgrading the Facebook SDK, I get an error.
The resulting pods are:
Using FBSDKCoreKit (5.0.0)
Using FBSDKLoginKit (5.2.3)
Using FBSDKMarketingKit (5.0.0)
Using FBSDKMessengerShareKit (1.3.2)
Using FBSDKPlacesKit (5.2.3)
Using FBSDKShareKit…

kbinks
- 41
- 3
4
votes
1 answer
How to fix issue: no rule to process file /FBSDKCoreKit.modulemap' of type 'sourcecode.module-map' for architecture x86_64
I'm creating an app and I'm on the first step of setting up Firebase social login and I got this error suddenly,
Showing Recent Issues
:-1: no rule to process file
…

user11566611
- 41
- 1
- 2
4
votes
3 answers
Ios version of app works, but Android fails due to no suitable constructor found for AccessToken for React Native App
As mentioned in the title, the Ios version of this app works fine on a physical device. However, when I try to build it on an android device, I get an error
error: no suitable constructor found for…

VK1
- 1,676
- 4
- 28
- 51
4
votes
1 answer
Could not build module 'FBSDKShareKit'
I'm upgrading some pods, namely to support ParseLiveQuery. I'm now running into an error in one of my header files
Could not build module 'FBSDKShareKit'
Also in my errors:
Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios,…

Zack Shapiro
- 6,648
- 17
- 83
- 151
4
votes
3 answers
Semantic Issue with Facebook FBSDK Corekit
I have several issues with the Facebook FBSDK Kit, which my fellow programmers in the project don't have. I have already set up the pods, cleaned the build files, deleted the pods, updated them but I get the same errors again.
Semantic issue -…

Tumtex
- 61
- 1
- 7