Questions tagged [fbsdk]

Facebook software development kit

410 questions
65
votes
13 answers

Facebook Sdk Has Not Been Initialized FacebookSdk.sdkInitialize()

Hey I know this was asked before, but none of the solutions seem to help. I'm using first time Facebook SDK in my application. What I've tried: I had tried most of the things found on Internet but did not get anything regarding this. Here is my…
Tufan
  • 2,789
  • 4
  • 34
  • 52
42
votes
7 answers

Facebook Sdk Android Error Building

I am trying to build my react-native project and using react-native fbsdk. However, I get these errors: /home/luiz/MYP/app/node_modules/react-native-fbsdk/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error…
Luiz
  • 2,429
  • 8
  • 28
  • 43
28
votes
4 answers

FBSDKAccessToken currentAccessToken nil after quitting app

I am developing an ios app using the Facebook SDK to login. I have set a LogInViewController as the initial View Controller in the Storyboard, from where the user logins using the FB account. I have another ViewController which is loaded correctly…
Andreas Xenos
  • 335
  • 1
  • 3
  • 7
23
votes
8 answers

Could not find com.android.support:appcompat-v7:25.3.1

I suddenly started getting this error when trying to build. This was all working a few weeks ago with no changes that I know of. The issue seems to be related to react-native-fbsdk, but looking through its build.gradle it does not list…
atkayla
  • 8,143
  • 17
  • 72
  • 132
23
votes
3 answers

Change the FB login button text (react-native-fbsdk)

I am using react-native-fbsdk. How can I change the fb login button text from 'Login with facebook' to 'Continue with fb'? The component looks like this, and I can't find a way to change it:
perrosnk
  • 835
  • 2
  • 13
  • 23
20
votes
3 answers

SDKApplicationDelegate Use of unresolved identifier

I have two pods installed for facebook login pod 'FacebookCore' pod 'FacebookLogin' than imported FacebookCore in appdelegate. still it shows use of unresolved identifier error. I have also implemented tags in…
Krutika Sonawala
  • 1,065
  • 1
  • 12
  • 30
20
votes
1 answer

Invalid iOS Bundle

This bundle is invalid - The Info.plist file for /Payload/xxx.app/Frameworks/FBSDKCoreKit.framework/FacebookSDKStrings.bundle is missing or could not be read. Invalid Bundle - The bundle at…
ibyte
  • 463
  • 4
  • 17
19
votes
4 answers

FB SDK Error: Login Failed (react-native)

I'm currently setting up Facebook Authentication for my Reach Native application. After the usual problems with the react-native-fbsdk setup, now the Facebook App Events work and the LoginManager loads up. My problem: After Authorisation the…
Jonas
  • 355
  • 1
  • 4
  • 16
18
votes
6 answers

Facebook cocoapods 'sharedApplication' is unavailable: not available on iOS (App Extension)

I have installed the facebook sdk via cocoapods but I get the below error: 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead. relating to line 701 in…
MattBlack
  • 3,616
  • 7
  • 32
  • 58
17
votes
6 answers

CDN: trunk Repo update failed - 12 error(s):

Getting error when I tried to update pod, pod update Error found, [!] CDN: trunk Repo update failed - 12 error(s): CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/9/b/5/FBSDKCoreKit/6.1.0-alpha/FBSDKCoreKit.podspec.json…
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
16
votes
1 answer

React Native Android: Method does not override or implement a method from a supertype

I've added react-native-fbsdk to my react native project and have it building fine on iOS. But on the android side, I can't get gradle to build the project. When trying to compile react-native-fbsdk, I'm hitting: "method does not override or…
Jon Cursi
  • 3,301
  • 4
  • 27
  • 53
15
votes
4 answers

FBSDKCorekit.h, FBSDKCopying.h file note found using Cocoapods

For some odd reason after adding an unrelated pod I have been receiving an error message during the build process that indicates FBSDKCorekit.h, FBSDKCopying.h and FBSDKButton.h files are not found. I have followed countless suggestions changing…
kdgwill
  • 2,129
  • 4
  • 29
  • 46
12
votes
1 answer

React Native Facebook Login using official fbsdk

I tried following the starter tutorial by setting up a new React Native Project for iOS. But the loginbutton doesn't seem to be working. Any help is appreciated. Here's the index.ios.js: import React, { Component } from 'react'; import { …
philoniare
  • 1,625
  • 1
  • 13
  • 20
8
votes
2 answers

Could not find or use auto-linked library '..." after installing react-native-fbsdk

I am trying to install react-native-fbsdk via npm, and whereas my build worked perfectly before, once I install the library and install pods, I get the following error: ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation' ld:…
Steven Matthews
  • 9,705
  • 45
  • 126
  • 232
8
votes
5 answers

FBSDK: Cannot read property loginwithreadpermissions of undefined

I'm setting up a React Native project using the FBSDK for login purpose. Here's what I've done so far: I ran npm install react-native-fbsdk --save I ran react-native link I followed each step mentioned there:…
enguerranws
  • 8,087
  • 8
  • 49
  • 97
1
2 3
27 28