您好,我想通过统一引擎发布到Facebook。我已经创建了一个用户,成功添加并测试了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(与昨天相同)的帖子如下:
{
"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的内容(我不应该关注我),以及那里出了什么问题。
答案 0 :(得分:1)
“/ v2 / connection / info”是否显示已添加的facebook连接的详细信息?如果没有,请使用新的访问令牌更新连接,使用“v2 / connection / add”api端点的相同连接标识符,并检查它是否有效。
unificationengine