Publishing Drupal 7 Content to Social Media: Part 1Publishing Drupal 7 Content to Social Media: Part 1
Streamlined workflows are important for sites of any size. Today it is very common to update your readers via multiple social sites, namely Twitter and Facebook. However, it can be tedious sometimes to update your site, then update Facebook and Twitter separately with the correct links (especially if you publish a lot of content). In this series we are going to explore different ways of pushing content to your social media platforms automatically.
There are 2 main approaches to handling this task. The first is to use Drupal module to connect directly to social media sites and publish directly from your site. The second is to use a third party service that is already set up to handle the social media aspect. Most of these services pull from an RSS feed, which means we can potentially get everything set up and running very quickly. Today we're going to deal with the latter.
Using RSS & dlvr.it
Dlvr.it is a service that will take any RSS feed you give it and will push that content to Twitter, Facebook, LinkedIn, and Tumblr. Google Plus and other services are available for an additional fee. The service is very easy to set up, let's look at how to handle things on Drupal's end first.
Set up is very simple. Click to add a new source and input the URL for your site's RSS feed. You can customize the settings for your feed (how often the feed is pulled, posts per day, etc). Next, add a destination for your Facebook and Twitter accounts. If you are logged into those accounts you should see some authorization windows for each account. After those are added you're all set, you never have to do any other configuration again.
You can customize your RSS feed a bit further by using Views module. To create a RSS view, go and add a new view. You can choose a specific content type if you want to further filter the feed (or create multiple feeds for different content types). Once your view is created, click the "add" button and add a feed. The most important part is to set the path in the feed settings. You can use this path to update your dlvr.it settings.
Similarly to dlvr.it, Twitterfeed can take RSS feeds and post them to social media sources. Create an account and follow the simple instructions to add feeds. The process is virtually the same as it is for dlvr.it.
In the next part of this series, we will discuss how to post content directly using Drupal modules.