Wordpress to Twitter Test (and mini-guide)

This is actually a blog post to test my Wordpress -> Twitter setup, so I might as well explain why I attempt here, as a sort of mini-guide for those who want to do the same.

What I want is to post a tweet each time I add a new blog post on this blog. I want the tweet to be formatted as “Blog: The post title” with a shortened link that points to the post. Also, I want this link to contain Google Analytics tags so I can track if twitter is popular compared to my RSS feeds.

I was able to achieve this using a combination of :

  1. the Twitter tools plug-in, that takes care of posting to twitter
  2. and this code snippet that takes care of adding the Google Analytics tags and shortening the link.

Now, let’s hit that publish button to see if it works …

| |
Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>