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
2 answers

Require additional permissions with Facebook Android SDK

I am developing an Android application that allows users to register via Facebook or Google+. With Google+ I can retrieve the user's email address but with Facebook I need additional permission to do this. I have a LoginButton in my layout and in…
MikkoP
  • 4,864
  • 16
  • 58
  • 106
0
votes
1 answer

Prefetching Images for Facebook's Native Ads for Android

I've been playing a while with the latest release of Facebook's SDK for Android. In particular, I've been trying out the Native Ad API. My problem is I want to be able to preload several ads (lets say 3 or 5 or 10, doesn't matter), so they appear…
acrespo
  • 1,134
  • 1
  • 10
  • 33
0
votes
1 answer

What is the keystore password?

I am using android facebook sdk to have a login functionality in my app. I know how to generate a key hash(it's command actually) but I don't know what password do I need to give it, everytime I enter a new password it get's me the key. Is there any…
Mohammad Areeb Siddiqui
  • 9,795
  • 14
  • 71
  • 113
0
votes
1 answer

Get user Friends GraphLocation with Android - Facebook SDK and GraphUser

I am having some troubles to get the location data from the end-user Facebook friends list on my Android application. So far I can successfully open a Facebook Session, store & restore the access token and fetch the user friends list. As defined in…
0
votes
1 answer

Facebook FriendPickerFragment api

I have downloaded facebook-android-sdk-3.14.1.zip and am trying to get the examples working. I get stuck on the FriendPickerFragment that never returns a list of friends. I can log onto Facebook ok (again using the Facebook code), both using the…
Eric
  • 781
  • 1
  • 10
  • 18
0
votes
1 answer

Fetching data streams from facebook authentication.

Hi I am designing a mobile app where users can login via facebook. The reason I use facebook login is because I can use facebook to reach out the users friends. I would like to know is it possible to fetch the user email, friends email, address…
0
votes
1 answer

Active Facebook Session without AccessToken if Facebook App not installed

I have a strange problem with users who haven't installed the Facebook App (but want to login via Facebook): I always access the Facebook Session's access token via Session.getActiveSession().getAccessToken() It works well for all users who have…
akohout
  • 1,802
  • 3
  • 23
  • 42
0
votes
2 answers

Getting Friends List Empty Facebook SDK 3.8 in Android

I am trying to fetch friends' list in Facebook SDK 3.8 but it returning Empty User List. I have also set the permissions of user_friends. Please see the following code. LoginButton loginButton = (LoginButton)…
Mustansar Saeed
  • 2,730
  • 2
  • 22
  • 46
0
votes
2 answers

Publishing a post with privacy "Public" using Facebook SDK

I am using this code to post an image to the user wall Bundle params = new Bundle(); params.putString("method", "photos.upload"); params.putString( "caption", "Download link"); JSONObject privacy = new…
JustMe
  • 6,065
  • 3
  • 19
  • 17
0
votes
1 answer

Upload image to the wall with a link using Facebook SDK

Is it possible to upload image to user wall or page or group so it open external url when the user click on it? I found this exmaple in Facebook SDK tutorials by it doesn't take url private void postPhoto() { Bitmap image =…
JustMe
  • 6,065
  • 3
  • 19
  • 17
0
votes
2 answers

Response code 200 from facebook

I'm developing new android app which uses facebook sdk. I want to fetch users friends list, I'm doing it like that: Request request = Request.newMyFriendsRequest( Session.getActiveSession(), new…
Androider
  • 435
  • 1
  • 9
  • 22
0
votes
0 answers

Facebook description issue

I have integrated Facebook with my Android app. Implemented Posting functionality in my app. I have posted successfully. But problem is it displays description for a fraction of a second until a page is loaded completely. Once page is loaded then…
keen
  • 3,001
  • 4
  • 34
  • 59
0
votes
4 answers

Importing Facebook SDK into my android project

I know there are lots of questions and articles about how to integrate android facebook sdk into an existing project. I have tried some of the methods they have but with no success. I have imported the facebook (sdk folder) into a new project and…
Pacemaker
  • 1,117
  • 2
  • 17
  • 36
0
votes
1 answer

post drawable image to friend's wall is not posting on facebook in android

I am trying to post picture,message,caption,link.expect image remaining is posting fine. if i give url for picture it work.but i want to send drawable image.image is not posting I tried below code: class LoginDialogListener implements…
0
votes
2 answers

Multiple login forms on Android app

My application will allow user to log in using Email, Twitter or Facebook. I'm using Facebook Android SDK on its last version. How can I check if a user is already logged in at the onCreate method so I can display the login options if the user is…
juliano.net
  • 7,982
  • 13
  • 70
  • 164
1 2 3
99
100