Automatically publishing blog content to Social Media

8 January 2014

Automatically publishing blog content to Social Media

Recently, I was asked by a client to create a facility for their blog to automatically publish any updates to social media accounts - ie twitter and facebook. At first the task seemed a little daunting. I have created a custom administration portal which is used to update all the client websites (including this one) with various modules for e-commerce, blogging, SEO and other site publishing tools. If I were to create this new facility I would either have to change the client's website to using some open source like Wordpress, or build some facility myself. The thought of having to wade through the reams of API documentation and figuring out how to secure the authentication systems for each social network gave me cause for concern. 

However, things turned out to be a lot simpler that I first thought. I discovered that the easiest way of creating a social media feed from your blog is to create an RSS feed for your content (which I've already created the module for anyway) and then use a third party service. The one I tried was TwitterFeed. To publish your content, create a twitterfeed account and point it to your rss feed. Twitterfeed handles all the difficult bits of authentication and scheduled publishing, so what I thought was going to be a big expensive job, turned out to be a couple of hours.

If you are reading this blog post on either my twitter or facebook account, then the service is working as hoped.