How can I Permissions Facebook4j ? Thanks

I download lastest jar file from: is my code: Thanks for your help Facebook fb = new FacebookFactory().getInstance();fb.setOAuthAppId("ID", "Pass");fb.setOAuthAccessToken(new AccessToken(accesstoken)); // I get from"tester post");I got exception when try to post status:SEVERE: nullmessage - (#200) Requires either publish_actions permission, or manage_pages and publish_pages as an admin with sufficient administrative permissioncode -...Read more

Why does the function getcommentcount of facebook4j return null

I'm using facebook4j to get the Number of replies of a comment but, actually, it returns null whatever the id_comment isHere is the code that i'm using to get the comment ; i have the ids in an excel fileenter code herepublic class RecuperationFacebook {public static String appId = "appId";public static String appSecret = "appSecret";public static String access_token = "";public static Facebook facebook ;public RecuperationFacebook(){ facebook = new FacebookFactory().getInstance(); facebook.setOAuthAppId(appId, appSecret); facebook.set...Read more

Posting on wall using Facebook4j

im new to Facebook4j and im looking for a way to post message using it. i just learned few of the coding in the internet. Please someone help me.This are what i have done :import facebook4j.Facebook;import facebook4j.FacebookException;import facebook4j.FacebookFactory;import facebook4j.conf.Configuration;import facebook4j.conf.ConfigurationBuilder;public class post {public static void main(String[] args) throws FacebookException { // Create conf builder and set authorization and access keys ConfigurationBuilder configurationBuil...Read more