This example shows 20 posts from the following instance:
          
          mastodon.social
        
It has the default parameters and has been initialized with the following script:
        
  <script>
    const myTimeline = new MastodonTimeline.Init();
  </script>
          
        
        
          To change the current instance and show a different local timeline,
          for example:
          
          mastodon.online
        
You just need to initialize the script by passing the custom option instanceUrl with the value "https://mastodon.online" as follows in the example:
        
  <script>
    const myTimeline = new MastodonTimeline.Init({
      instanceUrl: "https://mastodon.online"
    });
  </script>