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
Questions tagged [facebook-sdk-4.x]
211 questions
3
votes
1 answer
undefined is not an object (evaluating 'LoginManager.loginWithPermissions')
Trying simple react-native app with facebook SDK, getting the following error:
undefined is not an object (evaluating 'LoginManager.loginWithPermissions')
Steps to reproduce:
react-native init app
react-native install…

Denis Stepanov
- 101
- 1
- 6
3
votes
2 answers
Importing Facebook SDK crash android app java.lang.UnsatisfiedLinkError
Just importing Facebook SDK crashes my android app, it was working fine but it start to crash, I comment every section uses facebook SDK it still crash
I use facebook sdk version "4.24.0"
07-05 12:50:30.309 10354-10412/andrewhossam.cuju_android…

Andrew Hossam
- 381
- 4
- 12
3
votes
3 answers
Rewriting promises with async/await, seeking for clarification
I have two functions that handle Facebook login/logout on my front-end and both of them are written with promises. I want to rewrite these using async/await.
The original code with promises:
export function login() {
return new…

cinnaroll45
- 2,661
- 7
- 24
- 41
3
votes
3 answers
AppEventsLogger.deactivateApp(Context context) deprecated
I'm using Facebook SDK for Android v4.20. When I want to call AppEventsLogger.deactivateApp(getApplication()); in my Activity's onPause() it shows as deprecated. I'm using Android Studio 2.3, the app minimum SDK is 16 and target is 25, I use build…

Jan Slominski
- 2,968
- 4
- 35
- 61
3
votes
1 answer
How to share HashTag Text with Video On Facebook in IOS?
I'm sharing the video on Facebook (Without the SLComposer) from my IOS App. it will send successfully but I want To add the HashTag Text With it. Im Trying it But It will not get add shared with the video (only video get shared ).
FBSDKShareVideo…

Vishal Wagh
- 111
- 1
- 10
3
votes
2 answers
onActivityResult not called on facebook sign in
I have an android app with facebook sign in.I initialized facebook sdk in a fragment.But the onActivityResult was never called when launching sign in procedure.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
…

Kiran Benny Joseph
- 6,755
- 4
- 38
- 57
3
votes
1 answer
Facebook SDK ads not working without AdSettings.addTestDevice
Here is my code where I load ads:
adView = new AdView(this,getResources().getString(R.string.facebook_ad_id) , AdSize.BANNER_320_50);
LinearLayout layout = (LinearLayout)findViewById(R.id.adView);
layout.addView(adView);
…

Sam Stone
- 477
- 2
- 10
- 33
3
votes
0 answers
Facebook SDK New Permission asking screen won't appear for existing authenticate user iOS
I am using Facebook latest SDK4.9 for iOS login. Now i am trying to add new permission that not granted by old authenticated user. So i followed Facebook doc https://developers.facebook.com/docs/facebook-login/ios/permissions and use following…

Nitin Gohel
- 49,482
- 17
- 105
- 144
3
votes
0 answers
Facebook SDK login issue in iOS 9.2
I am using facebook login in my app. It is not working in iOS9.2. After facebook login the safari window is not redirecting to my app and it is showing a blank screen. It is working fine in iOS 9 and other versions. Please find the screenshots…

AloSwift
- 407
- 6
- 24
3
votes
2 answers
Facebook sharing in Libgdx with 4.x Facebook SDK
I have problem with sharing something with FacebookSDK in a LibGDX Android application. If I click the share button and share something I get back Sharer.Result null (so the post is not shared, but in reality it is!), which is the same result I get…

taulus
- 69
- 8
3
votes
1 answer
The operation couldn’t be completed. (com.facebook.sdk.core error 3.)
I am building a app, in which i implemented Facebook invite feature.
I have write this code to implement invite feature
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init];
content.appLinkURL = [NSURL…

Surjeet Singh
- 11,691
- 2
- 37
- 54
3
votes
2 answers
Facebook Audience Network interstitials not showing
I am working on my app, which is built using Sprite Kit. I tried to add the function to load the ad, but the ad is not loading. I am not sure whether this is because my app is not live yet, and I need to turn on some sort of 'sandboxing', or whether…

Sep Pourtaymour
- 31
- 2
3
votes
2 answers
iOS Facebook app invite: error
I have to implement Facebook invite in my iOS app.
I am following below reference link:
https://developers.facebook.com/docs/app-invites/ios
and
created app link as per below link:
https://developers.facebook.com/docs/applinks
I am facing below…

Coder_A_D
- 340
- 5
- 20
2
votes
1 answer
IllegalArgumentException: Unsupported ABI: null in VMRuntime.getInstructionSet() on Android 5.0
Seeing this crash on Google Play Console of our unity-made game after our recent update, happening on Android 5.0 for more than 99% of the occasions.
I guess this has something to do with WebView, and saw this relavant post:
…

Einherjar
- 23
- 6
2
votes
0 answers
Login With Facebook Doesn't Respond On iOS 11 After Upgrading SDK
I have application on production with Facebook SDK version 4.24.0. Everything works fine with login with facebook in production application.
I have updated Facebook SDK version to 4.35.0. This version works fine in iOS 9 and 10. But in iOS 11 asks…

Azat
- 490
- 2
- 13