要获取访问令牌,
GET: https://graph.facebook.com/oauth/access_token?
        client_id=YOUR_APP_ID
       &client_secret=YOUR_APP_SECRET
       &redirect_uri=uri
我在Graph API Explorer中尝试了以下 GET 方法
/oauth/access_token?client_id=XXXXX&client_secret=XXXXXXXXXXXXX&redirect_uri=http://XYZ.com/
但在这里我收到错误:
{
  "error": {
    "message": "Missing authorization code",
    "type": "OAuthException",
    "code": 1
  }
}
你能建议一下,代码参数应该传入什么。
/oauth/access_token?client_id=XXXXXX&client_secret=XXXXXXXXXXXXXXX&redirect_uri=http://XYZ.com/&code=??