wp-twitter

 

(( WP Twitter )) is a plugin that creates a integration between your WordPress blog and your Twitter account by giving you the following functionality:

  • It will post a tweet when you have created a new post on your Wordpress blog and when you have updated a post.
  • Widget for displays yours latest tweets in your WordPress blog.
  • A BookMarklet what opens a small window that makes it easier follow and update your Twitter from anywhere.

SCREENSHOTS:


BookMarklet in action

Settings

Widget config

Widget front end

 

INSTALLATION:

  1. Download the plugin (WordPress plugins repository)
  2. Activate the “WP-Twitter” plugin in your WordPress admin “Plugins
  3. Go to the “WP-Twitter Options page” (Options > WP-Twitter ») to set your Twitter account information.
  4.  

    Optional:

  5. Go to “Presentation / Widgets” in your WordPress admin area.
  6. Drag the “WP-Twitter” widget to your sidebar.
  7. Configure the options:
    Account: your Twitter account name *required
    Title: the heading you want to appear above your Twitters in the sidebar
    Tweets: the number of Twitters shown.

 

TRANSLATIONS:
If you have created your own language pack, or have an update of an existing one, you can send gettext .po and .mo files to webmaster@webmais.com.

  • Brazilian Portuguese (pt_BR)* by Fabrix
  • Russian Russian (ru_RU)* by Fat Cow

(*) Including with the latest version.

 

What the is BookMarklet?

  • BookMarklet is a “simple one-click” tool that adds functionality to the browser, This BookMarklet opens a small window that makes it easier follow and update your Twitter from anywhere.
  • Easy to install, just drag to your bookmarks bar!
  • Lightweight! No software download required

(( WP Twitter )) requires the cURL utility. Fortunately, this utility is a standard inclusion with PHP and virtually all users should experience no issues. If it does pose a problem, the link above will lead to further information to fix the problem.

This plugin does not work with php4.

 

VERSION HISTORY:
= Version 2.4 =
BookMarklet: added search on twitter
.
= Version 2.3 =
Add: Set your URL shortening
bug fix: space at the end of the prefix
.
= Version 2.2.1 =
Russian translation (ru_RU)
.
= Version 2.2 =
Added the WordPress login page in BookMarklet. Note: only the administrator login has access.
.
= Version 2.1 =
Turn on or off in each post
.
= Version 2.0 =
Completely new version, including the BookMarklet
.
= Version 1.5.1 =
Compatibility with WordPress 2.8
.
= Version 1.4.1 =
New Admin Screens Layout, included Yours last tweets
Add avatar in Widget front end
.
= Version 1.3 =
bug fix: installation code was failing on some systems
.
= Version 1.2 =
Settings : verify credentials
.
= Version 1.1 =
Multilanguage support.
.
= Version 1.0 =
Initial release

 

LICENSE: GPL

Responses to this post » (43 Total)

 

  1. 20
    Tdoto says:

    i am getting this error Error! Options page not found. whenever i try to input my twitter account details.

  2. 19
    Caleb says:

    Love the plugin and I’m using it to tweet my posts, but is there any way to set it up so that a link is given in the tweet?

  3. 18
    booboo says:

    Ok, I decided to try to add the custom twitter text feature myself. Here’s what I did. I made all changes in wp-twitter.php

    Right before this line:
    $message = $title . " - " . $url_contents;

    I added this:
    if($_POST['wp-twit-alt'] != '' )
    {
    $title = $_POST['wp-twit-alt'];
    }

    And then right after this line:
    echo "".__('Activate', 'wp-twitter')." WP-Twitter ".__('to this post', 'wp-twitter')."? ";

    I added this:
    echo "Alternate Tweet text (optional): ";

    And now if I want an alternate bit of text to go out to Twitter (like “Check out my post about xyz”) instead of the blog entry title itself I just type it in the field and away it goes! What do you think?

  4. 17

    This is a great plugin. Thanks for the author of this plugin. I was used it at my blog http://industriebooks.com.

  5. 16
    Iron Knee says:

    I just changed the code (in the routine wp_twitter_post) so it always inserts a space. The new code looks like this:

    $prefix = get_option(‘wp_new_prefix’);
    if (strlen($prefix) > 0) $title = $prefix . ‘ ‘ . $title;

    (and similar for the update prefix).

    Since this is a change to the current behavior, you might put in an option to let people pick if it inserts a space after the prefix.

    • 16.1
      Fabrix says:

      Thanks, added in the latest version

    • 16.2
      booboo says:

      what about comment 13 below? have you noticed this problem?

      If I publish a post that’s called “Here are my thoughts for today – Things are looking good!”

      All that will appear on Twitter is “Here are my thoughts for today” and no link. I don’t know if that can be fixed but having an alternate tweet content field that would be sent instead of the post title would at least help…

    • 16.3
      Fabrix says:

      booboo
      .
      This problem was resolved in the latest version. Tip: see comment “12″

    • 16.4
      booboo says:

      Nice! Thanks.

      What do you think about the alternate tweet content field thing? Could still be cool.

  6. 15
    Iron Knee says:

    I’m checking out this plugin, but it has one small bug in it. It is impossible to put a space at the end of the tweet prefix strings. So the tweet prefix runs into the name of the post in the tweet. If I add a space at the end, your plugin deletes it. If I try something like adding an HTML non-breaking space, it totally screws everything up (a tweet happens, but it is blank).

    Other than that, it works great, and is just what I needed (the plugin I was using before did not have the option to tweet updates, just new posts.)

  7. 14
    testjay says:

    Installed it and activated the widget.
    Now it pops up a login screen on my website stating that for the Twitter API a loginname and password needs to be entered.

    Anyone have the same issue? cUrl is running correctly by the way.

    Thanks, testjay

  8. 13
    booboo says:

    You know what would be a great feature (that would also sort of solve the problem I posted): A small text box, maybe down near the yes/no Twitter buttons where you could enter alternate text to be sent to twitter instead of the blog entry. Then you could tailor the message to twitter. I can’t see how that would be too complicated. It would just be passing one field instead of another…

  9. 12
    Peter says:

    I’ve just done an update to a post and it’s gone out to my twitter account but it didn’t insert the link. This happened before, we uninstalled it, reinstalled it and it worked agaion. Any ideas what this is about?

    • 12.1
      Fabrix says:

      In your web hosting, activate URL file-access, go php.ini and enable: allow_url_fopen = On

      Tip: This plugin does not work with php4.

    • 12.2
      Chad says:

      Fabrix, I have no ability to change the contents of the php.ini file, is there any other way to accomplish the goal? It has been working fine for a week now, but recently the last 2 posts have shown up in twitter with shortened names and no link back.

    • 12.3
      Fabrix says:

      Chad:

      Unfortunately no, request support from your web hosting!

    • 12.4
      chad says:

      Looks like they are willing to make the change to the php.ini file for once, but its a moot point since I am on:
      PHP Version 4.3.11
      Thanks again for your help, looks like its just not going to work for me.

    • 12.5
      Raj says:

      Great plugin I am liking it a lot so far!

      I have a question about this allow_url_fopen issue. If my host won’t turn it on (it’s not currently on at the moment) how can I use php’s ini_set function to change this? is this possible and if so, what file would I need to edit to do this?

  10. 11
    Andreas says:

    Hi,
    is it possible to use an other URL-Shorter like http://redir.ec? What must I change at the code.
    Can you help me please!?!
    Regards,
    Andreas

#

    TracBack

Post a Comment

  

Privacy Policy • 2007-2010 (CC) webmais.com • Give Feedback