WordPress.org

Ready to get started?Download WordPress

Forums

Internal Error while trying to add Tweet Button (2 posts)

  1. hanskisteman
    Member
    Posted 2 years ago #

    Hello,

    I'm generating a Tweet button via: https://twitter.com/about/resources/buttons

    The HTML output for my Tweet button looks like:

    <a href="https://twitter.com/share" class="twitter-share-button" data-via="twitterusername">Tweet</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

    When i paste this HTML code in a wordpress page, i'm getting the following error:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    How do i fix this? Thanks!

  2. hanskisteman
    Member
    Posted 2 years ago #

    Anybody?

Topic Closed

This topic has been closed to new replies.

About this Topic