我们正在获得同样的行为。
如果以Facebook页面的身份登录,Facebook通常会显示一个对话框,显示“您无法以Facebook页面登录。切换至xxx用户”。
所以你应该总是让你的FB连接代码中的普通用户。
但它看起来像有时Facebook不能正确处理,并允许用户尝试登录为Facebook页面。然后您获得的访问代码不允许您获取用户信息。
所以我认为你不能做任何事情,只是警告用户,他必须以普通用户Facebook Profile登录。
这是一个完整的交通信息,我们得到:(与匿名代码):
GET /oauth/access_token?client_id=xxxxx&redirect_uri=xxxxx&client_secret=xxxx&code=xxx HTTP/1.1
Connection: close
Host: graph.facebook.com
HTTP/1.1 200 OK
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Type: text/plain; charset=UTF-8
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Pragma: no-cache
X-FB-Rev: 401390
X-FB-Server: 10.42.17.21
Connection: close
Date: Wed, 06 Jul 2011 10:38:11 GMT
Content-Length: 122
access_token=xxxx&expires=4909
GET /me?access_token=xxxx HTTP/1.1
Connection: close
Host: graph.facebook.com
HTTP/1.1 200 OK
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Type: text/javascript; charset=UTF-8
ETag: \"7cb6efb98ba5972a9b5090dc2e517fe14d12cb04\"
Expires: Sat, 01 Jan 2000 00:00:00 GMT
P3P: CP=\"Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p\"
Pragma: no-cache
X-FB-Rev: 401390
Set-Cookie: datr=aTsUTlxHtaaaK67aCdYmQbCO; expires=Fri, 05-Jul-2013 10:39:37 GMT; path=/; domain=.facebook.com; httponly
X-FB-Server: 10.32.3.116
Connection: close
Date: Wed, 06 Jul 2011 10:39:37 GMT
Content-Length: 5
false