FacebookFactory ff = new FacebookFactory(cb.build());
Facebook facebook = ff.getInstance();
try {
System.out.println(facebook.getName());
ResponseList<Like> userLikes = facebook.getUserLikes(facebook.getName());
for (Like like : userLikes) {
System.out.println(like.getName());
System.out.println(like.getCategory());
}
} catch (FacebookException e) {
e.printStackTrace();
}
On some further digging I found out that Like.getName() and Like.getCategory(), which essentially means user_likes requires approval from Facebook. Is my understanding correct?
I also tried raising a review request for my app and found out that it requires a whole bunch of things before the request gets submitted to Facebook. This includes privacy policy along with descriptive notes for individuals access request. I just want to test facebook4j API in my IDE and don't have the app at a stage where I can publish to app store or have a privacy policy attached to it. Is it really necessary? I mean, wouldn't it be too much just to test an API call?
Thank you so much for your valuable time, and please pardon my ignorance as I am totally new to both app development + Facebook API.