Questions tagged [facebook-android-sdk]

The Facebook SDK for Android helps Android app developer implement Facebook functionality into their Android apps. Features include Facebook Login, Friend and Place pickers, session management, native object responses from the Graph API and Feed and Requests dialogs.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

App installation campaign (Android SDK) - Facebook

How can i set facebook ad for App installation that we have to pay only for number of app installs with SDK. That means not for the impression or clicks. Eg - If i set a cost per installation 1USD per ...
shaun dan's user avatar
0 votes
0 answers
28 views

Facebook ads campaign not displaying app installs results data

Facebook ads campaign not displaying app installs data. I regularly post Facebook ads for my Android app in Play Store. My Facebook ads campaigns are not showing any data for columns like Results, ...
Thanh Tam's user avatar
2 votes
0 answers
50 views

Facebook Android SDK issue with targeting api level 33

I'm currently getting the error from Facebook SDK when attempting to sign in with Facebook on Android, with a device running Android 13. The error shows: Login Error: There is an error in logging you ...
Mark's user avatar
  • 3,310
0 votes
0 answers
165 views

Facebook Android SDK Missing Currency Parameter for auto-logged events

I have implemented the Facebook SDK for android as stated by the Facebook Documentation and enabled auto logging for my events. FacebookSdk.setAdvertiserIDCollectionEnabled(true); FacebookSdk....
user14678216's user avatar
  • 3,036
0 votes
0 answers
8 views

Facebook Ads Indexing

I have an android game, where i want to initialize Facebook SDK to track installs. However, I do not understand, what information will be recorded by Facebook and how would i identify the install in ...
Arsen Taliunov's user avatar
3 votes
1 answer
483 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 ...
toto_tata's user avatar
  • 14.7k
0 votes
0 answers
21 views

(Facebook Login Api) I want to change the account to log in to when logging in

I want to remove all previously logged in information from the associated Android Studio sdk Facebook Login API and log in with a different ID. Is there a way?? The data for the first login account ...
IK P's user avatar
  • 1
0 votes
0 answers
42 views

How do I get an OIDC token from Facebook Android SDK

I'm trying to get an OIDC auth token using the Facebook Android SDK. I'm a newbie at this and am completely lost. The Facebook docs don't really provide code examples to assist with this, and I've ...
Darren Gates's user avatar
0 votes
0 answers
32 views

Where can I see the third-party app scheduled post status on Facebook?

Facebook wants to see scheduled posts by third-party apps like Buffer, Hootsuite, etc. On Facebook, there are 3 types of post availability. Profile, Page & Group. Used API for scheduling posts ...
axita.savani's user avatar
0 votes
1 answer
46 views

Error When Logging on Facebook/Firebase on Android

I am making an application that uses Facebook login, the App is on development and i am trying it on my personal smartphone (a Xiaomi). Im using a test user provided by Facebook to log in, but nothing ...
angelo canales's user avatar
0 votes
0 answers
58 views

How does automatic login happen using FB

I wanted to understand, after clicking on Login with FB. How does FB determine the logged in accounts in device? In other words, I wanted to understand the "Continue as" screen come up. I ...
vandana kumari's user avatar
0 votes
2 answers
490 views

One or more plugins require a higher Android SDK version - Facebook-auth

Good work, I decided to write facebook login for my app. I used this package flutter_facebook_auth: ^5.0.6 enter image description here enter image description here I changed the sdk version to 33 but ...
LOODAN's user avatar
  • 7
0 votes
1 answer
95 views

flutter facebook_app_events cannot load dependency for Android

I am working on a Flutter App that contains the dependency facebook_app_events. It's been working completely fine so far, but now, out of NOTHING, stopped working for android. When I build the app I ...
Apri's user avatar
  • 1,270
0 votes
1 answer
230 views

I have issue with facebook-android-sdk

* What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. > ...
Developer Software's user avatar
1 vote
0 answers
39 views

Not able to generate response_type code for android sdk for facebook

Please help! I am trying to genereate response_type=code from the android sdk, but i am not able to see any option to do that. I can do the same for the web browser using redirect urls, but not for ...
rahul sandhu's user avatar
0 votes
1 answer
391 views

openssl library for Windows for Generating a Development Key Hash for Facebook login for Android app

To ensure the authenticity of the interactions between my app and Facebook, I need to supply Facebook with the Android key hash for your development environment. I am trying to generate a Development ...
Jaime Montoya's user avatar
2 votes
0 answers
410 views

Facebook SDK (Android): events can be seen in 'test events' debug view but are not reported in campaign manager

When I test my app (either by launching it from Android Studio or the app in production on Google Play), I see the events in in 'test events' debug of the Facebook console, as can be seen here: ...
toto_tata's user avatar
  • 14.7k
10 votes
4 answers
5k views

Facebook SDK : 'Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared'

