当我使用浏览器查看网址http://graph.facebook.com/4207086546499xxx时,它会显示json oject格式化数据,如
{
"id": "420708xxxxx9982",
"name": "somename",
"description": "sometext",
"link": "somelink",
"namespace": "ddd",
"icon_url": "xxx.gif",
"logo_url": "xxx.gif"
}
不检查任何访问令牌。但是当我进行ajax调用时,它会显示
的错误消息 {message: "An access token is required to request this resource.", type: "OAuthException", code: 104}
。
这是什么原因?如何在不提供访问令牌的情况下解决它?