Having problems getting your Drupal site to talk to your Twitter account? Here is a simple walkthrough.


Category: drupal

With the advent of the change in Twitter authentication the simple Drupal Twitter module had to undergo a few modifications and the documentation misses some crucial steps which may trip you up. So here is a simple walkthrough on how to have a simple feed pushed from your Drupal site into your Twitter account.

1. Download and enable the following modules in Drupal:-

Twitter

OAuth

CTools

2. Configure OAuth

Ensure you select the "RSA-SHA1" method of cryptography in Site Configuration -> OAuth, without this crucial step, your feed will not work.

3. Register your application with Twitter

Follow the link given in the Site Configuration -> Twitter. The application type is browser, The callback url is given on the Twitter config page in Drupal. The access type is read/write.

This will then give you your Consumer Key and Consumer Secret, paste this into the Drupal Twitter setup.

4. Setup the global Twitter account on your admin user in Drupal.

Go to your super user/admin account in Drupal and edit it. Click on the 'Twitter Accounts' button and 'Add Account', allow the account and then click 'make global' and save the changes.

5. Allow users to access the global account

If you wish *all* site posts to be posted to Twitter, then allow the roles you wish to be able to use it the permission of "use global twitter account" in Users -> Permissions.

6. Decide which content types to post

Under Site Configuration -> Twitter -> Post you can select which posts will be pushed to Twitter and the subject title.


And then you're good to go!


Comments

thx

GREAT!!

Hey, thx a lot. That was

Hey, thx a lot. That was exactyl what i needed to know!!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.