Back to top

Pixeleden

is the web garden of Allan Reyes

Comments via Twitter

Twitter has becoming my primary information update stream so I thought that comments or discussions on my posts here would be served via Twitter. Making it more social and consolidated.

Webpop makes it so easy to implement such comment system. Firstly, add this: 

<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

Now you are ready to customize the code from Twitter so it will grab the permalink of the article together with your Twitter username:

Quick tip: New to Webpop? No worries! The amazing Tag Auto-Completion will help you pull the necessary content tag

  1. Your Twitter username
  2. Base URL of your site
  3. Insert the webpop tag to grab the slug of the post <pop:permalink />

Here is my code:

<li id="comment-twitter">Comment <a href="http://twitter.com/?status=@pixeleden http://pixeleden.com<pop:permalink />">via Twitter</a></li>

And this is how it will look like:

With Webpop integrating social bits to your website is so darn simple yet you have full control over your code.