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

set audience when posting on friend's wall

I am having feature in my app where user can post on his/her friends's wall. I have added this feature and it will display dialog to user to post. But I want to set audience to me and that user only using code. But I am not able to do so. Can we…
0
votes
2 answers

Accessing Facebook username using Facebook android SDK

I am using facebook 3.15 android SDK. I am using following code to get the username and other details of the logged in user: private final String[] PERMISSIONS = new String[] { "public_profile", "email" }; //this function gets called when user…
mudit
  • 25,306
  • 32
  • 90
  • 132
0
votes
2 answers

Facebook Invitation

I used the following code to invite facebook friends to my app, private void sendRequestDialog() { Bundle params = new Bundle(); params.putString("message", "Receipt of Defeat"); Session session =…
0
votes
1 answer

How to set permissions to facebook properly with socialauth library?

I'm trying to limit the permissions to facebook. Here is what i called, but the permission are still the same (default - birthday, profile, post etc.). I only need post…
Tazz
  • 781
  • 1
  • 8
  • 23
0
votes
1 answer

Embedded Facebook post dialog in Android.

Is there a Facebook component for creating posts that can be shown embedded in your application (ie. not leaving your application)? I've only found components that takes the user away from the application.
pka
  • 563
  • 4
  • 9
0
votes
1 answer

Ask for additional facebook permission

I'm having trouble while trying to retrieve an additional permission "publish_action". I assume that user has already logged in via facebook thus basic permissions are granted. Then I have this code (from my fragment): List
Den Drobiazko
  • 1,077
  • 1
  • 13
  • 33
0
votes
1 answer

SessionLoginSample return empty graph data file in android

I'm using facebook example SessionLoginSample. I have added to the file LoginUsingActivityActivity.java couple of things: 1. the facebook login button(com.facebook.widget.LoginButton) 2. read premissions(in the…
0
votes
1 answer

Facebook Login For Android

I'm developing an android application with facebook authentication (login with facebook feature). I've integrated facebook SDK successfully, But when i press login with facebook button, below dialog appears. So look and feel is more facebooky,…
Yasitha Waduge
  • 13,180
  • 5
  • 35
  • 42
0
votes
1 answer

How to obtain all Facebook friends in Android

I'm trying to obtain a list of Facebook friends and to put it in a ListView on an Android app. Could you give me a hint or example of how to do this? I'm new in using Facebook SDK for Android and I don't know how to start.
0
votes
1 answer

Facebook (on Android) Open Graph posts twice on activity log

I am developing an android app and am using the Facebook Android SDK 3. I have used the following example to post open graph actions…
sharath
  • 3,501
  • 9
  • 47
  • 72
0
votes
1 answer

Facebook Android SDK openActiveSession() without a popup?

My app requires the user to log in with Facebook to use it. When my app loads, I call Session.openActiveSession(). This opens Facebook's login form in a popup dialog. The user has the option to close the dialog. Is it possible to make the login form…
Leo Jiang
  • 24,497
  • 49
  • 154
  • 284
0
votes
1 answer

Android app custom user registration and login with cookie using facebook sdk

I am developing an android application in which users need to register and log in using Facebook. Approximately, this would be the flow. Open the app for the first time, authenticate with Facebook, get their data, send the data to my server to…
0
votes
0 answers

Android Facebook Login - Access Token purpose

I'm implementing Facebook Login in Android, and I actually have it working, but I'm wondering if I need to worry about the access token that is associated with the session at all. I'm using this tutorial and it doesn't mention using the access token…
0
votes
1 answer

Android app doesn't send correct facebook user id

I have two different facebook applications. One is used for authorizing on android and one on the web. I have an api for android app to save all users on server. The problem is that android app doesn't send a real user id. When the same user logs in…
King Julien
  • 10,981
  • 24
  • 94
  • 132
0
votes
1 answer

Posting on Facebook with Android SDK with friends visiblity

I'm trying to post some feeds with my application and i have a big problem... All of my post has visibility "Only Me". I have set visibility to friends in mycode, but that does not work. My question is : how to do for to have my posts with a friends…
Kevin ABRIOUX
  • 16,507
  • 12
  • 93
  • 99
1 2 3
99
100