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.

617 questions
14
votes
1 answer

Facebook SDK for Android throwing ClassNotFound exception

My latest version of the app has been throwing this error occasionally: Caused by: java.lang.RuntimeException: Parcelable encounteredClassNotFoundException reading a Serializable object (name =…
JMRboosties
  • 14,480
  • 18
  • 68
  • 113
14
votes
2 answers

Official Facebook examples crashes (GraphApiSample)

I started to work with facebook-android-sdk-3.5.2. The SDK project also contains varius sample examples for using the api like: HelloFacebookSample: A simple activity you can log in and do stuff, it works great. Next thing i wanted to try the next…
Adam Varhegyi
  • 13,647
  • 32
  • 108
  • 194
14
votes
6 answers

Using share dialog in Android Facebook SDK. How to know is user actually shared or cancelled sharing activity?

I have added sharing functionality to Android app as described here https://developers.facebook.com/docs/android/share-dialog/#setup But I have noticed that if user is cancelled sharing activity onComplete is called anyway @Override protected void…
13
votes
7 answers

Android Google Login Button and Facebook sdk 4+ Button Layout

I Am developing an application which use google and facebook integration ...I want to fix height and width of those button...and i want to set Button Text Manualy... i had tried so far
Tufan
  • 3,168
  • 4
  • 28
  • 52
12
votes
1 answer

Callback functions are not called in Android Facebook Login

I am developing an Android app. In my app, I am integrating Facebook Login. I have done developing Facebook Login once before. When I develop this time, Facebook callback functions are not called. I cannot check the error as well. I have no idea…
12
votes
5 answers

Android studio: INSTALL_FAILED_CONFLICTING_PROVIDER facebook sdk

I'm facing a strange problem with android studio. I have two Android app that uses facebook sdk with same facebook Application for login and share pictures. With new api, it's necessary to declare inside manifest this:
giozh
  • 8,808
  • 27
  • 89
  • 163
12
votes
2 answers

Misconfigured App Sorry, myapp hasn't been approved for display in App Center. in android app share

When i click on my app name on my facebook. It redirect to "https://www.facebook.com/games/?app_id=827708240586758" and showing "Misconfigured App Sorry, myapp hasn't been approved for display in App Center." .. I think facebook have implemented…
iffu
  • 296
  • 1
  • 4
  • 15
12
votes
6 answers

Facebook Android SDK & java.lang.NullPointerException

I am having trouble opening an active facebook session in my android app as per the tutorial posted at https://developers.facebook.com/docs/android/getting-started/facebook-sdk-for-android/ I have been struggling with this for quite some time now…
infinity
  • 1,820
  • 3
  • 27
  • 46
12
votes
4 answers

android google signin and facebook login button look completely different

The default Facebook LoginButton object and the Google SignIn button object have completely different appearances and they do not fit in my existing layout together. To my knowledge, these objects are not assets I can modify without changing the…
CQM
  • 36,672
  • 69
  • 214
  • 357
11
votes
2 answers

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 an app via another app, but the user needs to…
Yannick
  • 1,279
  • 1
  • 11
  • 32
11
votes
3 answers

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 Lite on my device and I don't have the general…
user6490462
11
votes
2 answers

Facebook android sdk dependency conflict

I am using facebook-android-sdk:4.20.+ and com.android.support libraries which are conflicting with error message: All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found…
jay
  • 1,834
  • 2
  • 21
  • 50
11
votes
0 answers

android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.facebook.flatbuffers.helpers.FlatBufferModelHelper$LazyHolder

I'm seeing this crash in Crashlytics for an app that's currently in production: Caused by android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.facebook.flatbuffers.helpers.FlatBufferModelHelper$LazyHolder at…
Charles Madere
  • 6,222
  • 2
  • 31
  • 32
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
1 answer

Share an image with a content provider in Android app

I'm developing an Android app that is a gallery of images in which the images are downloaded from internet for display on the screen of smathphone. Images are displayed one at a time and the application has a button to share the image that is…
Mike
  • 153
  • 2
  • 6
1
2
3
41 42