Add a Twitter Feed widget to Google Sites pages

  • Profile Image
    Don
    Asked on January 29, 2012 at 04:40 PM

    <script src="//widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
      version: 2,
      type: 'profile',
      rpp: 4,
      interval: 6000,
      width: 'auto',
      height: 300,
      theme: {
        shell: {
          background: '#aacceb',
          color: '#ffffff'
        },
        tweets: {
          background: '#000000',
          color: '#ffffff',
          links: '#1398f0'
        }
      },
      features: {
        scrollbar: true,
        loop: false,
        live: true,
        hashtags: true,
        timestamp: true,
        avatars: true,
        behavior: 'all'
      }
    }).render().setUser('h3atherz').start();
    </script>

     

    saved it as an xml FILE AND made the google site public and then get 

     

    Unsupported feature: org.apache.shindig.common.xml.XmlException: The markup in the document

    following the root element must be well-formed. At: (3,2)

     

    How do I get the widget to work?

  • Profile Image
    idarktech
    Answered on January 29, 2012 at 10:22 PM

    Hi Don, 

    First off, thank you for stopping by. This is JotForm Support Forum and we can only handle JotForm related problems. Since you're discussing about twitter/google, I think Google will save you about this.

    Thank you so much and have a great day!