Title: Twitter SP2
Author: Dan-Lucian Stefancu
Published: <strong>2009 年 4 月 14 日</strong>
Last modified: 2009 年 9 月 14 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/twitter-sp2.svg)

# Twitter SP2

 作者：[Dan-Lucian Stefancu](https://profiles.wordpress.org/de-ce/)

[下载](https://downloads.wordpress.org/plugin/twitter-sp2.zip)

 * [详情](https://cn.wordpress.org/plugins/twitter-sp2/#description)
 * [评价](https://cn.wordpress.org/plugins/twitter-sp2/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/twitter-sp2/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/twitter-sp2/#developers)

 [支持](https://wordpress.org/support/plugin/twitter-sp2/)

## 描述

Twitter SP2 is a simple WordPress plugin developed for bloggers who have Twitter
accounts. The plugin posts on Twitter a link to your post shorten via a romanian
service sp2.ro when you publish a new blog post.

When a post is published the plugin makes a shorter link for the permalink using
sp2.ro API, stores it in a custom field called `sp2_link`, then sends it on Twitter
in a way chosen in Options.

#### Features

 * the shorter link is stored in a custom field
 * predefined and custom formats of text to send
 * twitter notificantion can be turned off for individual posts
 * errors are messages stored in custom fields
 * NEW! readers can now send the posts on Twitter
 * NEW! the plugins tries for 5 time to send the text on Twitter before giving up,
   if Twitter gives a timeout response

#### Changelog

 * v0.6 – fixed minor error
 * v0.5 – added the “send on twitter” link on older posts too
 * v0.4 – fixed a bug with future posts
 * v0.4 – added posibility to add a “send on twitter” link on the page to be used
   by the blog readers
 * v0.4 – tries for 5 times to send the text on twitter before giving up, if timeout
   response
 * v0.4 – added error and succes messages
 * v0.3 – trimmed out shortcodes and bad chars from post excerpt
 * v0.3 – switched on a new 2.8 action hook
 * v0.2 – changed old posts twitter notificantion option to off by default
 * v0.2 – added `%titlu%`, `%fragment%`, and `%link%` as tags for custom texts to
   send
 * v0.1.1 – fixed minor input error in Options
 * v0.1 – initial release

## 屏幕截图

 * [[
 * the Options in WP 2.7

## 安装

Instructions for installing the Twitter SP2 plugin.

 1. Download the plugin and unzip it to a folder on your computer.
 2. Upload `twitter-sp2` folder to the `/wp-content/plugins/` directory
 3. Activate `Twitter SP2` plugin through the `Plugins` menu in WordPress
 4. Go to `wp-Admin => Settings => Twitter SP2` to enter your twitter account info 
    and modify other settings.

## 常见问题

  If I edit an old post it will be sent on Twitter?

Yes, if the updates are not turn off for that post.

  How does the plugin knows if a notification was sent?

After a tweet was sent, the plugin makes a custom field called sp2_tweet_sent with
a value of ‘1’

## 评价

此插件暂无评价。

## 贡献者及开发者

「Twitter SP2」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Dan-Lucian Stefancu ](https://profiles.wordpress.org/de-ce/)

[帮助将「Twitter SP2」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/twitter-sp2)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/twitter-sp2/)，查看[SVN仓库](https://plugins.svn.wordpress.org/twitter-sp2/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/twitter-sp2/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/twitter-sp2/)。

## 额外信息

 *  版本 **0.6.1**
 *  最后更新：**17 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.6 或更高版本 **
 *  已测试的最高版本为 **2.8.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/twitter-sp2/)
 * 标签
 * [digest](https://cn.wordpress.org/plugins/tags/digest/)[integrate](https://cn.wordpress.org/plugins/tags/integrate/)
   [integration](https://cn.wordpress.org/plugins/tags/integration/)[notify](https://cn.wordpress.org/plugins/tags/notify/)
   [post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/twitter-sp2/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/twitter-sp2/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/twitter-sp2/reviews/)

## 贡献者

 *   [ Dan-Lucian Stefancu ](https://profiles.wordpress.org/de-ce/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/twitter-sp2/)