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.

The Facebook SDK for integrating an Android app with Facebook.

616 questions
10
votes
1 answer

Applink cannot be resolved in facebook SDK

I am working with android.I had integrated facebook sdk into my app.Now facebbok sdk shows the error "Applink cannot be resolved".How can I solve this problem.Please help me I am new to android
dcruzlour
  • 101
  • 5
10
votes
4 answers

How can i add facebook SDK to android project?

I'm trying to add facebook SDK to android project but I'm unable to add it, I couldn't do it. My project has one package and there are 8-10 packages in it so where can I add facebook SDK? I searched a lot on the web but couldn't find good solution.
mertaydin
  • 2,184
  • 5
  • 19
  • 26
9
votes
1 answer

Spring boot REST api security for Android App using Google + Facebook login

I'm building an application with 2 layers: - 1. Native Android App - contains ability to sign in via Facebook + Google to make sign on less painful. 2. Java Server using Spring Boot - typical MVC endpoints such as REST api + UI admin screens. The…
9
votes
2 answers

Facebook onCompleted Email java.lang.NullPointerException

I'm able to get all those things as shown in my code below, but unable to retrieve email from the user profile. What can I do for this? Any kind of help will be appreciated. Earlier I was using this source to get details of Facebook user and was…
Sun
  • 6,768
  • 25
  • 76
  • 131
9
votes
5 answers

added facebook SDK now unable to resume activity force close

My activity is throwing this error on crash: java.lang.RuntimeException: Unable to resume activity {com.beerportfolio.beerportfoliopro/com.example.mike.beerportfoliomaterial.MainDrawer2}: java.lang.IllegalArgumentException: Both context and…
Mike
  • 6,751
  • 23
  • 75
  • 132
9
votes
1 answer

android facebook sdk publish feed to user's timeline

In my app I need to post certain content on user's timeline. I followed official tutorial given on https://developers.facebook.com/docs/howtos/androidsdk/3.0/publish-to-feed/. But in this tutorial, they've mentioned to set up Login flow first. And…
Gimali
  • 777
  • 3
  • 12
  • 21
8
votes
4 answers

Questions about Development and Release Key Hashes for Facebook SDK for Android

I read the guides in the FB Developer website. To create a Development Key Hashes keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64 And to create a Release Key Hashes keytool…
JayVDiyk
  • 4,277
  • 22
  • 70
  • 135
8
votes
3 answers

INSTALL_FAILED_CONFLICTING_PROVIDER with Facebook SDK when I build multiple productFlavors

I'm building an Android app with multiple productFlavors, and using Facebook SDK v4.1 for login and sharing contents. The problem is that when I try to install an app on a device which already has the same app installed (but different flavor), it…
8
votes
4 answers

Import Facebook SDK on Android Studio 0.5.1

I've been searching around for a while now and tried every answer I could find with no success. I am starting to believe that the problem is in the android studio version. However here is what I've done: 1 - I've downloaded the facebook sdk 2 -…
7
votes
4 answers

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 { compileSdkVersion 26 defaultConfig { …
Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222
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
1 answer

fb://profile/{userid} seems to be not working

I try to launch facebook app with specific page , it was working with earlier version of FB APP but with new version that is 25.0.0.19.30 . This functionality is not working , the intent with uri.parse("fb://profile/{userid}") takes me to content…
Shaik Khader
  • 397
  • 4
  • 19
7
votes
5 answers

Android facebook sdk import error

i had download facebook skd import it in my eclipse add v4 jar file and change complier to 1.6 but yet it give me error in class FacebookAppLinkResolver import bolts.AppLink; import bolts.AppLinkResolver; import bolts.Continuation; import…
CoronaPintu
  • 1,865
  • 2
  • 17
  • 20
6
votes
2 answers

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", strPhoneNumber)); Intent smsIntent = new…
JibW
  • 4,538
  • 17
  • 66
  • 101
6
votes
1 answer

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 callback once the view is ready. However, there…
1 2
3
41 42