Adding a Telescope Web App to Your Site

Step 1: Add the script source for tldr.js

Adding the following script tag to the <head> tag of the web page:

<script type="text/javascript" src="https://assets-us.votenow.tv/tldr/0.1.2/tldr.min.js"></script>

Step 2: Create the application container

This container is where you want the app to live. You need to create a <div> tag with a unique ID. For example:

<div id="telescope-widget"></div>

Step 3: Initialize the application

Before the closing body tag, add the following JavaScript code initialize the application:

<script>
(function() {
    document.addEventListener('DOMContentLoaded', function () {
        Telescope.loadApplication({
            parentId: 'telescope-widget',
            url: 'https://fanfeed.interactnow.tv/?wid=8110f0f19605648d'
        });
    });
})();
</script>

IMPORTANT NOTE: The highlighted texts should be replaced with the unique ID you created from Step 2 and the link of the app provided by the Telescope team, respectively.