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
6
votes
0 answers

Facebook android sdk 4.9 can't open share dialog

I have developed an app using facebook android sdk 4.9 and I am in the testing phase. All was well until I tested the app on a Samsung tab running android 4.0.3 (API 15). I have followed the exact guide, but it shows a dialog which says "Unable to…
Ishaan
  • 3,658
  • 2
  • 23
  • 39
6
votes
1 answer

Access Token of Facebook changed by user, How to get call back for Access Token?

I am using Facebook SDK 4.2. I have implemented AccessTokenTracker interface, which is working if token is changed. My question is : If user got publish_permission for post something from Android app. Then I remove that permission from my Facebook…
6
votes
3 answers

multiple Instance running of the same app in kitkat android

Is there any way to stop app running multiple instance? I have tried single instance in manifest also but did not succeed. I have make a demo app for fetching Facebook friends. It works good in 4.2.2 and other but in kitkat 4.4.2 after login when i…
6
votes
1 answer

Android-Facebook SDK: Unable to share photo, dialog not showing

This is my first time using the Android-Facebook SDK. I am trying to post a bitmap but I keep on getting this message: Warning: Error: com.facebook.FacebookException: Failed to copy image. I am able to post simple links, but not the ones with…
Mark Pazon
  • 6,167
  • 2
  • 34
  • 50
6
votes
1 answer

Android facebook applicationId cannot be null error despite correct app_id

I know this question has been asked before, but my problem is that I have set up the Manifest and Strings files correctly:
ankush981
  • 5,159
  • 8
  • 51
  • 96
6
votes
2 answers

Android How to like a post with facebook 3.0 sdk

I want to implement "Like" option in my Android app, but I don't know which Request to use. I have a valid facebook Session opened and the ID post I want to like. How can I implement this function? Thanks
Giulio Bider
  • 1,386
  • 2
  • 10
  • 20
5
votes
0 answers

Unable to show the provided content via the web or the installed version of the Facebook app. Some dialogs are only supported starting API 14

I am trying to upload image to wall from SD card in Android. I am getting this error - "Unable to show the provided content via the web or the installed version of the Facebook app. Some dialogs are only supported starting API 14." Please let me…
5
votes
1 answer

React-native fbsdk build errors

I am getting the following errors while running the command react-native run-android or ./gradlew build :react-native-fbsdk:generateReleaseResValues…
5
votes
1 answer

How to post update on Facebook page automatically by given scheduled time ? using android

I need to automatically post on page when user set specific scheduled time. I have try using Graph api with below request: Bundle params1 = new Bundle(); params1.putString("message", "This is a system generated post"); …
5
votes
5 answers

Android facebook 4.0.0 share dialog does not share the content

For hours I have been trying to share a content in my android app by facebook 4.0.0 sdk. I exactly followed facebook share document but got no result. Share dialog open when I press share button but no content is in it. If I click ok it share an…
5
votes
2 answers

How to share Text and Image on Facebook using Intent

How to share Text and Image on Facebook, I am writing a Church Application in which i want to allow user to share text and image along with URL. I am able to share online app link but not able to share text & image, where i am missing ? my code…
Sophie
  • 2,594
  • 10
  • 41
  • 75
5
votes
2 answers

How to Customize the Share Intent Onclick Event in Android

How to customize the Android Share Intent for Facebook App. When I am using the share Intent, I am getting the following dialog. But I am using Facebook sdk for post the image and text. And how to customize, when we click on Facebook icon in the…
Mr. N.V.Rao
  • 1,082
  • 13
  • 27
5
votes
1 answer

how to show all friends names in list view

I want to show friend list after log in to facebook through my app in a ListView. But my code is not working. I have also used classes like friendsArrayAdapter. I have used following code protected void onCreate(Bundle savedInstanceState) { //…
Nidhi
  • 699
  • 13
  • 26
5
votes
2 answers

Uploading mp4 Video to facebook using Android app

In my android app, the rquirement is to upload mp4 video files / JPEG images from SD card to facebook. We are able to post JPEG images to facebook. But when we try it for mp4 video file, it fails to upload. We are getting these errors HTTP Error 400…
Ankit
  • 4,426
  • 7
  • 45
  • 62
5
votes
1 answer

Facebook SDK 3.0 with old Facebook app version redirects to browser and gets stuck

I have in my app a FB AuthButton that is doing the connection to FB processI have a device that is running an old version of the FB app (version 1.8.3 - 1.8.4). when I click on the login button, the process doesn't start the native app, but calls…
thepoosh
  • 12,497
  • 15
  • 73
  • 132