Twitter Connect for WordPress

April 21, 2009120 Comments

The latest version of Twit Connect allows any blog owner to self-host the entire oAuth connection process.  The plugin now works just like Facebook Connect.

  1. Install the plugin.
  2. Register your blog on and retrieve your Consumer Key and Consumer Secret.
  3. Plug those items into Twit Connect’s configuration page and you will have a complete and independent oAuth application.

When your readers want to comment on a post, they’ll simply click on a button and provide their Twitter credentials to identify themselves.  You’ll also see their Twitter avatar alongside the comments if you’ve setup avatar support on your blog.

I’ve left the option to continue to pass the oAuth process onto me, so you don’t have to register your blog with Twitter.

This version also sports a choice of two different buttons, the new button is from Peter Denton’s “Signin with Twitter” button set.

You may notice that I haven’t implemented the “Sign in with Twitter” process.  I will add that functionality later, however, I would like to spend more time testing that feature first.  Although it has been reported as a “game changer,” leaving that piece out for now does not significantly change process flow.




Filling out the Twitter Application Form

The Twitter form was designed for applications, but it can work for your blog too.  Please see the example below:




Some Caveats

Although I’m a big fan of the Twitter oAuth process and I’m really pleased with this plugin,I recognize that there are still things to consider when implementing this type of technology:

  • An evil blog owner could capture a user’s oAuth token and secret and read private messages or add unauthorized tweets (if write access is granted).
  • A compromised blog could send a user’s oAuth token and secret to a hacker’s site.
  • A completely bogus blog could be setup to simply capture oAuth login information.

With oAuth, we’ve at least eliminated the need for a user to provide a password.  This is important since we know many users use the same password across multiple applications.  It doesn’t, however, make the process completely foolproof and users will need to continue to watch the urls in their browsers and make sure they are signing into legitimate applications.

As always, education is an important part of this technology.  Luckily, we have a great forum for providing that education.


103 Responses to “Twitter Connect for WordPress”

  1. I have the same problem. Only one sign up works but on subsequent login I keep getting User name Cocoanetics@twitter cannot be added. It already exists.

    I have a MU installation of wordpress.

  2. Cocoanetics says:

    This is me logged in the first time via Twitter.

  3. Steve Blanchard says:

    Is there a way or a plugin that someone tweets a post or a page on your wordpress site and after they have done that – it automatically redirects them to a URL of your choice?

    I would love to know if someone has made this plugin or if it can be developed.

    Example: Tweet this post for a free gift and after they tweet it – they get redirected to their free gift on some URL

  4. This twitt automatic post?

  5. B. Charles says:

    Hi you have done an amazing job.

    Iam repeatedly receiving the below response with twit connect.

    “An error occurred while trying to retrieve your Twitter username”

    What could be the reason and how can I fix this.

  6. J'Ze says:

    I dunno why but some script lack and crash through my blog

  7. Jason says:

    it works for me but i need to re-code comment.php

  8. Smith says:

    i’ll try for my blog, coz it would be better to drop spam comment.. thanks for share

  9. Doreen says:

    They can climb well, so they are able to go up trees and other tall
    plants. So on my next day off I sent my cat to the vet for
    his final flea bath and dip. Many pet owners, myself included, have started seeing results within a day
    or so with K9 Advantix.

  10. The 2010 World Cup started final June 11 2010 and will stop
    July eleven 2010 in South Africa. This is the very first time that the match
    will be held in an African Nation. The FIFA World Cup is the sport that is most watched internationally.
    The soccer tournament is the most significant sporting accumulating not only due to the fact of their nicely expert well-known staff or nation players, but also because of each Countrywide Team’s scorching woman beauties that took component in
    the existing 2010 human body paint. The reunion of Germany’s manager, Joachim
    Löw, and USA’s Jürgen Klinsmann is the most significant talking position in a group
    that includes Portugal and Ghana

    The Brazilian Ronaldo was a accurate phenomenon in his time
    as a soccer player, and if not for his serious knee accidents,
    he would have certainly been identified as the finest
    participant at any time. Aside from his dazzling capabilities on the field, he was also famous for scoring off the
    discipline. His flamboyant life-style led to a number of hook ups, and none could perhaps match up
    to his relationship with Domingues, the most expensive feminine soccer participant in
    Spain. Their relationship lasted four a long time, and in that time they played for Genuine Madrid
    and Atletico Madrid respectively, and the flashbulbs and paparazzi literally adopted their every single move.

  11. Do you have a spam issue on this site; I also am a blogger, and I was curious about
    your situation; we have created some nice procedures and we are looking to swap strategies with other folks, please shoot me an e-mail if interested.

  12. 15" says:

    COMPLETELY NEW Impression Turkish Cymbal — 15″ DRY JAZZ Hi-Hats

    Very nice cymbals… VERY musical… exemplifies everything good in the hand hammered turkish cymbal tradition!

    Brand new!

    Raw, unlathed style of our DRY JAZZ Line. The dark and low tones within these cymbals undoubtedly are a dream come true for the majority of drummers!


    Top: 998g
    Bottom: 1180g

    At first listed retail cost of $403. 20

    Buy it today with a BLOW OUT craigs list only price!

    Buy it NOW: $265. 99

    Starting off eBay Auction bid: $199. 49

    Picture with black background would be the manufacturer’s official picture in this model. The second picture is of the actual item.

    Cost-free Shipping and checking via UPS GROUND (USA only).

    14 day money-back guarantee (not including shipping and delivery costs).

  13. What’s up, all the time i used to check webpage posts here early in the break of day, since i love to gain knowledge of more and more.

  14. Very interesting information!Perfect just what I was looking for! If you have more time, please visit my site:

  15. Nghi Nguyen says:

    I regard something genuinely interesting about your website so I bookmarked . If you have more time, please visit my site:

  16. Yuri Lira says:

    Very interesting topic, thank you for posting. If you have more time, please visit my site:

  17. Jean Dragoo says:

    experienced two or three head aches with the survey shit, but this time it payed back :))

  18. Hey There. I discovered your weblog using msn. This is a really smartly written article.
    I’ll make sure to bookmark it and return to learn extra of
    your helpful information. Thanks for the post. I will definitely return.

