对于 spring-social-facebook 库的实现,我将不胜感激。我正在尝试执行 FQL 查询,但 facebook 向我发送了空结果。如果我在 Facebook Graph API Explorer 中执行相同的查询,它就像一个魅力。我检查了所有权限。我的代码是这样的:
private static final String FQL_GET_FRIENDS = "SELECT uid, name FROM user WHERE uid IN(SELECT uid2 FROM friend WHERE uid1 = me())";
Facebook facebook = new FacebookTemplate(token);
List<Reference> references = facebook.userOperations().search(FQL_GET_FRIENDS);
谢谢你的建议