我们正在使用Authomatic软件包,以便我们的用户可以使用他们的社交帐户登录,还可以在他们的社交网络个人资料中分享我们网站上的内容。
最近,Facebook帖子开始失败,没有明显的原因,返回状态代码500.
以下是我从Facebook获得的异常消息:
{'fp': None, 'status': '', 'startofbody': None, 'startofheaders': None, 'subtype': 'javascript', 'type': 'text/javascript', 'maintype': 'text', 'headers': ['Access-Control-Allow-Origin: *\r\n', 'Cache-Control: no-store\r\n', 'Content-Type: text/javascript; charset=UTF-8\r\n', 'Expires: Sat, 01 Jan 2000 00:00:00 GMT\r\n', 'Pragma: no-cache\r\n', 'WWW-Authenticate: OAuth "Facebook Platform" "unknown_error" "An unexpected error has occurred. Please retry your request later."\r\n', 'X-FB-Rev: 1086465\r\n', 'X-FB-Debug: fiYZ8SKUzXpbSPUPmqcWfuc/LcHfQmOCKiY/EnTDOKI=\r\n', 'Date: Mon, 20 Jan 2014 14:21:23 GMT\r\n', 'Connection: keep-alive\r\n', 'Content-Length: 123\r\n'], 'dict': {'content-length': '123', 'expires': 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-debug': 'fiYZ8SKUzXpbSPUPmqcWfuc/LcHfQmOCKiY/EnTDOKI=', 'x-fb-rev': '1086465', 'connection': 'keep-alive', 'pragma': 'no-cache', 'cache-control': 'no-store', 'date': 'Mon, 20 Jan 2014 14:21:23 GMT', 'access-control-allow-origin': '*', 'content-type': 'text/javascript; charset=UTF-8', 'www-authenticate': 'OAuth "Facebook Platform" "unknown_error" "An unexpected error has occurred. Please retry your request later."'}, 'typeheader': 'text/javascript; charset=UTF-8', 'encodingheader': None, 'seekable': 0, 'unixfrom': '', 'plisttext': '; charset=UTF-8', 'plist': ['charset=UTF-8']}{
'fp':None,
'status':'',
'startofbody':None,
'startofheaders':None,
'subtype':'javascript',
'type':'text/javascript',
'maintype':'text',
'headers':[
'Access-Control-Allow-Origin: *\r\n',
'Cache-Control: no-store\r\n',
'Content-Type: text/javascript; charset=UTF-8\r\n',
'Expires: Sat, 01 Jan 2000 00:00:00 GMT\r\n',
'Pragma: no-cache\r\n',
'WWW-Authenticate: OAuth "Facebook Platform" "unknown_error" "An unexpected error has occurred. Please retry your request later."\r\n',
'X-FB-Rev: 1086465\r\n',
'X-FB-Debug: fiYZ8SKUzXpbSPUPmqcWfuc/LcHfQmOCKiY/EnTDOKI=\r\n',
'Date: Mon, 20 Jan 2014 14:21:23 GMT\r\n',
'Connection: keep-alive\r\n',
'Content-Length: 123\r\n'
],
'dict':{
'content-length':'123',
'expires':'Sat, 01 Jan 2000 00:00:00 GMT',
'x-fb-debug':'fiYZ8SKUzXpbSPUPmqcWfuc/LcHfQmOCKiY/EnTDOKI=',
'x-fb-rev':'1086465',
'connection':'keep-alive',
'pragma':'no-cache',
'cache-control':'no-store',
'date':'Mon, 20 Jan 2014 14:21:23 GMT',
'access-control-allow-origin':'*',
'content-type':'text/javascript; charset=UTF-8',
'www-authenticate':'OAuth "Facebook Platform" "unknown_error" "An unexpected error has occurred. Please retry your request later."'
},
'typeheader':'text/javascript; charset=UTF-8',
'encodingheader':None,
'seekable':0,
'unixfrom':'',
'plisttext':'; charset=UTF-8',
'plist':[
'charset=UTF-8'
]
}
最奇怪的是发布到社交群组确实有效(使用Facebook),通过Graph调试器发送相同的帖子对象,一切都顺利进行!
以前有没有人遇到过这种行为?有没有办法解决它?。