Skip to main content

All Questions

Tagged with
0 votes
0 answers
94 views

Not able to post to facebook wall using facebook4j java

I am trying to post a message to facebook using facebook 4j library. Can someone help what is wrong in the below code? public class status{ static String appID = "...
Kutty's user avatar
  • 722
0 votes
0 answers
120 views

Facebook4J post message

I seem to get this error msg when I try to use the postStatusMessage() from Facebook4J. message - (#200) Requires either publish_to_groups permission and app being installed in the group, or ...
RandomUser42's user avatar
0 votes
0 answers
76 views

Facebook4j - get access and post to different groups

I have a question regarding facebook4j API for Java. I would like to have the following: - I have a webapp with different user - Each user can post with his Facebook Account to different groups - This ...
CommanderHP's user avatar
1 vote
1 answer
602 views

How to get Facebook Rate Limit Header using Facebook4J?

According to Facebook Docs If your app is making enough calls to be considered for rate limiting by our system, we return an X-App-Usage HTTP header. [...] When any of these metrics exceed 100 the ...
lgfischer's user avatar
  • 1,768
-2 votes
1 answer
36 views

How to get all the pages one user liked and getLocation of this page

I don't find a way to find the pages one user liked in Facebook4j. Facebook.getUserLikes seems to be the right thing but it returns me list of Like and not Page. I would like to have the list of the ...
DionysoSong's user avatar
0 votes
0 answers
603 views

Facebook4j - Tried accessing nonexisting field user_photos node user

I am using Facebook4j and when I try to connect the first time with my facebook account I have now : javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: message - &...
DionysoSong's user avatar
0 votes
0 answers
138 views

facebook4j facebook.getPosts returns no elements

When my user is a tester I can get their posts with no trouble but when the user is not no posts are returned. The code is in different places in the application. Here is some of the code Facebook ...
hardya's user avatar
  • 51
0 votes
1 answer
207 views

Facebook4j: Get feed from user excluding posts by other users

I'm trying to fetch the latest posts of a few users using a batch request: new BatchRequest(RequestMethod.GET, USERID/feed?limit=5&fields=from,created_time,message") The problem is that it does ...
Thomas's user avatar
  • 482
-1 votes
1 answer
821 views

Using Facebook API to retrieve Page reviews using Java

We have a number of Java-based websites, for each we would like to extract all Reviews from a specified Facebook page (different for each website) and show them on a page on the website - basically we ...
Steve Claridge's user avatar
0 votes
1 answer
2k views

Getting Facebook error response of type OAuthException

I have been using below code to get data from my facebook home using restFb api. import java.util.List; import com.restfb.Connection; import com.restfb....
Ankit Agrahari's user avatar
0 votes
1 answer
406 views

Facebook4J OAuth failing

I am trying to search for public items using Facebook4J, I understad I need an appId AND appSecret which I have, the app token is the these two with a pipe symbol between them (as I understand). I can ...
Pete B's user avatar
  • 69
0 votes
1 answer
86 views

Facebook API - call returns less fields when using access token

I have public page post id, about which I would like to get more data. When I make API call like this, https://graph.facebook.com/{POST-ID} I get back full data about the page post including ...
Liberul's user avatar
  • 111
0 votes
0 answers
169 views

Simple facebook user autherization with facebook4j

I'm studying the Facebook4j lib and got stuck on the User authentication. Basically, i want to authorize to find some user and get some data from it like "likes", about and other stuff. From the ...
Draaksward's user avatar
2 votes
0 answers
278 views

How To Post a Sale to a Facebook Group using Facebook4J?

So I'm working on an application that would post something that I want to sell to all of the facebook groups that I'm a part of. I've sort of familiarized myself with Facebook4J already (I can log in, ...
Gabriel Ruoff's user avatar
-1 votes
1 answer
565 views

Post on Facebook pages via Graph API with Facebook4j

I want to create a tool wich allow a user to post his planning on several media at once : he has to fill a form with his establishment week planning, then I post it via newsletter, on his facebook and ...
Labe's user avatar
  • 1,272

15 30 50 per page