嗨,我想通过统一引擎发到脸书。我已经创建了一个用户,并成功地添加和测试了一个facebook连接,但是当我发帖时,我得到了以下响应:
{"Status":{"facebook":{"status":190,"info":"Error validating access token: Session does not match current stored session. This may be because the user changed the password since the time the session was created or Facebook has changed the session for security reasons.: "}},"URIs":[]}
当我使用用于创建连接的facebook令牌,直接将其发布到facebook (没有unificationengine)时,它就可以正常工作了。这里可能有什么问题?状态190既没有记录在facebook上,也没有出现在unificationengine上。
@unificatinengine开发人员:是实用的,如果服务返回的错误将传递到unificationengine响应中,那么调试此类错误就更容易了,并且错误也可以通过编程方式处理。
附加信息
今天,我似乎无法重现昨天的反应。我用来将消息发布到facebook的post字段(与昨天相同)如下:
{ "message":{ "receivers":[ { "name":"me", "address":"https://graph.facebook.com/v2.1/me/feed", "Connector":"facebook" } ], "sender":{ "address":"sender address" }, "subject":"test", "parts":[ { "id":"0", "contentType":"text/plain", "type":"body", "size":25, "data":"this is the plain message" }, { "id":"1", "contentType":"text/html", "type":"body", "size":42, "data":"<div>this is the <b>html</b> message</div>" }, { "id":"2", "contentType":"text/plain", "type":"link", "size":17, "data":"http://www.web.de" }, { "id":"3", "contentType":"text/plain", "type":"link_description", "size":21, "data":"some link description" }, { "id":"4", "contentType":"text/plain", "type":"link_title", "size":10, "data":"link title" } ] } }
但是今天我从unificationengine收到了以下消息
{ "Status":{ "facebook":{ "status":100, "info":"Unsupported post request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api: " } }, "URIs":[] }
不幸的是,这并没有告诉我,unificationengine内部在facebook上做了什么(这不应该让我担心),以及哪里出了问题。
发布于 2016-08-09 04:36:09
"/v2/ connection /info“是否显示了您添加的facebook连接的详细信息?如果不能,请使用新的访问令牌更新连接,对"v2/ connection /add“api端点使用相同的连接标识符,并检查它是否有效。
unificationenginehttps://stackoverflow.com/questions/38829622
复制相似问题