我正在使用 facebook4j 我已经在 facebook4j.properties 文件中设置了配置详细信息。但是当我尝试获取访问令牌时,它显示
SEVERE: Error while creating the Access TokenOAuth app id/secret combination not supplied
java.lang.IllegalStateException: OAuth app id/secret combination not supplied
at facebook4j.FacebookBaseImpl.getOAuth(FacebookBaseImpl.java:247)
at facebook4j.FacebookBaseImpl.getOAuthAuthorizationURL(FacebookBaseImpl.java:213)
at facebook4j.FacebookBaseImpl.getOAuthAuthorizationURL(FacebookBaseImpl.java:206)
谁能为java控制台应用程序的facebook4j提供一个示例
Facebook facebookClient = new FacebookFactory().getInstance();
return facebookClient;