"Twitter me this, twitter me that," can anyone listen to or read any Internet media news and not hear about Twitter? Not likely these days. It seems that celebrity and competition has driven Twitter to become that latest Internet fad.
Wait as second? A fad? Well, only time will tell if that's the case. Currently (to me at least), it seems like Twitter is yet another channel for social communication between multiple parties. If you think in terms of RSS, with a 140 character limit - (some times it's better if some people talk less*) -, you simply have the same selective personal input with some useful conventions providing some uniquely new levels of information access.
So, when it comes to cutting edge, would you expect any less from Drupal? Of course not. While there are a few twitter modules on Drupal.org, I chose to focus on the Twitter module created by James Walker (walkah) of Lullabot fame.
I've covered as much as I can, to give you a strong sense of what you can do with this module and how to integrate into your own Drupal sites.
--
Want to know when new videos are released on this site? Just follow GotDrupal.com on Twitter.
(from asterisk above) * although they just say more in smaller chunks


This is a great tutorial. Please make sure it is part of the twitter project page. It is a must see.
Thank you for creating it.
I see the Drupal module identifies itself in the time stamp for the tweet "about 2 hours ago from Drupal " can this be edited so "Drupal" is changed to "Web" or something else?
The "timestamp" I am referring to is the timestamp displayed on my twitter page at http://twitter.com/thelovemaster . The timestamp displayed on my drupal site from the twitter module does not have the "from Drupal" appended onto the timestamp. I am wondering where/how does twitter get notified with this information( from Drupal)? Is it sent from the module? Does twitter discover the source of the tweet itself? Are there setting in twitter that can omit this information from being appended on to the timestamp?
If I text a tweet to twitter, I get a timestamp like "10:21 PM Jun 5th from txt "
If the tweet is from the Drupal module, I get a timestamp like "12:25 PM Jun 5th from Drupal"
Thank for the help.
This issue has been discussed here for those interested:
http://drupal.org/node/392834
Unfortunately this is not possible as the application does not directly link itself as an authenticated application with twitter API to do so.
Nice tutorial. Thanks a lot !
I just checked the cvs version of the twitter module - it allows any user to post tweet directly when creating content (rather than creating actions for each user). It take the credentials directly from the user profile settings.
The modules adds a twitter fieldset for every content type that is selected in the Twitter settings.
Neat !
The Twitter module has very little documentation and this tutorial has helped a lot! One thing I didn't understand was that I NEEDED the "views" module installed before I could get it to look right.
Great tutorial. I have one problem though. The block doesn't update when I tweet. If I am on twitter and add a tweet or remove a tweet from my account, my drupal site will not update unless I remove then add my account under accounts/twitter accounts in drupal. Any ideas?
haha, mine wont even display, despite being able to preview.
i'm having the same problem in the preview as you though, it's displayed entries up until i've provided a login, but nothing else.
Today i found out that it updates, only the sorting function from views interpets the creatime wrong. If you add a counter and 1 per page, you'll see the amount of tweets. By mine there the same as online. But he displays mij first tweet till now, but i want my latest tweet first and my first tweet last!
If anyone know's please share!!
After searching a while again i found that Distinct: Yes is the problem. Turn Disctint to No.
Hope it helps for you and others to.
great and helpful stuff
+1 what your previous commenters have been saying: you did a great job with this tutorial. It moves along quickly, it delivers the information I needed, and it worked.
I had installed the twitter module myself and was going to configure it, but I searched for a how-to before I started. I found this video and configured Twitter on my Drupal site along with you. I'd watch a step, pause, do that step, re-start the video, and sometimes review a piece to make sure I understood everything. It was a great, foolproof way for me to learn and configure Twitter on my site.
Thanks for posting this; it was a great help.
Imformative ...Thanks for the twitter mod. As formyself ... I am sitting on the front porch
This is such a great video- thank you! The one thing I couldn't figure out though is the attachment. I want my Twitter profile picture to only show up on the attachment to my global block, but not in my global block. Anytime I add that field to the attachment, though, it also shows up in the global block. Do you know how I fix this?
Thanks so much,
Rachel
the way i use twitter on my drupal site is to let it send me a direct message on new comments.
it's not really a module yet, more lots of php. don't know it's useful and i whould make it a module...
here is how to do it:
http://www.lopsta.com/en/story/send-yourself-a-direct-tweet-new-comments...
When I try to add the "Follow Me" HTML Footer, it adds the text for both the Tweet and Attachment view.
I've tried adding it to both individually and removing it from the other one, but somehow there is a link between the two views and when I add or remove ANYTHING underneath the Basic Settings in the twitter views it replicates to both the block and attachment views, so I get the same message twice instead of just on the attachment view like you have.
Any ideas?
Very cool tutorial!!!
This tutorial was really useful - cheers!
Simply, admirable what you have done here. It is fabulous to see you verbalize from the heart and your clarity on this significant subject can be easily seen. Fantastic post and will look forward to your incoming update.
Hi, how do I refresh the twits? I see all the time the same twits even if I post new twits on my twitter page.
Thanks, Daniel.
Goto admin>>performance and clear all caches. that should do it!
I have cleared catch and ran cron job, but no use. Still the tweets not updated (refereshed) in my drupal site
For me, the updates seemed to refresh when cron.php ran. Check your cron job and see if that fixes it.
Thanks for taking the time to discuss this, I feel powerfully about it and love learning more on this subject. If viable, as you gain expertise, would you mind updating your Blog with more information? It is highly helpful for me.
Hi,
This is a very nice tutorial. I have learned it from this video tutorial how to post messages to twitter and I am using it on my site. But I have one question here. I am posting the title and url of the post to twitter. I am using the settings in action module as
%title - %node_url.
so it will post the "title - node url" to twitter. But the url is going something like "websitename/node/46" etc. But I am using pathauto module to change the urls. So how can I send the changed urls instead of the original urls to twitter?
Thank you in advance.
Very handy guide, thanks for posting it!
-Daniel
Hi
That is nice information. I am really going to use this into my drupal blog.....I am new here,
Thanks
Nice to find documentation for this module somewhere!
When I go to my user account, the import checkbox is not set. If I set it and save, it gets unset/cleared. What condition is needed to let me import?
Just wanted to reply that despite the strange behavior with the import checkbox, my twitter import is now working - no need for further help. I did not change anything - just ran cron manually again.
can somebody help me with the protect flag in the twitter_accounts table? Every time cron runs and brings in new tweets, it resets this flag and nothing displays. If I set them manually with phpmyadmin to 1, then I get my display display.
Great video!! I was have been using the Twitter module for a long time for updating twitter through drupal. But was never able to figure out how to get twitter statues to display on my drupal site. Thank you very much for posting this as well as coming up with a nice style for the view. Hope you don't mind but I copied it. ;)
Thanks again!
Great video. Thanks for the help. However, after following it, my tweets are not visible anywhere. In the video, that panel with the Tweets looks real nice, but how was that made? I've added the "User Tweets" to a block but there is nothing there. Since I'm a bit lost and don't quite know for sure where I've gotten off track, any help would be much appreciated. Thanks in advance for helping me get this to work.
I too, am having the problem of my Tweets not updating. After following the tutorial, which was excellent, it grabbed the initial tweets, but no updates are showing up. I've cleared the cache, ran cron, checked the import settings, and still no updates.
Any help is greatly appreciated!!
Thanks a lot for this video! I was able to add a twitter block to my site in under 20 minutes.