All Questions
75
questions
3
votes
1
answer
1k
views
Android Facebook SDK: what does "implementation 'com.facebook.android:facebook-android-sdk:[8,9)'" mean?
It is written here that I should use the following version of the Android Facebook SDK:
implementation 'com.facebook.android:facebook-android-sdk:[8,9)'
But I see here that the last version of the ...
1
vote
1
answer
1k
views
Why Facebook Login Not Working In Signed Release APK In Android?
I'm developing an android application that provide to users login with Facebook with firebase help, my problem is when i generate signed release APK the login stops from working and i look up for some ...
1
vote
1
answer
611
views
Facebook Android SDK: 'cannot resolve symbol EVENT_NAME_SUBSCRIBE'
I am trying to implement the following Facebook SDK standard event :
/**
* This function assumes logger is an instance of AppEventsLogger and has been
* created using AppEventsLogger.newLogger() ...
6
votes
4
answers
4k
views
Error after adding Facebook login dependency in Android
I want to integrate my app with facebook login, but when adding below dependency and syncing Gradle:
implementation 'com.facebook.android:facebook-android-sdk:[5,6)'
I got the following errors:
...
0
votes
0
answers
34
views
How to logout out of Facebook so that a new FB user can log in using FacebookSDK 5.1.1?
While using the Facebook Android SDK 5.1.1 I am attempting to logout a user using LoginManager.getInstance().logOut(), but after doing this and trying to login into my app with Facebook again I am ...
0
votes
1
answer
1k
views
java.lang.RuntimeException: Failure delivering result ResultInfo{...} to activity {....FacebookSignUp}: java.lang.NullPointerException:
In the Google Play Console pre-launch report, I the "STABILITY" section, I have this error that I need to fix:
Galaxy S9
Test ID: 2
Test Duration: 300 seconds
Model Name: Galaxy S9
Manufacturer: ...
0
votes
1
answer
135
views
How to share LibGDX screenshot to Facebook using FB Android API?
I want to share libGDX screen to Facebook using Facebook Android SDK. My code is:
AndroidLauncher.java
if (!fbLoggedin()) fbLogin();
SharePhotoContent content = new SharePhotoContent.Builder()
....
3
votes
1
answer
1k
views
Android Facebook Login API returns only name and id
Hi i am using Facebook graph Api in android application, i am able to submit a request and get response but although my scope is "email", "user_birthday", "public_profile" it returns only name and id....
-4
votes
1
answer
659
views
How to solve this facebook key hash error?
In my project, I am using facebook API for login purpose.
I got key hash error , when ever i try different account or different mobile device. Any body known this type issue. How to solve this. In ...
0
votes
1
answer
155
views
Error inflating class com.facebook.widget.ProfilePictureView
I'm trying to make an app in which i try to get the profile picture of a logged user.
I have a really long error when i go to the view where i'm loading the picture and i can't understand the error.
...
1
vote
1
answer
3k
views
Android Facebook LoginButton onActivityResult() null object reference
I want to authenticate users with Facebook SDK loginButton
I followed a tutorial at https://code.tutsplus.com/tutorials/quick-tip-add-facebook-login-to-your-android-app--cms-23837 and I have looked at ...
1
vote
0
answers
65
views
How can I avoid a delay after logged in facebook successfully?
Here is my code to redirect HomeActivity after logged in facebook successfully, but it has a delay. Who can show me the way to avoid it or show the ProgressDialog instead of the delay. Thanks for your ...
0
votes
0
answers
282
views
Facebook Graph Request for user friends is returning an empty array
So I am developing an app that uses the FacebookSDK. When I try to request the user's friends however, I receive an empty array. I know that you can only access friends who have also approved you ...
0
votes
1
answer
556
views
Facebook Account kit initialisation issue+java
I've integrated account kit in my app and its working for most of the devices. But I get few crash reports for sdk initialization as well. Can someone figure out what I'm doing wrong?
Error:
com....
0
votes
1
answer
245
views
Facebook Android SDK requires API 15: Android 4.0.3 or higher. Should I use tools:override to force usage?
I would rather not upgrade my Android min API level as some users are still on API 14. However Facebook requires that I upgrade to API 15 to integrate the Facebook Android SDK. Are there any ...