Facebook software development kit
Questions tagged [fbsdk]
410 questions
8
votes
2 answers
"deprecated from Graph API 2.9" warnings for FBSDKShareLinkContent properties
When I try to pass an FBSDKShareLinkContent to an FBSDKMessageDialog, it returns with warnings for some properties, saying that those are deprecated from Graph API 2.9.
'imageURL' is deprecated: imageURL is deprecated from Graph API…

Tamás Sengel
- 55,884
- 29
- 169
- 223
8
votes
1 answer
React Native Facebook login button crashes app in iOS Simulator
I am trying to set up Facebook login in my React Native iOS app using FBSDK. The button renders but when clicked crashes the app in the iOS simulator. It doesn't even console log any errors in the remote debugger.
I added the FBSDKCoreKit.framework…

Phil Mok
- 3,860
- 6
- 24
- 36
8
votes
1 answer
Open native iOS app from Facebook feed
I'm sharing a FBSDKShareOpenGraphObject with an FBSDKShareOpenGraphAction of type "video.watches" using the Facebook's SDK. Everything goes fine, the post appears on the Facebook feed but if I tap on the application's name I get an error. This is…

ov1d1u
- 958
- 1
- 17
- 38
8
votes
3 answers
App crashes using Facebook Login SDK when I go to the home screen
I originally downloaded the FBSDK's version 4.10 and integrated them into my application by placing them in the frameworks folder. Realizing that these would not get updated over time, I removed them completely and tried to add them as pods to my…

havak5
- 714
- 1
- 6
- 20
7
votes
1 answer
Add Facebook SDK `activateApp` to `applicationDidBecomeActive`?
Is it necessary to add FBSDKAppEvents.activateApp() to applicationDidBecomeActive when FacebookAutoLogAppEventsEnabled is not set to false?
According to FBSDKAppEvents.h it is not necessary:
Notifies the events system that the app has launched and,…

Manuel
- 14,274
- 6
- 57
- 130
7
votes
3 answers
React native fbsdk issue - Task :react-native-fbsdk:compileDebugJavaWithJavac FAILED
I'm having issues building my android folder with react-native run-android after installing the fbsdk library and following all the steps to properly link it. Below is my error message.
I already tried to change my default sdk version from 23 to…

Hugo
- 2,073
- 6
- 23
- 46
6
votes
0 answers
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 ;
layer = >…

themenace
- 2,601
- 2
- 20
- 33
6
votes
4 answers
React native glog iOS : Unknown type name '_START_GOOGLE_NAMESPACE_'
I already built an android project of react native which is working fine. I then started with iOS part. I am using react-native-cli: 2.0.1 react-native: 0.60.4 and Xcode 10 and Mac OS Mojave
The default pod file had some issues installing glog It…

Nilkamal Gotarne
- 335
- 5
- 16
6
votes
1 answer
How to center text in Facebook Login Button for React Native (Android)?
I am using Facebook SDK's (via react-native-fbsdk) Login Button in my React-Native application.
The button text Continue with Facebook appears centered vertically in iOS but is off-center in Android (7.0).
Is my only option to make my own custom…

Abundance
- 1,963
- 3
- 24
- 46
6
votes
2 answers
FB App This method must be called with a Page Access Token
When i use this code:

unbreak
- 1,000
- 1
- 16
- 32
6
votes
2 answers
iOS app crashes when I write FirebaseApp.configure()
I have an ios app which works fine with normal and facebook login. Today I integrated firebase and when I write FirebaseApp.configure() in app delegate, my app crashes and this function is highlighted with error code "unexpectedly found nil while…

JenniSole
- 61
- 1
- 3
6
votes
4 answers
'LikeView' has no propType 'RCTFBLikeView.onLayout' of native type 'boolean' if you haven't changed this
LikeView has no propType for native prop RCTFBLikeView.onLayout of native type boolean
If you haven't changed this prop yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make…

xclearner
- 106
- 5
6
votes
1 answer
Can't retrieve FBSDKAccessToken current token correctly in swift 3 / FBSDK 4.17
I was using the function FBSDKAccessToken.currentAccessToken() to retrieve the FB Token, which was working correctly, until I've migrated my app in swift 3 and the 4.17 SDK.
Now, the function has been renamed to FBSDKAccessToken.current() and is nil…

Denis Laboureyras
- 115
- 10
6
votes
3 answers
Facebook Page Image returning null in FBSDKGraphRequest
I am attempting to retrieve the image from a facebook page. I have retrieved the page ID, and now I need to use this ID to get the image from the page. I am using the following code:
let pictureRequest : FBSDKGraphRequest =…

arc4randall
- 3,275
- 3
- 27
- 40
6
votes
1 answer
Undefined symbols for architecture armv7 for FBSDKLoginCore
I recently encountered this error when trying to implement Facebook Login using Parse SDK and Facebook SDK.
I took the following steps:
Imported the following frameworks
Listed them under bridging header
I get the following errors after I…

htjohn
- 422
- 7
- 21