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 :
- the Twitter tools plug-in, that takes care of posting to twitter
- 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 …
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 :
Now, let’s hit that publish button to see if it works …
Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.