AudienceView Connect

AVTiki Redirects Configuration

There are two redirects, one for each microsite, that must be placed in the AVTiki UI folder. The redirects force Facebook to display AVTiki using a secure channel (SSL) rather than the default unsecure channel.

  1. Create two new folders, redirect_purchase and redirect_redeem, in the AVTiki UI folder.
    Caution
    The folder names must match what is contained in the URL paths from the App on Facebook section of the Facebook App page. If the given folder names vary from what is in this example, the URLs in the Facebook configuration will need to be changed to reflect the variance.
  2. Open the redirect_purchase folder.
  3. Create a new file called default.asp.
  4. Paste the following information into the default.asp file:
    <%@LANGUAGE=JAVASCRIPT%>
    <script type='text/javascript'>
        window.parent.location = 'https://www.facebook.com/FACEBOOK_PAGE_LABEL/app_APPID';
    </script>
  5. Replace FACEBOOK_PAGE_LABEL with your organization's Facebook page label found in the URL of the page after www.facebook.com/.
    Caution
    The page label is not likely to contain spaces and, therefore, may be different than the page title.
  6. Replace APPID with 'Facebook App ID' found at the top of the Basic Info section of the Facebook App.
  7. Save the default.asp file and close it.
  8. Open the redirect_purchase folder.
  9. Create a new file called default.asp.
  10. Paste the following information into the default.asp file:
    <%@LANGUAGE=JAVASCRIPT%>
    <script type='text/javascript'>
        window.parent.location = 'https://apps.Facebook.com/FACEBOOK_PAGE_LABEL/?<%=Request.QueryString %>';
    </script>
  11. Replace FACEBOOK_PAGE_LABEL with the same information used in Step 5.
  12. Save the default.asp file and close it.