Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-6200

Facebook : iOS Deferred app links error : fetchDeferredAppLink

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Needs more info
    • Affects Version/s: None
    • Component/s: Appcelerator Modules
    • Labels:
      None
    • Environment:

      Facebook iOS 5.9.1, 6.0.0

      Description

      I am attempting to incorporate Facebook deferred deep links.

      Test deferred deep links can be sent from facebook via: https://developers.facebook.com/tools/app-ads-helper

      Alloy.JS
      ------------

      Alloy.Globals.Facebook = require('facebook');
      Alloy.Globals.Facebook.initialize(5000);

      Alloy.Globals.Facebook.fetchDeferredAppLink(function(e)

      { console.log("caught fb deferred link") console.log(JSON.stringify(e)); }

      );

      When this runs I get the error:

      {"error":"An error occurred. Please try again.","success":false}

      This works fine on Android and i receive:

      {"success":true,"url":"myapp://?offerId=80"}

      Thanks

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain (Inactive)
              Reporter:
              martz256 Martyn Joyce
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration