[TIMOB-3147] New Facebook module doesn't return cancelled code when user cancels (1.6.0RC1))
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2012-07-26T16:40:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | api |
Reporter | connysvensson |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:38:04.000+0000 |
Updated | 2017-03-16T20:41:22.000+0000 |
Description
If calling the Ti.Facebook.dialog method to let the user post something to their feed and click the Skip button I assume I should get the cancelled = true in the event object. Otherwise there is no way to tell if the user went through with the post.
Below is the output in the console when the user clicked Skip
[INFO] dialogCompleteWithUrl = fbconnect://success
[INFO] Received publish stream response = {type
and here is the same output when they clicked Post
[INFO] dialogCompleteWithUrl = fbconnect://success/?post_id=618961171_133961986669614
[INFO] Received publish stream response = {type
In both scenarios success is set to true, the only thing that differs is the post?id parameter in the url, but I don't think we have access to that. The correct behavior shuld be that cancelled = true when the user clicks "Skip". The same thing should for the login scenario, this I haven't tried. I've only tried this with iOS 4.2
Should have used Preview before posting, here comes the console output part again.
Below is the output in the console when the user clicked Skip
and here is the same output when they clicked Post
Does not include complete & valid test case
This ticket can be reopened when this is provided.Closing ticket as the information that was requested was never provided.