Tagged Questions
-1
votes
1answer
24 views
How can I get access token for a facebook application in java, without a browser [closed]
How can I get access token for a facebook application in java, without a browser (like in Selenium), with username/email, password, client id and client secret key ?
0
votes
0answers
17 views
How to fetch facebook accessToken programatically through java other than using selenium?
Using selenium, we can fetch access token from our app but this requires opening of browser which is not possible on linux node where our code will run.
Login url: https://apps.facebook.com/[appName] ...
0
votes
3answers
40 views
How to convert a Facebook Birthday into a Java Date Object?
Facebook returns me a String like:
06/15/1992
How can I convert this string date into a Java Date object?
I tried the following but it returns "Wed Jan 15 00:06:00 UTC 1992" which is not the ...
2
votes
1answer
42 views
How to get all friends like on Facebook?
I would like to get all likes of a user's friend on Facebook.
So far I know how to take all likes of an authenticated user by FQL query:
SELECT object_id, object_id_cursor,object_type, post_id, ...
0
votes
1answer
13 views
Callback for Facebook requestNewPublishPermissions - Android
I'm trying to get publish permissions from my users in my Android app and I'm succeeding but when I get the permission I want a callback to tell me just that. Here is my code:
private void ...
0
votes
1answer
26 views
Nested JSON parse with facebook sdk
Thanks for reading!
I am trying to develop an android app, but I was stuck on how to fetch user's "likes". All I need are just the values for each "name" key. Here, those would be "Jay Chou", "Eason ...
0
votes
0answers
41 views
How can I use RestFB to post on Facebook, and edit my Facebook posts?
How can I use RestFB to post on Facebook, and to edit my Facebook posts?
0
votes
1answer
72 views
How to handle ampersand in Java String and send a URL as a query parameter value?
I am trying to call a URL from Java code in the following way:
userId = "Ankur";
template = "HelloAnkur";
value= "ParamValue";
String urlString = "https://graph.facebook.com/" + userId + ...
0
votes
1answer
30 views
Fetch facebook user public data, which available without loggining througth Facebook Graph API if any exists
I want to have additional public data for Facebook user, which is available on Facebook without logging. When I trying to get user data with Facebook Graph API I receive only few fields. But when I ...
0
votes
0answers
23 views
facebook graph search API not returning community pages
Is there any way I can access community pages using graph API ,I have tried with/without access token but it is returning pages which are not community pages
eg:this page is not returned by graph API
...
0
votes
1answer
20 views
Facebook friendslist always null
I am using facebook4j i tried to get the friendslist but i am getting always null value only
ResponseList<Friendlist> friendList = facebook.getFriendlists();
for(Friendlist facebookFriends : ...
0
votes
0answers
14 views
How to get an album photos for a public event page?
I would like to download all the photos from this public event page.
https://www.facebook.com/events/event-id/ gives me the public event page.
This link shows me the thumbnails of all the photos for ...
0
votes
0answers
36 views
Ask Facebook Permissions without LoginButton
How can I get Facebook permission with this basic code :
Session.openActiveSession(this, true, new Session.StatusCallback() {
// callback when session changes state
@Override
public ...
1
vote
0answers
83 views
Facebook4j with OAUTH Access Token
Is any one help me to provide a example for OAuth access token for the facebook by getting the user credentials and and allows the fields similar to linkedin API.
I tried to use like
Configuration ...
0
votes
0answers
42 views
Facebook graph api in java desktop application
I am creating a chat server using java fx. I want the user can login with their facebook credential.
Basically my UI will looks like: A window will be open first, there will be Login Button. Clicking ...