Questions tagged [facebook-sdk-4.0]

Facebook sdk 4.0 is latest set of API for facebook developers. It has two branches: - Facebook C#/.Net SDK 4.0 - Facebook PHP SDK 4.0 Use apt tag among two.

Facebook sdk 4.0 is latest set of API for facebook developers. It has two branches:

  • Facebook C#/.Net SDK 4.0
  • Facebook PHP SDK 4.0

Use apt tag among two.

1172 questions
8
votes
1 answer

Replacement for FBFriendPickerViewController for Facebook iOS SDK 4

According to Facebook v4 changelog, all FB*ViewController were deprecated and we should build our own table view controller to show friends list. Now, before I put myself working on it, does anyone knows an alternative for…
estemendoza
  • 3,023
  • 5
  • 31
  • 51
8
votes
3 answers

Android Facebook SDK 4.0 login with LoginManager

I am trying to migrate login code of an old application from SDK 3.0 to SDK 4.0. I have implemented the Login using the LoginManager, as I have custom Login buttons. The problem is that I get no response from the Facebook API. No success, no error,…
nightfixed
  • 871
  • 1
  • 12
  • 24
8
votes
2 answers

FBSDKAppInviteDialog in Facebook iOS SDK version 4.0.1 invite successfully sent, but no notifications received

With the new Facebook SDK 4.0.1, I have implemented below in my "Invite to App" button: FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] initWithAppLinkURL:[NSURL URLWithString:@"https://fb.me/1111111111"]]; content.previewImageURL =…
Roy
  • 383
  • 4
  • 15
8
votes
3 answers

Android share image URL with Facebook SharePhotoContent

I'm trying to share a photo using Facebook's new SharePhoto & SharePhotoContent classes in the new SDK. I'd like to use an image URL instead of a locally stored image. I am able to share an image using a locally stored drawable resource: Bitmap…
Lady_ari
  • 433
  • 3
  • 8
  • 19
8
votes
3 answers

Could not initialize LoginButton Facebook-sdk for android

im working on an android project an i want to put a Facebook Login feature, i added the Facebook sdk Correctly but i could not initialize LoginButton **java.lang.NoClassDefFoundError: Could not initialize class …
Amiine Benkeroum
  • 85
  • 1
  • 1
  • 5
7
votes
3 answers

java.lang.NoClassDefFoundError and ClassNotFoundException after add android Facebook SDK to the project

I just added android Facebook SDK to my project to use Facebook ads to promote my app and the app crashes on starting, I got this exception here's the log E/AndroidRuntime: FATAL EXCEPTION: main Process: www.pro_cs_is.com, PID: 20307 …
7
votes
3 answers

Facebook SDK doesn't support on AndroidX

I got this error on facebook SDK. I'm using androidx to my support library heres my gradle looking into the activity itself uses supportv4 libraries whats the possible fix here?
Rashid
  • 1,700
  • 1
  • 23
  • 56
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
1 answer

How to solve this Facebook Audience network bug causing for version update?

After updating Facebook Audience Network SDK version to 4.26.0, my app is facing lots of crash because of the below issue according to Firebase crash report. Caused by java.lang.IllegalStateException: attempt to re-open an already-closed object:…
7
votes
4 answers

Login with Facebook with Dialog in Android

How to implement this login with facebook? I've followed this tutorial https://www.androidlearning.in/facebook-login-for-android-app/ but it throws a complete activity (the traditional way). I have facebook application installed In applications like…
HerberthObregon
  • 1,811
  • 19
  • 23
7
votes
1 answer

Facebook Deep Linking not working on Android

I am trying to implement Facebook deep linking feature according to https://developers.facebook.com/docs/app-ads/deep-linking. I have followed step by step instructions: Created FB app Added FB sdk (4.13.2) to Android app When I run the app, it is…
7
votes
4 answers

Android studio Issue : Could not find ads:AdQuality:unspecified

I have updated the Android studio and just opened my project and I got the following error. Could you please let me know how to resolve this ? Error:A problem occurred configuring project ':memoryGameCollectionFree'. > Could not resolve all…
7
votes
5 answers

Share a video to Facebook

I'm writing a simple test app to upload a video to Facebook from iOS. I'm finding it quite hard to find examples/tutorials online for how to do this with Swift since all the documentation for the FacebookSDK is in Objective-C. I have this so far…
AngryDuck
  • 4,358
  • 13
  • 57
  • 91
7
votes
1 answer

Gradle error after including facebook sdk

Immediately after adding the facebook-audience-network-sdk in my gradle file, I started getting errors, the first one I fixed my adding multiDexEnabled true, after that I keep getting this error Execution failed for task…
user3564573
  • 680
  • 1
  • 12
  • 24
7
votes
1 answer

Fb app invite with referral code

I am interested in using FB App Invites and app links functionality so users can invite their friends. I want to be able to pass referral code as well. I don't have a web server nor do I know if I should for this purpose. I am just too confused…
Snake
  • 14,228
  • 27
  • 117
  • 250