Questions tagged [android-simple-facebook]

Simple Facebook SDK for Android which wraps and simplifies original Facebook SDK.

This is a library project which makes the life much easier by coding less code for being able to login, publish feeds and open graph stories, invite friends and more.

Github: https://github.com/sromku/android-simple-facebook

51 questions
9
votes
2 answers

Gradle complains: "TaskSelectionException: Task 'generateDebugTestSources' not found in project"

Updating Android Studio from 1.1.0 to 1.2 RC0 broke my (previously flawlessly running) project. The error message is: TaskSelectionException: Task 'generateDebugTestSources' not found in project ':libraries:android-simple-facebook:Simple Facebook'.…
3
votes
1 answer

SimpleFacebook isLogin returns true even when I logout from Facebook app on device

I have integrated SimpleFacebook on Android in my application. It works most of the times, except for one use-case. Suppose I start my app, and then, log - out from Facebook app on device. Then, I come back to my app, and try to log-in using…
3
votes
1 answer

android facebook sdk, sharing -- how to detect succcess?

Following the tutorial on Facebook Android SDK Official Site, in the place where I set the uiHelper .onActivityResult, I realised that.. whether I post something to the web or not (even if I simply press the back button directly), "onSuccess" would…
songyy
  • 4,323
  • 6
  • 41
  • 63
2
votes
0 answers

Number of photos: 0

Using SimpleFacebook to get photos after logging in it returns 0 photos. I have 100+ photos.. Listener OnPhotosListener onPhotosListener = new OnPhotosListener() { @Override public void onFail( String reason ) { Log.e( TAG, reason…
Jonas Borggren
  • 2,591
  • 1
  • 22
  • 40
2
votes
2 answers

Birthday of Friend's using facebook api 2.0

I am trying to get birthday of my friends, those who have installed my sample app. Below is my code. new Request(simpleFacebook.getSession(), "/" + id, null, HttpMethod.GET, new Request.Callback() { …
2
votes
2 answers

publish_actions is not requested in the new SDK

We are using Permission[] permissions = new Permission[] { Permission.PUBLIC_PROFILE, Permission.EMAIL, Permission.USER_FRIENDS, Permission.PUBLISH_ACTION }; SimpleFacebookConfiguration configuration = new…
Himberjack
  • 5,682
  • 18
  • 71
  • 115
2
votes
0 answers

Invite Facebook friends thorogh android app

When I invite friends from facebook it displays Toast invitation was send but not display in friends notification. I use Simple Facebook SDK for Android in my app. My invite is sent, but it isn`t displayed in friends wall. I asked the same question…
2
votes
1 answer

Retrieving facebook friends returns empty list

I'm trying to retrieve a list of all friends, but it always returns a zero size list... No exception nor fail... I'm using following permissions: Permission[] permissions = new Permission[] { Permission.BASIC_INFO, …
prom85
  • 16,896
  • 17
  • 122
  • 242
2
votes
2 answers

How can I get friends pictore using by android-simple-facebook libraries

I'm using latest android-simple-facebook library (https://github.com/sromku/android-simple-facebook) and, want to get friends list with name, picture(profile image). but i cann't get friends picture at all.. below is my code... At…
Semone
  • 23
  • 4
1
vote
0 answers

Not getting all likes of photos from facebook api in android

I'm using one awesome library for using facebook api easier. Here is the link of that library. And here you can see one example, how to get likes of photos from facebook. Now using facebook api you are not fetching all records. You are fetching in…
1
vote
3 answers

How to get access Token of active Session with simple Facebook?

I am using library SimpleFacebook and I need to get accessToken of current session. In standard fb sdk it looks like this: Session session = Session.getActiveSession(); @Override public void onCompleted(GraphUser user, Response response) { …
Stan Malcolm
  • 2,740
  • 5
  • 32
  • 53
1
vote
1 answer

Configuration with name 'default' not found

I would like to start a project in Android Studio, using Simple Facebook library. I used to develop in Eclipse and things were fine, but now i had to face an issue while trying to make the libraries work with gradle. I made a new project. I made a…
1
vote
0 answers

Android Simple facebook SDK birthday returns null

I am creating a new facebook app on https://developers.facebook.com/, it returns null birthday while I am using the credential(FB id and namespace) of my old facebook app its working fine. I am not able to figure out the issue, please…
user1041858
  • 947
  • 2
  • 15
  • 32
1
vote
6 answers

How to request new facebook permission without logging out

I am integrating facebook login and publish feed in my application. And for that I am using Android Simple Facebook I implemented the Login flow, and then I was working on the Publish flow. For that I want to do the following: When the user clicks…
Y2theZ
  • 10,162
  • 38
  • 131
  • 200
1
vote
2 answers

android sending facebook token to server and publishing to feed

In my application I ask user to login via facebook, then I send received token to server from where I want to post to users timeline. I use sromku simple facebook wrapper. I request these permissions: Permission[] permissions = new Permission[] { …
SMGhost
  • 3,867
  • 6
  • 38
  • 68
1
2 3 4