Questions tagged [android-facebook]
The Facebook SDK for integrating an Android app with Facebook. Questions should involve the usage and development of the Android Facebook SDK, not merely about using Facebook.
616
questions
-1
votes
0answers
22 views
Can't get Data Deletion Request Callback in Android [closed]
I'm using Login with Facebook in my app . When I install the APK in another mobile device , I get this error
App not set up . this app is still in development mode .
I searched for this problem and ...
0
votes
1answer
41 views
Is there a way to track Facebook Campaign Ad Installs with Expo managed workflow?
Stack: Expo React Native, expo-branch
I am searching for a way to track Facebook Campaign Ad Installs with Expo in the managed workflow. I have integrated expo-branch (link below) and set up the ...
0
votes
0answers
13 views
Where can I verify my email address in a new Facebook acc so I can use “email” permission in my Android app?
I use facebook SDK in my Android app.
It works well, it can provide the email address of the logged in user, BUT I recently realized that if I make a new facebook user it doesn't work. I read ...
0
votes
1answer
32 views
Android Kotlin - share on specific app like facebook
I want to make a custom share menu on which apps stuff can be shared and add some custom options.
I don't like the standard createchooser because apparently nobody knows how to customize this crap: ...
11
votes
2answers
585 views
How does the Facebook Android App install Facebook Messenger?
I was very surprised when I found out that the Facebook app on Android apparently is able to install the Facebook Messenger app without asking for permission.
I'm aware that it is possible to install ...
1
vote
1answer
207 views
How To Create Test Facebook Ads || How to Get Android Advertisement ID (AAID) programmatically?
How to create Test Device to Facebook Ads >> To Create Test Device you need Enter a device ID (IDFA, AAID):
sometimes we need to get the android advertisement id AAID for android device, when we ...
1
vote
1answer
102 views
Android Facebook Key Hashes Configuration
I m getting Error "This app ha no key hashes configured."
where i have configured key hashes as shown in below image:enter image description here
plz guide me, thanx in advance.
0
votes
0answers
15 views
Is it necessary to provide demonstration video to facebook to get permission
I need some new request from facebook in my app, i asked for user_gender permission, and also gave explanation of why i need this permission, but facebook rejected it.
The issue is that i currently ...
1
vote
0answers
53 views
Invalid scopes error message, when login from developer account in facebook
My app is live on facebook for more than a year now. Recently i have a new requirement to get user's gender, location and other information when user logs in through facebook.
My email address is ...
0
votes
1answer
109 views
Change Facebook login background
I have the following code used as a facebook login. I followed their tutorial and implemented Facebook login into my android app. Now I want to change the login button background. How can I do that?
...
0
votes
0answers
26 views
How do I share Facebook contents on Android
I'm trying to share a post on my FB wall by an Android native app.
I'm following the official guide available @ FBOfficial
I would know if it's possible to share a text, an image and an hashtag and ...
1
vote
0answers
88 views
Facebook login button doesn't display in fragment
I did facebook login in my project. It works well in activity. I just trying add in fragment. Because, after login I want user can logout with facebook button from this fragment. But Facebook login ...
0
votes
1answer
1k views
Removing resource com.myapp.application:string/com_facebook_loginview_logged_in_using_facebook_f1gender without required default value
From one day to another I'm getting this error in my project:
Android resource linking failed
warn: removing resource com.myapp.application:string/...
0
votes
1answer
404 views
Android Facebook Registercallback not called
I am using facebook login into my application. Now I am facing one strange issue in my project LoginManager.getInstance().registerCallback not getting called.
I am using following codes:
FacebookSdk....
1
vote
1answer
660 views
Android Facebook SDK lowers app performance
I am using Facebook SDK for my android app. I am facing scroll lags and performance issues all over the app. Removing the sdk removes all the issues. But i intend to use the sdk for analytics purpose. ...
0
votes
1answer
86 views
Facebook Request for App Review. Does it refer to native phone apps only?
I received at https://developers.facebook.com/apps/ the following message:
Request for App Review
Your app was proactively submitted. As a result, permissions you once had access to now appear in ...
0
votes
0answers
116 views
Cannot generate correct facebook key hash for release apk?
Steps that I've tried,
1) Generated the keyhash (although i got a warning/error as "keytool: command not found") from the official developer documentation.(keytool -exportcert -alias ...
1
vote
0answers
58 views
Is it possible to log in to Facebook from another device and use the access on a primary device
I want my users to be able to log in to Facebook from a tablet and use their access in a Unity project installed on a virtual reality headset (Oculus Go).
My goal is to avoid people to log in to ...
0
votes
0answers
396 views
Android needs to initialise Facebook SDK, but is already initialized
I'm getting the error:
A valid Facebook app id must be set in the AndroidManifest.xml or set
by calling FacebookSdk.setApplicationId before initializing the sdk.
My codes:
Manifest.xml
<...
0
votes
5answers
871 views
How to set radius for all corners of Simplee Drawee Android
Not able to set radius for all the corners of SimpleDrawee of facebook android sdk.
What i have Tried:-
RoundingParams roundingParams = RoundingParams.fromCornersRadii(8f,8f,8f,8f);
...
0
votes
1answer
529 views
My app crashing/closing after hitting “continue with facebook”
I am trying to integrate facebook with my app in android studio. I am an amateur at the kotlin language that I am using to achieve my goal.
I followed the tutorial on the facebook developers page. ...
14
votes
2answers
3k views
Android facebook sdk internal utility java.lang.AssertionError
I have been using version 4.27.0 of facebook sdk for android. I have been getting a crash only for android 8+ devices. The stack trace is as follows:
Fatal Exception: java.lang.AssertionError: No ...
11
votes
3answers
13k views
Login with facebook crash the app if using FaceBook Lite
In my app I'm using facebook SDK to perform a login and register methods.
It's Okay when I have the general FaceBook application or using normal web-browser on my device.
But when I have FaceBook ...
-3
votes
1answer
78 views
Not getting gender through facebook in android [closed]
We are facing problem while getting gender through graph api. We are able to get gender few of account but few account not able to get the gender. We have provided the gender request but not able to ...
2
votes
1answer
631 views
Facebook Share Dialog not showing - Android Facebook API
On clicking the facebook share button the share dialog comes and immediately disappears. In the shareDialog.registerCallback it goes to onError method. Don't understand why is it happening.
...
0
votes
0answers
382 views
I am unable to sign in with Facebook
I want to login via Facebook in my android app. I have followed the documentation. But problem is I can only login 1 times with admin Facebook id. Next time while I do login with Facebook id an error ...
1
vote
2answers
52 views
Facebook unable to get all user photos
I want to fetch all photos of user who is logged in to my app using facebook .
I am getting 200 error code
Bundle bundle = new Bundle();
bundle.putString("fields", "user_photos");
String id =...
4
votes
0answers
175 views
How should Facebook Login app implement the new 60- or 90-day login requirement?
Facebook sent out developer notification pointing to
https://developers.facebook.com/docs/facebook-login/access-tokens/refreshing:
The page contains 2 concerning portions:
When you use iOS, ...
0
votes
0answers
263 views
How to prevent activity leak by Facebook login 4.33.0?
There already are similar questions but the answers were "use the latest version and it will be fixed." However, I think I am using the latest version (4.33.0), but if I create a simple project (full ...
1
vote
0answers
132 views
Android Facebook Login Sdk: getActivity().getCallingActivity() returns null from their LoginFragment.class
I'm using the facebook-sdk for the facebook login button. This the facebook library I'm using:
implementation ('com.facebook.android:facebook-android-sdk:4.0.0'){
exclude group: 'com.android....
0
votes
1answer
26 views
Android Facebook Album cover photo
I am trying to fetch Cover Photo of an album using Graph API.
Here is my code:
Bundle params = new Bundle();
params.putString("type", "thumbnail");
/* make the API ...
2
votes
2answers
1k views
Not able to get the gender in graph api in android
I am not able to get the gender here in OnCompleted function
I am able to get other params like id,name,email
Currently app is in Dev mode
This was working yesterday.
Code:
GraphRequest request = ...
-1
votes
1answer
29 views
Facebook key hash error
And again. I've got Facebook key hash error like this. Carefully noted down that hash key and then insert it into "Key hashes" field into my Facebook app. But this doesn't helps to me, the same error ...
2
votes
0answers
65 views
Facebook: Invalid hash key
I am using three device to test Facebook login. Invalid hash key shown when test on Lenovo k8 note. I have place release and debug key on Facebook console.
To generate release key-
keytool -...
1
vote
2answers
2k views
Facebook app testers not receiving notification
I am writing an Android app which makes use the the Facebook SDK (specifically the login and friends list). I added the first 4 testers to https://developers.facebook.com/apps/{APP-ID}/roles/roles/ ...
5
votes
2answers
3k views
Android: Open SMS Intent
In my Android Aplication I just need to open SMS intent with pre populated message_body and the PhoneNumber.
Following is the code I am trying
Uri uri = Uri.parse(String.format("smsto:%s", ...
1
vote
1answer
517 views
how disable automatic logging with facebook
I am trying to integrate login with faceBook,I follow facebook tutorial
from facebook developer
https://developers.facebook.com/docs/facebook-login/android
and login is successful,but when to ...
1
vote
0answers
112 views
Proguard problems with Gigya integration Facebook SDK
I've had problems with proguard showing the facebook login button. It wasn't showing when an APK was executed running Proguard. Finally, I manage to solve it by adding the following lines in the ...
2
votes
2answers
1k views
React Native: facebook-android-sdk dependency build error
I'm running React Native v0.53.0 and npm installed react-native-fbsdk v0.7.0 but I can't build my project.
I've seen various issues and stackoverflow questions and it seems like it problem is sycning ...
0
votes
2answers
58 views
ANDROID: How to fetch image URLs from user photos in facebook?
I am trying to get all user face book photo urls.
Currently I am able to get all image ids using Graph API. But I want get either image or image url to download. Following is the code snippet I am ...
2
votes
0answers
60 views
Facebook login in android and IOS and server side, which way is best?
I want to integrate Facebook login from my android and IOS app, and there is Nodejs server at backed,
As I know we can do FB login in two ways
1. Server side(by providing FB login API's through API ...
1
vote
1answer
46 views
Can not sign in with Google and Facebook with Release Apk
I am working with android application which contain sign in with google and sign in with Facebook , in the debugging mode both worked fine but after making release Apk and upload it to play store , ...
7
votes
4answers
3k views
Android facebook lib conflicts, how to exclude conflicting?
Official facebook sdk lib conflicts with android sdk, especially with:
'com.android.support:animated-vector-drawables:27.0.1'
Gradle:
apply plugin: 'com.android.application'
android {
...
5
votes
1answer
997 views
Is there a way to use Android's LifecycleObserver to notify about onActivityResult?
I currently use LifecycleObserver for notifying about events such as onStart of my view. This is great for components as presenters or handlers, such as FacebookLoginHandler that needs to register the ...
21
votes
2answers
551 views
Share on facebook page throwing an error
When I'm sharing on Facebook page, getting following error :
(#100) Only owners of the URL have the ability to specify the picture, name, thumbnail or description params.
It was working fine 5-10 ...
3
votes
2answers
885 views
Android Facebook Integration Invalid Key hash error on Android device but working fine on Emulator
When I run my Android app in my android device it was working fine when I clicked first time on Continues with Facebook button.When i try to login again after logged out it is showing an error "...
8
votes
0answers
1k views
Android Facebook not asking for different user login in app
I am developing an application in which i am having Facebook authentication on custom button. The code i done is as follows:
First i initialize facebook SDK in my activity onCreate() as:
// Facebook
...
2
votes
0answers
217 views
Android Facebook SDK registerCallback method not working
The registerCallback method of Facebook skd is not working. I am unable to find the issue. The share dialog is showing but after sharing code doesn't enter shareDialog.registerCallback method.
@...
1
vote
2answers
1k views
Android - ClassNotFoundException: Didn't find class “com.facebook.internal.FacebookInitProvider” on path: DexPathList
I'm getting error like below for Lollipop devices..
com.hyperkonnect.happyemi.mock E/UncaughtException: java.lang.RuntimeException: Unable to get provider com.facebook.internal.FacebookInitProvider: ...
1
vote
1answer
728 views
Facebook sdk ShareDialog registerCallback methods not working - Facebook Android SDK
The registerCallback method of ShareDialog is not working. Toast is not being displayed for any of the registerCallback methods. Only the share dialog shows.
Requirement - I want to know if the user ...