Facebook software development kit
Questions tagged [fbsdk]
410 questions
3
votes
2 answers
How to change name App in fbsdk login React Native ('Project wants to Use facebook.com') iOS
I use ReactNative FBSDK on iOS and Alerts when I press a button, which is the name of the project,
How do I replace it?
Thank you.

zidniryi
- 1,212
- 3
- 15
- 36
3
votes
0 answers
FBSDK OAuth error on Xcode, Swift - Graph API for app id "New App ID" called, but token has app id "old app ID"
Facebook OAuth error switching from one app ID to another
I worked with contract devs who created the iOS application on another Facebook app ID which i can't control. I am trying to switch it to mine but ran into an error that the token still is…

Alex Carrabre
- 91
- 5
3
votes
1 answer
'React/RCTComponentEvent.h' file not found
I faced this issue after upgrading my react-native-fbsdk to 1.0.1
/Users/mahgolfathi/plusless-app/node_modules/react-native-fbsdk/ios/RCTFBSDK/login/RCTFBSDKLoginButtonManager.m:22:9: fatal error: 'React/RCTComponentEvent.h' file not found
#import…

Mahgolsadat Fathi
- 3,107
- 4
- 16
- 34
3
votes
0 answers
Cannot read property 'getCurrentAccessToken' of undefined
It seems like AccessToken is undefined in my code
import {AccessToken} from 'react-native-fbsdk';
AccessToken.getCurrentAccessToken().then(
(data) => {....}).catch(e => {
console.log('fb could…

Mahgolsadat Fathi
- 3,107
- 4
- 16
- 34
3
votes
1 answer
Updating FB SDK to latest version not working
I have a legacy app that used the old version of FBSDK, and every time I logged in to FB developer dashboard I see this warning:
Your Facebook SDK for iOS is out of date and missing important iOS 11
fixes that make it easier for people to log…

Afiq Hamdan
- 43
- 8
3
votes
2 answers
Facebook ios sdk Graph request allows only one field as parameter
I'm developing an app which requires facebook login, and user details. However, the same code that I used in previous apps for fb login doesn't work, and I need to make separate graph requests for each field like name, email, picture,…

Shivan
- 33
- 5
3
votes
1 answer
Facebook AppLinkData fetchDeferredApplinkData ReactNative
I'm trying to use the AppLinkData.fetchDeferredAppLinkData SDK method in a React Native app. The official React Native wrapper for FBSDK - https://github.com/facebook/react-native-fbsdk - does not seem to have a binding for the same.
How can I call…

Steve Robinson
- 3,759
- 3
- 36
- 57
3
votes
1 answer
FBSDKLoginKit is crashing for unknown reason on iOS11.3 version
@IBAction func didTapLogainAction(_ sender: Any) {
let fbLoginManager : FBSDKLoginManager = FBSDKLoginManager()
fbLoginManager.logIn(withReadPermissions: ["email"], from: self) { (result, error) in
if (error == nil){
let…

Nrv
- 280
- 1
- 6
3
votes
0 answers
For facebook analytics sdk I am getting this error Can anyone please tell me fast how to solve this?
Error:(12, 0) Could not find method implementation() for arguments [com.facebook.android:facebook-android-sdk:[4,5)] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Open File
buildscript {
…

Bhoomi Khalpada
- 31
- 6
3
votes
0 answers
FBSDKLoginKit - UIApplicationOpenURLOptionsSourceApplicationKey' is only available on iOS 9.0 or newer
I am using FBSDKLoginKit to provide facebook login in my swift project. My deployment target is 9.0 but I keep on getting the following warnings. Any insight is greatly appreciated.
UIApplicationOpenURLOptionsSourceApplicationKey' is only available…

kelsheikh
- 1,278
- 3
- 17
- 37
3
votes
3 answers
Facebook Graph API: Publish post with multiple videos and photos
I try to publish a post with multiple videos and photos by using the PHP SDK. I uploaded videos and photos using batch request and got the id. Then I pass the media ids along with post data using attached_media. Things work fine for single or…

Tam Tran
- 31
- 3
3
votes
0 answers
InvalidOperationException fbauth2 missing
I'm facing this issue consistently... before making it as duplicate question I gone through many sites but I didn't find any answer.
Here is the exception on that I got
"fbauth2 is missing from your Info.plist under LSApplicationQueriesSchemes and…

Mounika
- 412
- 2
- 20
3
votes
1 answer
React native - fbsdk LoginManager vs LoginButton
I'm currently implementing a Facebook login button into my react native application. Once the user logged in successfully I grab some information, firstname, lastname and email address.
After reading the SDK documentation and online examples I can…

John
- 3,529
- 14
- 42
- 48
3
votes
1 answer
How to get user email address using FBSDK in swift iOS for iPhone?
I'm a self-learning fresher developing iPhone app using swift. I'm designing a login page for Facebook authentication using FBSDK. I have successfully implemented the login button that logs in and logs out. It returns the username and id, but it…

Nisha
- 33
- 1
- 7
3
votes
3 answers
FBSDKCoreKit cocoapod compilation fails
I installed the new cocoapods version 1.0.2 today (it was 0.39 before) and since then the compilation of FBSDKCoreKit fails with the following error:
'FBSDKCoreKit/FBSDKCopying.h' file not found
Could not build Objective-C module…

Ybrin
- 901
- 8
- 30