{ "id": "63779", "key": "TIMOB-3147", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-07-26T16:40:33.000+0000", "created": "2011-04-15T03:38:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [], "issuelinks": [ { "id": "19293", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T20:41:22.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

If calling the Ti.Facebook.dialog method to let the user post\nsomething to their feed and click the Skip button I assume I should\nget the cancelled = true in the event object. Otherwise there is no\nway to tell if the user went through with the post.

\n

Below is the output in the console when the user clicked\nSkip

\n

[INFO] dialogCompleteWithUrl =\nfbconnect://success

\n

[INFO] Received publish stream response =\n{type

\n

and here is the same output when they clicked Post

\n

[INFO] dialogCompleteWithUrl =\nfbconnect://success/?post_id=618961171_133961986669614

\n

[INFO] Received publish stream response =\n{type

\n

In both scenarios success is set to true, the only thing that\ndiffers is the post?id parameter in the url, but I don't think we\nhave access to that. The correct behavior shuld be that cancelled =\ntrue when the user clicks \"Skip\". The same thing should for the\nlogin scenario, this I haven't tried. I've only tried this with iOS\n4.2

{html}", "attachment": [], "flagged": false, "summary": "New Facebook module doesn't return cancelled code when user cancels (1.6.0RC1))", "creator": { "name": "connysvensson", "key": "connysvensson", "displayName": "connysvensson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "connysvensson", "key": "connysvensson", "displayName": "connysvensson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "130159", "author": { "name": "connysvensson", "key": "connysvensson", "displayName": "connysvensson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Should have used Preview before posting, here comes the console\noutput part again.

\n

Below is the output in the console when the user clicked\nSkip

\n
\n[INFO] dialogCompleteWithUrl = fbconnect://success\n\n[INFO] Received publish stream response = {\"type\":\"result\",\"source\":{},\"url\":{},\"success\":true,\"cancelled\":false}\n
\n

and here is the same output when they clicked Post

\n
\n[INFO] dialogCompleteWithUrl = fbconnect://success/?post_id=618961171_133961986669614\n\n[INFO] Received publish stream response = {\"type\":\"result\",\"source\":{},\"url\":{},\"success\":true,\"cancelled\":false}\n
{html}", "updateAuthor": { "name": "connysvensson", "key": "connysvensson", "displayName": "connysvensson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:04.000+0000", "updated": "2011-04-15T03:38:04.000+0000" }, { "id": "209976", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "# Does not include complete & valid test case\r\n\r\nThis ticket can be reopened when this is provided.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T16:40:33.000+0000", "updated": "2012-07-26T16:40:33.000+0000" }, { "id": "412924", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the information that was requested was never provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T20:41:22.000+0000", "updated": "2017-03-16T20:41:22.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }