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.

The Facebook SDK for Android provides Facebook support within Android apps. You can utilize Facebook Native Login, invoke Sharing, Game Requests and App Invites dialogs, and read and write data using the Graph API.

The SDK is open source and is available on GitHub.
The current SDK major version is 4. See the Getting Started guide..

Facebook SDK for Android Documentation

1843 questions
0
votes
1 answer

commiting setProperty on UserObject in facebook SDK

I'm developing an android application that uses the Facebook SDK in order to enable Facebook login. When a user logs in, I create a Request.newMeRequest(...) and override the onCompleted(...). In the onComplete, I want to check if the user have a…
Yuval
  • 165
  • 2
  • 10
0
votes
1 answer

Using Facebook SDK ShareDialog to share message and photo

I am using the Facebook SDK for Android, because I want allow users to share an image generated in the app + a message which I would like to set already as suggestion. I tried using the new ShareDialog, but somehow I cannot find a way to share a…
Erik
  • 11,944
  • 18
  • 87
  • 126
0
votes
1 answer

Set "to" in iOS and Android when sending Facebook private message

For my web version, I can easily use the Facebook JavaScript SDK to do this by set the "to" field as described here https://developers.facebook.com/docs/sharing/web#params However, for Android and iOS, it does not seems to have…
0
votes
1 answer

Why cant I using facebook graph api to upload photo a facebook group I created

I want to upload photo to a Facebook group i created. I could not find any edges that lets me do it. Is there a way this can be accomplished. I want to be able to do this using android sdk
0
votes
1 answer

Facebook + Android: Failed to authenticate the application because of app name mismatch

While trying to use Facebook SDK on my Android App, I got this error: "03-12 17:53:27.607: E/Activity(27797): Error: com.facebook.FacebookException: Failed to authenticate the application because of app name mismatch. Please check the application…
0
votes
1 answer

Xamarin.Forms: Cannot get name and profile picture URL

I have the code from here: https://components.xamarin.com/gettingstarted/facebook-sdk and I used the method: void GetMyInfo(string token) { FacebookClient fb = new FacebookClient(token); string details= null ; try { …
Dragos
  • 296
  • 2
  • 4
  • 13
0
votes
1 answer

Keep Facebook Session open

I've currently implemented facebook login in my android app without the use of the LoginButton. I have my own button and once the user clicks it, I open an Active Session. If the session state is open i pull the AccessToken and store it locally. I…
user1857437
  • 279
  • 4
  • 14
0
votes
1 answer

Facebook Sdk share only one post

I use Facebook SDK in android to post on Facebook. login works fine but when try to post on Facebook I can share one post only. and I does not catch any error so how to solve it please. String[] PERMISSIONS = new String[] { "user_photos,…
Mohammad Rababah
  • 1,730
  • 4
  • 17
  • 32
0
votes
1 answer

Reopen facebook session using Android SDK

I am trying to be able to handle this situation: User presses Login with Facebook: User presses Cancel in the Facebook Login page; User presses Login with Facebook again; The problem I have is that I can't feed the application id as a resource, so…
Scorpio
  • 1,124
  • 1
  • 11
  • 28
0
votes
1 answer

Facebook API User Request graphObject is null

So I have an application that is currently using the facebook api to get a users info from facebook. The application has been working 100% until today when suddenly, certain info wouldnt load. I traced it back to the Facebook me request foor getting…
0
votes
1 answer

Facebook Mobile API.

Is it possible to track your Facebook notifications through an app other than Facebook's? I am looking to track the photos tagged of a person in facebook through an app.
Aditya
  • 1
0
votes
0 answers

Video upload compression different between via Request and FacebookDialog

I'm noticing a big difference in video compression quality when uploading a video via FacebookDialog versus Request.newUploadVideoRequest where via FacebookDialog the quality is worse. Any ideas why this is happening and if there are any options to…
Jona
  • 13,325
  • 15
  • 86
  • 129
0
votes
2 answers

How to use cursor-based pagination with Android Facebook API

I am trying to retrieve items from my Facebook news feed using the graph API. The code (unfinished) I am using is below, which seems to only be returning a single news feed post. I have read the documentation on cursor based pagination but it does…
Dom Shahbazi
  • 720
  • 2
  • 10
  • 25
0
votes
1 answer

Get result from facebook activity without onActivityResult set for session

I'm using the android facebook sdk but I'm running into an issue. I created 2 classes which are: public class FacebookSession implements Session.StatusCallback { public interface SessionCallbacks { public void onSessionOpened(String token, User…
E-Kami
  • 2,529
  • 5
  • 30
  • 50
0
votes
1 answer

facebook SDK does'nt send email parameter in android

I have a problem with obtaining of email from Facebook. After logging me sends all data such as name, last name, etc. but I miss email they need. GraphObject{graphObjectClass=GraphUser,…