Twitter Connect (sort of)
Note: Learn about the latest version and see additional instructions on this post.
If you take a look at my comment form on this blog, you’ll notice the addition of a little blue button. Click on the button and you can claim your comments using your Twitter credentials. This process tells my blog who you are, but I never have to ask for a password. I’m using a WordPress plugin called Twit Connect. I wrote it today, based on the work done by Adam Hupp of Facebook. Although this plugin is nowhere near as complex as the Facebook Connect code, it provides the basic login into WordPress and will display avatars with each comment.
I’ll probably release this plugin in a few days after I try it out and get more feedback. Give it a try yourself and leave me a comment on this post.
Update 2: Adding the code to your Comments.php File:
Each theme will be slightly different, but you should place the code right about the Name field. look for code like this in your comments file:
<?php else : ?>
<?php twit_connect() ?>
<p> <strong><?php _e(‘Name:’); ?> <?php if ($req) _e(‘(Required)’); ?></strong><br/>
<input type="text" name="author" id="author" value=" <?php echo $comment_author; ?>" tabindex="1" />
data-text=”Twitter Connect (sort of) (Shannon Whitley)”