Publishing Drupal 7 Content to Social Media: Part 1Publishing Drupal 7 Content to Social Media: Part 1

Categories:

 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.
 
Pushing content via 3rd party services
 

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.



 

The simple way is to use Drupal's default RSS settings which are available in every default installation. To do this simply go to /admin/config/services/rss-publishing. Set some simple titles and then check out /rss.xml. You should see a XML list of all your site content. You will use this URL as the basis for dlvr.it account. Head over to dlvr.it and create an account and then sign into your Facebook and Twitter accounts.


 

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.



 

Using RSS & Twitterfeed
 

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.



 

I would encourage you to try both services to find what suits you best.
 

In the next part of this series, we will discuss how to post content directly using Drupal modules.

Need a Custom Designed Theme?

If you need a custom designed theme for your business then our designers can work with you to create a unique concept that is consistent with your brand, clearly communicates your value proposition and helps you achieve your goals. >> Click here to contact us and let us know about your needs and we'll analyze and provide you with an estimate for designing and development your custom theme.