WordPress.org

Support

Support » How-To and Troubleshooting » Internal Error while trying to add Tweet Button

Internal Error while trying to add Tweet Button

  • 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!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Internal Error while trying to add Tweet Button’ is closed to new replies.
Skip to toolbar