Leave a Reply

Twitter Tweet This

17 Trackbacks

  1. swhitley (Shannon Whitley)

    Twitter Comment

    RT @me: Twitter Connect for WordPress (new release) – [link to post]

    – Posted using Chat Catcher

  2. jangles (Neville Hobson)

    Twitter Comment

    Installing updated Twitter Connect for WordPress, choice to use OAuth. [link to post]

    – Posted using Chat Catcher

  3. jangles (Neville Hobson)

    Twitter Comment

    @patrickaltoft did you see that @swhitley added some essential help re how to reg with Twitter? [link to post]

    – Posted using Chat Catcher

  4. andylenz (andylenz)

    FriendFeed Comment

    T… [link to post]

    – Posted using Chat Catcher

  5. randyjensen (Randy)

    Twitter Comment

    Twitter Connect for WordPress is now amazing [link to post]

    – Posted using Chat Catcher

  6. pmaez (Paul Maez)

    FriendFeed Comment

    Twitter Connect for WordPress | Shannon Whitley [feedly] – [link to post] (via

    – Posted using Chat Catcher

  7. mihaisecasiu (Mihai Secasiu)

    FriendFeed Comment

    Twitter Connect for WordPress | Shannon Whitley [feedly] – [link to post] (via

    – Posted using Chat Catcher

  8. patgrahamblock (Pat Graham Block)

    FriendFeed Comment

    Twitter Connect for WordPress | Shannon Whitley [feedly] – [link to post] (via

    – Posted using Chat Catcher

  9. nsputnik (Nick Dynice)

    Twitter Comment

    @swhitley i need some help with your Twitter Connect for WordPress plugin. [link to post]

    – Posted using Chat Catcher

  10. juzdongivaphuck (Edmondo Antonacci)

    Twitter Comment

    Twitter Connect for WordPress | Shannon Whitley [link to post]

    Posted using Chat Catcher

  11. Twitter Connect for WordPress | Shannon Whitley | Squico

    [...] In: WordPress plugins 30 Jul 2009 Go to Source [...]

  12. Integrando seu blog Wordpress com o Twitter « tail -f /dev/mind > blog

    [...] Web Upd8, puntogeek & voiceoftech] Compartilhe e [...]

  13. DarkPepe (Pepe Huerta)

    Twitter Comment

    I just left a comment on Twitter Connect for WordPress at Shannon Whitley – [link to post]

    Posted using Chat Catcher

  14. MadBox (Marcelo Derosas R.)

    Twitter Comment

    @DarkPepe ese si te salió, hay algo mal XD

    Posted using Chat Catcher

  15. stephwen (Stephane Wenric)

    Twitter Comment

    @MXV339 voilà [link to post]

    Posted using Chat Catcher

  16. » Blog Archive » Twitter Connect for WordPress | Shannon Whitley

    [...] the original here: Twitter Connect for WordPress | Shannon Whitley Tags: howto, plugin, [...]

  17. Installing Twitter connect with Wordpress « Goran Duskic

    [...] [...]