我正在使用Facebook PHP SDK来注册成就 .

我正在向“ /[appid]/achievements?access_token=[access_token]&achievement=[AbsolutePathToValidOGHTMLPageOnMySite] ”发出POST请求

抛出: Fatal error: Uncaught OAuthException: (#15) This method must be called with an app access_token. thrown in /home/content/61/5530661/html/fb/src/base_facebook.php on line 1039

调试器说我的成就页面有有效的OG元数据 .

对于access_token参数,我传递了正确的管道分隔“ app access token ”,我通过向Facebook文档中指示的 https://graph.facebook.com/oauth/access_token?client_id=[appid]&client_secret=[appsecret]&grant_type=client_credentials 发出基本的get请求

如果您需要更多信息,请告诉我 .