Questions tagged [facebook-sdk-4.x]

Facebook sdk 4.x is latest set of API for Facebook developers. It has two branches: - Facebook C#/.Net SDK 4.0 - Facebook PHP SDK 4.0

211 questions
34
votes
7 answers

Facebook Android SDK 4.5.0 get email address

I'm currently creating a test application to test using the latest facebook SDK to update our existing application problem is that I need to get the email address which I know depends if the user has provided one on his account. Now the account I'm…
KaHeL
  • 4,301
  • 16
  • 54
  • 78
24
votes
2 answers

Facebook SDK 4.7.0 logs ClassNotFoundException for AppEventsLogger

I integrated the FB SDK in my Android app via Gradle for log-in and tracking events. Log-in works fine, but the logcat keeps showing me an exception every 15 seconds once I try to log an app event: D/com.facebook.appevents.AppEventsLogger: Got…
14
votes
4 answers

Facebook App Invites is deprecated

As the latest release of Facebook SDK version 4.28.0 - November 7, 2017, App Invites is deprecated. https://developers.facebook.com/docs/app-invites/android/ With the release of the Facebook SDK version 4.28.0, App Invites is deprecated. It will…
Phong Nguyen
  • 6,897
  • 2
  • 26
  • 36
14
votes
3 answers

Implicit declaration of function 'FBSDK_NOT_DESIGNATED_INITIALIZER' is invalid in C99 Expected ')'

I'm using Facebook SDK for iOS 4.6.0 and just today above error encountered after updating cocoapods to 0.38.2. I'm not sure this error has anything to do with cocoapods. Error screenshot:
13
votes
1 answer

Callback functions are not called in Android Facebook Login

I am developing an Android app. In my app, I am integrating Facebook Login. I have done developing Facebook Login once before. When I develop this time, Facebook callback functions are not called. I cannot check the error as well. I have no idea…
Wai Yan Hein
  • 13,651
  • 35
  • 180
  • 372
8
votes
2 answers

facebook login trapped in a loop if open in facebook app

I'm implementing Facebook login in my app. it works fine if a user doesn't have the Facebook App, but it fails when the user has Facebook App. Because when logging in, it promotes to use the app to do login. And once signed in within the Facebook…
Bill Yan
  • 3,369
  • 4
  • 27
  • 42
8
votes
2 answers

FBSDKShareDialog of Facebook SDK is not working on iOS9?

With Xcode7, I upgrade Facebook SDK to pod FBSDKShareKit (4.6.0). And I have added Facebook scheme to WhiteList as below. reference: https://developers.facebook.com/docs/ios/ios9 LSApplicationQueriesSchemes
derjohng
  • 877
  • 2
  • 9
  • 18
7
votes
0 answers

Facebook-SDK for Android: would expect much higher numbers for in app purchases

I have an Android app with Facebook SDK 4.6.0. We updated to 4.36.1 which should enable automatic In App Purchase tracking. Now we see the first numbers coming in, but according to Google Play Developer Store they should be much, much higher (~…
swalkner
  • 16,679
  • 31
  • 123
  • 210
7
votes
2 answers

Android Facebook SDK (4.31.0) - ActivityNotFoundException in CustomTabLoginMethodHandler

Since we deployed a new version of our Android app with updated Facebook SDK, we see many users are crashing on Facebook Login. It doesn't reproduce on our devices. Crash and stacktrace: Caused by android.content.ActivityNotFoundException Unable to…
yonix
  • 11,665
  • 7
  • 34
  • 52
6
votes
3 answers

No such module 'FacebookCore' in swift 5

I am doing my own test app as part of my learning process in iOS development (using swift 5 on Xcode 11.0). I want to add login with Facebook on my login page but I keep getting No such module 'FacebookCore' when importing the library. I followed…
S.Hasan
  • 354
  • 2
  • 14
6
votes
1 answer

Facebook SDK WebView doesn't logout

I'm developing an app, that will be installed on one device and every user will use my device to share an image. They need to login on Facebook to share the image on their profile. After sharing the image, the app should logout from facebook in…
Federico Ponzi
  • 2,682
  • 4
  • 34
  • 60
6
votes
2 answers

Android - Facebook SDK 4.30 Initialization

I get the following error when trying to login by Facebook when using the latest SDK version which is 4.30: The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() Then the application crashes. Although, in the official…
6
votes
2 answers

Android Why Facebook SDK Logout button not showing?

I have developed an app with facebook login, there is no problem in the login process. But I do not see the button when I want to logout. Broken App Screenshot Working App Screenshot Broken app gradle files; apply plugin:…
5
votes
0 answers

NoClassDefFoundError in InternalAppEventsLogger

I am using the facebook marketing. But its show this kind of exaptions Caused by: java.lang.ClassNotFoundException: Didn't find class "com.facebook.appevents.InternalAppEventsLogger" on path: DexPathList[[zip file…
5
votes
2 answers

How to fix "Invariant Violation: requireNativeComponent: "RCTFBLoginButton" was not found in the UIManager."?

Let me start by saying that similar SO questions suggest the problem may be related to not having linked the lib. I've ran react-native link react-native-fbsdk again, to confirm it was indeed linked, and confirmed it was rnpm-install info Platform…
Taly Hotimsky
  • 221
  • 3
  • 8
1
2 3
14 15