Plugin Directory

Simple Twitter Connect

Makes it easy for your site to use Twitter, in a wholly modular way.

Whoa, what's with all these plugins?

The principle behind this plugin is to enable small pieces of Twitter functionality, one at a time.

Thus, you have the base plugin, which does nothing except to enable your site for Twitter OAuth in general. It's required by all the other plugins.

Then you have individual plugins, one for each piece of functionality. One for enabling comments, one for adding Login, etc. These are all smaller and simpler, for the most part, because they don't have to add all the Twitter connections stuff that the base plugin adds.

The comments plugin isn't working!

You have to modify your theme to use the comments plugin.

In your comments.php file (or wherever your comments form is), you need to do the following.

  1. Find the three inputs for the author, email, and url information. They need to have those ID's on the inputs (author, email, url). This is what the default theme and all standardized themes use, but some may be slightly different. You'll have to alter them to have these ID's in that case.

  2. Just before the first input, add this code: [div id="comment-user-details"] [?php do_action('alt_comment_login'); ?]

(Replace the []'s with normal html greater/less than signs).

  1. Just below the last input (not the comment text area, just the name/email/url inputs, add this: [/div]

That will add the necessary pieces to allow the script to work.

Hopefully, a future version of WordPress will make this simpler.

Twitter Avatars look wrong.

Twitter avatars use slightly different code than other avatars. They should style the same, but not all themes will have this working properly, due to various theme designs and such.

However, it is almost always possible to correct this with some simple CSS adjustments. For this reason, they are given a special "twitter-avatar" class, for you to use to style them as you need. Just use .twitter-avatar in your CSS and add styling rules to correct those specific avatars.

Why can't I email people who comment using Twitter?

Twitter offers no way to get a valid email address for a user. So the comments plugin uses a fake address of the twitter's username @fake.twitter.com. The "fake" is the giveaway here.

When users connect using Twitter on the Comments section, there's a delay before their info appears.

Yes. In order to make the plugin more compatible with caching plugins like WP-Super-Cache, the data for a Twitter connect account is retreived from the server using an AJAX request. This means that there will be a slight delay while the data is retrieved, but the page has already been loaded and displayed. Most of the time this will not be noticable.

Why does the settings screen warn me that I don't have a URL shortener plugin?

Simple Twitter Connect does not implement a URL shortening service in favor of letting other plugins implement one for it. WordPress 3.0 includes a new shortlink method for plugins to implement this properly.

A shortener plugin should implement the "get_shortlink" filter for it to be detected. WordPress 3.0 will be required for this to work.

The WordPress.com stats plugin implements this, and it provides shortlinks to "wp.me" URLs. If you wish to use another shortener plugin, tell that plugin's author to implement this same standard, and the plugin will automatically be detected and used by Simple Twitter Connect.

Requires: 3.0 or higher
Compatible up to: 3.3.2
Last Updated: 2012-4-30
Downloads: 103,448

Average Rating

4 stars
(54 ratings)

Support

1 of 1 support threads in the last three weeks have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

2 people say it works.
0 people say it's broken.

100,4,4 0,1,0 0,2,0 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 0,1,0 100,1,1 67,3,2 100,1,1 100,3,3
83,6,5 100,2,2 0,1,0 100,1,1 100,2,2
82,11,9 60,5,3 83,6,5
100,2,2
100,2,2
50,2,1
75,8,6 100,1,1
50,2,1
80,5,4
100,1,1 0,1,0
100,1,1
0,1,0 33,6,2
80,5,4
45,11,5
100,2,2