Posting on facebook via unificationengine -
hi i'd post facebook via unification engine. i've created user, added , tested facebook connection, when post following response:
{"status":{"facebook":{"status":190,"info":"error validating access token: session not match current stored session. may because user changed password since time session created or facebook has changed session security reasons.: "}},"uris":[]}
when use facebook token, used creating connection, post facebook directly (without unificationengine
), works fine. might problem here? status 190 neither documented on facebook nor on unificationengine
.
@unificatinengine developers: practical, if errors returned service passed on inside unificationengine
response, way debugging such errors easier, , errors processed programmatically.
additional info
today seem not able reproduce response of yesterday. postfields use post message facebook (the same yesterday) follows:
{ "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 plain message" }, { "id":"1", "contenttype":"text/html", "type":"body", "size":42, "data":"<div>this <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" } ] } }
today following message unificationengine
{ "status":{ "facebook":{ "status":100, "info":"unsupported post request. please read graph api documentation @ https://developers.facebook.com/docs/graph-api: " } }, "uris":[] }
unfortunately not tell me, unificationengine
internally posting facebook (which should not concern me), , goes wrong there.
does "/v2/connection/info" show details of facebook connection have added? if not can please update connection new access token, using same connection identifier "v2/connection/add" api endpoint, , check if works.
unificationengine
Comments
Post a Comment