通过 unificationengine 在 facebook 上发布
Posting on facebook via unificationengine
您好,我想 post 通过统一引擎访问 Facebook。我已经创建了一个用户,添加并成功测试了一个 facebook 连接,但是当我 post 我得到以下响应:
{"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 令牌直接 post 到 facebook(没有 unificationengine
)时,它工作正常。这可能是什么问题? Facebook 和 unificationengine
上均未记录状态 190。
@unificatinengine 开发人员: 如果服务返回的错误将在 unificationengine
响应中传递,这将是实用的,这样调试此类错误将更容易,错误也可以通过编程方式处理。
附加信息
今天我似乎无法重现昨天的反应。 post我用来post发给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
在内部为 posting 到 facebook 做了什么(我不应该担心),以及那里出了什么问题。
“/v2/connection/info”是否显示您添加的 facebook 连接的详细信息?如果不能,请使用新的访问令牌更新连接,对 "v2/connection/add" api 端点使用相同的连接标识符,并检查它是否有效。
unificationengine
您好,我想 post 通过统一引擎访问 Facebook。我已经创建了一个用户,添加并成功测试了一个 facebook 连接,但是当我 post 我得到以下响应:
{"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 令牌直接 post 到 facebook(没有 unificationengine
)时,它工作正常。这可能是什么问题? Facebook 和 unificationengine
上均未记录状态 190。
@unificatinengine 开发人员: 如果服务返回的错误将在 unificationengine
响应中传递,这将是实用的,这样调试此类错误将更容易,错误也可以通过编程方式处理。
附加信息
今天我似乎无法重现昨天的反应。 post我用来post发给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
在内部为 posting 到 facebook 做了什么(我不应该担心),以及那里出了什么问题。
“/v2/connection/info”是否显示您添加的 facebook 连接的详细信息?如果不能,请使用新的访问令牌更新连接,对 "v2/connection/add" api 端点使用相同的连接标识符,并检查它是否有效。
unificationengine