Twitter Commenters is a plugin for Movable Type that enables commenters to sign-in and comment on your blog using their Twitter account.

Twitter comment authentication works like other auth methods in MT -- once you have installed the plugin you can enable Twitter as one of the auth options, as shown in the image above.
How It Works
When the user enters their Twitter username and password in the form (shown above), the plugin submits those to the Twitter API to verfiy the credentials. If verified, the user can then post comments using their Twitter account. Their Twitter 'display name' will be shown beside their comments, and their Twitter avatar (profile photo) will be imported and shown beside their comments (if userpics are enabled in your templates).
Note that users' Twitter passwords are not stored in the MT database. An upcoming version of this plugin will enable Twitter's new OAuth support, in which case passwords would never be sent to MT at all. That version will like have an option for commenters to cc. their comments to their Twitter account. Stay tuned.
Try it Now
Click here to login with your Twitter account. After logging in, you will be returned to this entry, and you can leave a comment below.
Requirements
- Net::Twitter perl module (included with plugin)
- JSON::Any perl (included with plugin)
Note: Net::Twitter requires newer versions of the libwww-perl collection of Perl modules. I am not sure what the minimum version required is, but on my server, I had to upgrade in order to get Net::Twitter to work. So if you get strange errors, try installing the latest version in your 'extlib' directory of your MT.
Download Twitter Commenters
Installation
- Upload the contents of the 'plugins' folder to the 'plugins' directory for your MT install.
- Upload the contents of the 'mt-static' folder to your 'mt-static' directory.
- For each blog you want to enable, go to Preferences > Registration and check the box for 'Twitter'.
As always, feedback is appreciated.
Follow @mthacks on Twitter for updates and other MT and Twitter hacks.


Comments (17)
Here is an example comment from my Twitter account (@mthacks)
Posted by Mark Carey
|
April 16, 2009 9:51 AM
Posted on April 16, 2009 09:51
Wonderful plugin. Looking forward to the OAuth version very much.
Posted by Adam Tinworth
|
April 17, 2009 10:36 AM
Posted on April 17, 2009 10:36
it's look great.
Posted by tsingson
|
April 17, 2009 11:06 AM
Posted on April 17, 2009 11:06
Hmm. Getting this error when I try to use it on my blog:
JSON::Any version 1.19 required--this is only version 1.18
I've upgraded the JSON::Any on my host to 1.19, but the error persists.
Posted by Anonymous | April 17, 2009 11:39 AM
Posted on April 17, 2009 11:39
Getting closer to success, but not there yet. Error:could not verify Twitter username and password.
Posted by kate ingram
|
April 18, 2009 12:33 PM
Posted on April 18, 2009 12:33
Wonderful!
Posted by ませう
|
April 22, 2009 11:24 AM
Posted on April 22, 2009 11:24
I am having the same issue with JSON as Kate Ingram. I've upgraded JSON with CPAN through my Cpanel and also made sure I had the latest version in my MT's extlib. Pretty much at a loss now.
Posted by Anonymous | May 28, 2009 8:21 PM
Posted on May 28, 2009 20:21
test MT comment via Twitter OAuth #mt
Posted by Mark Carey
|
May 28, 2009 9:56 PM
Posted on May 28, 2009 21:56
@geekmum are you still getting that error?
For those getting the JSON::Any error, the problem is that MT is finding an older version, even though 1.19 is included with this plugin. Most likely, you have the FaceBookCommenters plugin installed -- if so, go to:
/plugins/FaceBookCommenters/extlib/
and delete the the "JSON" folder. Don't worry, this won't break anything, but will prevent this conflict and both plugins should then work.
Posted by Mark Carey
|
May 29, 2009 8:17 AM
Posted on May 29, 2009 08:17
check check sibilance...
Posted by Anonymous | June 1, 2009 4:25 PM
Posted on June 1, 2009 16:25
I am having the same issue with JSON as Kate Ingram. I've upgraded JSON with CPAN through my Cpanel and also made sure I had the latest version in my MT's extlib http://www.chat.t7b.com/123.htm
Posted by دردشه | July 22, 2009 10:44 AM
Posted on July 22, 2009 10:44
am having the same issue with JSON as Kate Ingram. I've upgraded JSON with CPAN through my Cpanel and also made sure I had the latest version in my MT's extlib. Pretty much at a loss now
http://www.t7b.com/dlil/show80156.html
Posted by دردشة الشلة | August 3, 2009 6:36 PM
Posted on August 3, 2009 18:36
I've installed the plugin per the instructions (as well as creating the application within Twitter), however I'm getting a strange error (even after updating the libwww-perl modules (which I'm not sure I did correctly in the first place). The error I am getting is this: Can't call method "permalink" on an undefined value
Anybody know what I've doing wrong? Thanks for your help, this looks like a GREAT plugin.
Posted by Anonymous | September 5, 2009 10:52 PM
Posted on September 5, 2009 22:52
Hi Mark, thanks for this plugin. I had some errors but you've updated the entry to give very helpful instruction regarding lib-wwwperl. I no longer have that error.
I'm currently getting a "Can't call method "permalink" on an undefined value" error. I've set the config file to debug mode and it points to ~/TwitterCommenters/lib/MT/Auth/Twitter.pm line 80.
I know it's saying a value hasn't been added to permalink (which I'm not sure is intended to be a method there) but I'm not good enough with perl to know whether this is something in the script or something I've misconfigured in MT that's not passing info along. Any ideas?
Posted by Anonymous | December 10, 2009 4:03 PM
Posted on December 10, 2009 16:03
That's Great news thanks for tell me about this.
Motorcycle Jackets
Posted by Riderwear | January 1, 2010 6:15 AM
Posted on January 1, 2010 06:15
yah i am greatfull too for sharing all these.
Posted by valentine messages | January 11, 2010 5:49 AM
Posted on January 11, 2010 05:49
I dream about you evey night
I shiver when your in sight
I long to hold you close n tight
I wanna be there with all my might
I m just hoping I'm the girl whos right
Posted by Romantic sms | January 22, 2010 6:16 AM
Posted on January 22, 2010 06:16