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

Getting Facebook page's events

So I need to get Facebook events for user's current location using graph api. According to documentation user's city is page Facebook object that has "/events" edge. So I can than get events for city using graph path /{page-id}/events, and maybe…
Konstantin Berkov
  • 1,193
  • 3
  • 14
  • 27
0
votes
1 answer

Facebook Android SDK symbol

I'm trying to set up the Facebook SDK with Android Studio. The steps I followed- I downloaded, unzipped, and imported the facebook module into android studios. Within my project I imported com.facebook.Session in my main and added the mavenCentral…
0
votes
1 answer

Extracting posts of a facebook page into android application

Is there a way to get the posts of a Facebook page(the page user has liked) every time the user requests? I've seen lots of tutorials to share posts as status updates but couldn't figure out a way to do this?
0
votes
2 answers

Facebook Login Button with email responce

I had implemented the facebook button following the facebook guide.It's working perfectly but first_name, last_name, email, sex, fb_id. I got all the things except email.Might be I need to give some permission But I can't find it where to give…
A J
  • 4,542
  • 5
  • 50
  • 80
0
votes
0 answers

How to install facebook apk file in ANDROID STUDIO emulator

I am trying to install facebook apk file in android studio emulator but failed all time. I will be thankful if someone provide me step by step works to install apk in ANDROID STUDIO emulator in details. Thanks in advance.
0
votes
1 answer

Facebook Android SDK - can read profile, but not publish photo to wall

I am using this library for intergrating facebook to my app: https://github.com/sromku/android-simple-facebook . It works just fine when accessing profile, friends list, etc. However, when I am trying to publish a photo on the wall, I use the…
0
votes
1 answer

FacebookSDK Request.newMeRequest onCompleted called on JELLYBEAN but not KITKAT or LOLLIPOP

This code results in the onCompleted method being called on Samsung JELLYBEAN but not on Motorola KITKAT or LG LOLLIPOP devices. The log returns: W/Facebook test(20699): Facebook session status changed - OPENED - Exception: null on all devices.…
TTransmit
  • 3,270
  • 2
  • 28
  • 43
0
votes
1 answer

How to confirm which version of the FB API my Android App is hitting?

I am working on finishing up an Android app that has been under development for ages. The app uses the Facebook SDK for Android to post a simple link to the users wall after making a selection from a PlacePicker fragment. The SDK was very old and…
TWGerard
  • 885
  • 1
  • 10
  • 24
0
votes
3 answers

Hidden fragments is an android design pattern?

I am looking at Facebook Android SDK examples, and I have encountered this strange pattern (in Scrumptious example): all (or almost) the screens of the app are fragments, loaded into the application at the beginning but hidden. Later (resume,…
0
votes
1 answer

Facebook SDK 3.22 (android) - Ways of sharing

I use Facebook SDK 3.22 for Android. I want my app to do the following: Post content on user's wall Share content with user's friend For the 1st point I've decided to use feed dialog. So I've made logging in and dialog. It works perefect. No…
Sergius
  • 521
  • 8
  • 21
0
votes
1 answer

Facebook SDK - Wrong ID while invating friends

I want to send invites to user's facebook friends. For that I use the following code: String KEY_MESSAGE = "message"; Bundle params = new Bundle(); params.putString(KEY_MESSAGE, "Learn how to make your Android apps social"); WebDialog…
Sergius
  • 521
  • 8
  • 21
0
votes
1 answer

Which permission should be submit for for approval from facebook to getting user's friend list

I am developing an app and there is login using Facebook account's credential. The application need user's friend list as I have custom selector to invite friends. Then I read documentation of Facebook they clearly says that you have to submit your…
Aazam
  • 33
  • 1
  • 8
0
votes
2 answers

Android Application stops working at start, stack trace doesn't point to where in the code it stops working

I'm trying to get my feet wet in Android programming developing a really basic application that integrates with Facebook. I followed the tutorial for making a basic login page, but the application just crashes at the start. I tried to debug it…
0
votes
2 answers

Android & Facebook SDK: Obtain user data without Login Button

I am losing my mind trying to integrate Facebook with an app. First of all, Fb's SDK is terrible and its making everything crash since I included it. Anyway, I am trying to obtain user data from Facebook, just his/her name, user id and email;…
0
votes
2 answers

Facebook Graph Api OAuthException but access token is valid

I have a problem and I dont know why, I hope you could help me! I am developing an android app which uses the facebook graph api. It uses the readpermission "user_likes". When i do this request: "me/likes" everything works fine. But when i do…