Twitter module for Drupal plus Facebook plus Adium equals end of schizophrenia

Key words and phrases: 
drupal twitter
Description & Info: 

One status for all your online identities: the end of schizophrenia! Update your status on your Drupal site, and keep your wider wired and wireless world informed.

First, the Twitter module for Drupal by walkah is very simple and a little non-intuitive as to where to do settings, so we'll start with some Twitter module documentation that should be cleaned up and put on Drupal.org (pending the commit of a patch Agaric used and probably other enhancements of the module).

Twitter Module Documentation

Download and put the twitter folder in your sites/all/modules directory. We recommend you then download this patch into the twitter folder and run

patch < twitter_sitewide_0.patch
patching file twitter.module
(Mac and GNU-Linux and I guess Windows with Putty? By the way, don't you think patch instructions should be linked to from issues with patches?).

Enable the module.

Without the patch, the module provides no admin section at all.

You have to give it your Twitter login information at your /user/%uid/edit page.

With the patch, you can provide a sitewide twitter account.

Also with the patch, at the bottom of each content type configuratino page (such as /admin/content/types/blog) you can enable twitter. You have to enable twitter for a content type to use it!

One more caveat:

In the current implementation, you then have to check off specifically that you want to twitter for each post.

In the twitter_alter_node_form function, I changed the default value from blank (empty string) to this:

    '#default_value' => array('personal'),

Extra credit:
TwitterSynch facebook App
(Mac IM client Adium) http://www.adiumxtras.com/index.php?a=xtras&xtra_id=3484

by Benjamin Melançon
Posted on Sat, 2008-03-15 11:46
in
Thanks!

Hey Benjamin,

I really appreciate this walk-through. I just followed it and was able to get it up and running (haven't tried the Adium add yet though). Worked nicely with the #13 patch.

Appreciate it.

Posted by Nick (not verified) on Wed, 2008-06-25 19:12
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.