I use the Android Facebook SDK. I get the following message in Logcat: com.facebook.internal.NativeProtocol: Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the ...
toto_tata's user avatar
  • 14.7k
0 votes
1 answer
752 views

How do I run older Flutter Project that has Gradle build errors?

I am trying to running a pretty old Flutter project within these version: Flutter 1.22.6 Dart 2.10.5 Java 1.8.0_321 Android Studio 2021.2.1 And for whatever reason, after I update my Android Studio (...
Richie Permana's user avatar
3 votes
0 answers
583 views

How to use Facebook's new LoginManager.createLogInActivityResultContract properly?

Facebook added a new API (LoginManager.createLogInActivityResultContract) for handling login using the ActivityResultContract APIs in SDK version 13.2.0 (https://github.com/facebook/facebook-android-...
Zach's user avatar
  • 3,959
0 votes
1 answer
1k views

Standard events appear in event manager but can't find them in ads manager

In my Android App I am sending 3 standard facebook events: FindLocation CustomizeProduct CompleteRegistration All those events appear in Events Manager so I know they are being sent correctly: But ...
matip's user avatar
  • 824
2 votes
3 answers
2k views

Android CallbackManager call back stopped working after upgrading to Facebook SDK 12.0.0 (Or 13)

I have an Android app that does login via Facebook. Everything was working when I was on Facebook SDK implementation 'com.facebook.android:facebook-android-sdk:11.1.1' However, recently I noticed in ...
Zhang Zhan's user avatar
1 vote
0 answers
248 views

Facebook Android SDK does not recognize installs

Facebook Android SDK receives data about the activation of the mobile app, but not about the installs. We rolled back the SDK version, checked the code 10 times - but we didnt get any result. enter ...
Nursultan Tagoev's user avatar
0 votes
1 answer
406 views

show a list of the pages you manage toggle is off by default

My app has been approved for pages_show_list and permissions listed below. Everything was working fine till yesterday, but suddenly when user tries to login, show a list of the pages you manage toggle ...
Aromal S's user avatar
0 votes
2 answers
96 views

Facebook Graph API Request for only todays photos

I want to get all the uploaded photos of the logged in user that was uploaded today. I could fetch all the photos and filter it with the created_time field. But I would like to make the request to ...
Md. Eftakharul Islam's user avatar
0 votes
2 answers
613 views

React Native Facebook Login Android - Embedded Browser is disabled

I'm developing a facebook login feature for react native using react-native-fbsdk-next. However when testing on android I get this error when trying to login with facebook: "For your account ...
Chris Yoon's user avatar
6 votes
3 answers
3k views

Facebook login was disabled and now it throws errors

We have Android and iOS apps with integrated Facebook login. Recently Facebook disabled our app because "During Login, your app is crashing or hanging excessively". The problem however is ...
hmitkov's user avatar
  • 359
1 vote
1 answer
459 views

error: cannot find symbol AppLinks.getTargetUrlFromInboundIntent in com.facebook.android:facebook-android-sdk:11.3.0

While upgrading the facebook SDK from a lowest version(7.1.0) to latest version (11.3.0) got symbol: method getTargetUrlFromInboundIntent(ItemViewActivity,Intent) location: class AppLinks I have got ...
sejn's user avatar
  • 2,176
2 votes
1 answer
2k views

Package name & Class Name of facebook app in flutter

I want to add the Facebook app event in my Android and IOS application develop using flutter. Android: It's asking for the name of the activity which will be going to use for the deep- link with the ...
Ankur Shinde's user avatar
2 votes
1 answer
184 views

Facebook share api for android opens web-based dialog instead of native app

I implement facebook share in my android app and as I read the docs it says : "The Share dialog switches to the native Facebook for Android app, then returns control to your app after a post is ...
Yarin Shitrit's user avatar
3 votes
1 answer
327 views

Facebook share link with metadatas from android app

I implement sharing on facebook in my android app and according to facebook share sdk for android there is no option to share a link that will look like this : As I dived into the docs - https://...
Yarin Shitrit's user avatar
1 vote
1 answer
151 views

Android facebook share opens web page instead of native app

I am using Facebook share SDK and I read the docs which says that if the native Facebook app is installed then it will be used as a share dialog otherwise a web page will be used for sharing. I do ...
Yarin Shitrit's user avatar
0 votes
1 answer
446 views

how to make facebook android app deep links

I am trying to create a deep link that will redirect from a url I post on facebook into my android app and I noticed there is something in facebook api called App Links in this link : https://...
Yarin Shitrit's user avatar
1 vote
2 answers
1k views

Android: How to get raw image data from camera

Currently, I am planning on doing an app utilizing RAW data provided by the camera in Android devices (pixel 2). And I use ARCore to get frame data as following: final Frame frame = session.update(); ...
WinJia Cheng's user avatar
1 vote
1 answer
161 views

Unexpected call to LoginManager.onActivityResult - Facebook SDK Android

My Dependency dependencies { implementation 'com.facebook.android:facebook-login:11.0.0' } I've been using a LoginButton for moths without any problem but since today after call to login if the ...
Darwin Morocho's user avatar
0 votes
1 answer
62 views

Facebook Official Android SDK - How do I open a page?

I would like to open the Facebook app and go directly to a Facebook page when the user presses a button in my app. How do I do that using the official Facebook SDK? So far, all the solutions I've seen ...
Aloha's user avatar
  • 914
1 vote
1 answer
283 views

How to know the version of facebook android sdk in node_modules/react-native-fbsdk?

For iOS we can look at the FBSDKCoreKit.h it states the SDK version there. Is there something similar for Android? How do I know which facebook SDK version it's on? Would be better if there's a ...
hackerl33t's user avatar
  • 2,187
0 votes
0 answers
144 views

In Facebook Android SDK, How to fetch is_verified flag using GraphRequest?

We are trying to fetch is_verified like below: GraphRequest.newMeRequest(loginResult.accessToken) { `object`, response -> Log.v("LoginActivity", ...
Ashok's user avatar
  • 839
3 votes
2 answers
1k views

Facebook App Install Ads: Is it mandetory to have the SDK installed?

We have developed a mobile app for both Android and iOS. We are planning to promote it through Facebook via Facebook App Install Ads. We don't want to track the number of installs or anything, because ...
PeakGen's user avatar
  • 22.1k
0 votes
1 answer
227 views

Facebook Login :Can't Load URL The domain of this URL isn't included in the app's domains when using login with facebook-android-sdk in android studio

By following the documentation of facebook SDK for android I have this issue : Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains ...
elhoucine ayoub's user avatar
5 votes
2 answers
1k views

Facebook Audience Network: is Facebook Login required?

we've integrated Facebook Audience Network in our Android and iOS apps a few days ago. We're using AdMob Open Bidding mediation. Technically speaking everything seems to be ok, the SDK is initializing ...
pAkY88's user avatar
  • 6,282
0 votes
1 answer
118 views

How to set up Interface and listener in custom Dialog class to pass Facebook's login callback to firebase auth in MainActivity?

I'm having some issues implementing a custom dialog class getting the response from facebook and passing it back to the main activity. Here there's my custom class: class LoginDialog(var c: Activity) :...
Michele Rava's user avatar
1 vote
0 answers
126 views

I have set interstitial ads like this code get all time error code com.facebook.ads.AdError@e0e1b7a

I have recently tried to integrate FB interstitial ads to android ads and I turn on test mode. Banner ads working fine but interstitial ads give this error com.facebook.ads.AdError@e0e1b7a Here is my ...
Dipankar Dedbnath's user avatar
1 vote
0 answers
170 views

Facebook Android SDK warning: "Removal of Tokenless Access Point"

I received the following warning via email from Facebook Developers a few days ago: As part of our Graph API 8.0 release, we announced changes to how developers can access User Picture and FB/IG ...
Zorgan's user avatar
  • 8,357
1 vote
2 answers
2k views

Facebook Audience Network 6.0.0 Update for Unity is required

Facebook Audience Network has update its android sdk to 6.0.0, due to this, Android SDK takes com. facebook file with 6.0.0, but they didn't update unity sdk. Due to this, Facebook Audience network ...
Umair Hassan's user avatar
0 votes
1 answer
1k views

Android 11 Preview - Facebook Login Not Working

To cut things to the point. I have the Facebook login implemented, pretty much this way: https://developers.facebook.com/docs/facebook-login/android/ And it works perfectly fine when compiled with ...
Slobodan Antonijević's user avatar
0 votes
2 answers
134 views

(Facebook Login Implementation - Android) Generating invalid Key Hashs for both 'debug' and 'release' environments, how to fix this?

I would like to share that I wasn't able to find on StackOverflow. I will be sharing what I have done so far and the respective output which I have never faced before. What I have done: Followed the ...
A S M Sayem's user avatar
  • 2,030
7 votes
0 answers
404 views

User Properties has been deprecated in Facebook Analytics

We are trying to integrate Facebook analytics into our apps and we notice that user properties has been deprecated on 22 Jun 2020. But doc doesn't not say anything about the alternative way. Is there ...
WHOA's user avatar
  • 347
2 votes
1 answer
579 views

Implement facebook banner ads in recyclerview

I am trying to implement an Facebook banner ad(not native banner) on 3rd position of the recyclerview. I have created an ads_row.xml which has the ad layout. ads_row.xml is displayed properly but ad ...
Chinmay's user avatar
  • 55
0 votes
0 answers
213 views

How can i call a content provider myself in the code?

I want to remove this from my androidmanifest file : <provider android:name="com.facebook.internal.FacebookInitProvider" android:authorities="%package%....
zeus's user avatar
  • 12.3k

1
2 3 4 5
37