Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-3147

New Facebook module doesn't return cancelled code when user cancels (1.6.0RC1))

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Needs more info
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:

      Description

      {html}<div><p>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.</p>
      <p>Below is the output in the console when the user clicked
      Skip</p>
      <p><a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> dialogCompleteWithUrl =
      fbconnect://success</p>
      <p><a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> Received publish stream response =
      {<a href="">type</a></p>
      <p>and here is the same output when they clicked Post</p>
      <p><a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> dialogCompleteWithUrl =
      fbconnect://success/?post_id=618961171_133961986669614</p>
      <p><a href="/projects/32238/changesets/INFO" title=
      "Changeset [INFO]">[INFO]</a> Received publish stream response =
      {<a href="">type</a></p>
      <p>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</p></div>{html}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ngupta Neeraj Gupta
                Reporter:
                connysvensson connysvensson
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code