這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP-jTweets

外掛說明

A Widget that uses jQuery (if you want) and Twitter to fade in and display a user’s tweets one at a time, then fades into the next. You can set the amount of tweets and how long they stay before they fade into the next tweet. The tweets are in an infinite loop. It only uses the jQuery library that comes with WP. It is simple, but if you know CSS you can make it look very very nice.

Twitter API 1.1 Keys and Tokens

You now have to go to Twitter’s Dev Section and create an “app”. Please don’t be terrified by this. It takes 5 minutes. The hardest part is copying and pasting the keys once they are created 🙂

  1. Go here and login with your Twitter account: https://dev.twitter.com/apps/
  2. Click ‘Create New Application’
  3. Give it a name like “WP-Jweets for YourDomainName”
  4. Give it a description like “This is so I can show my tweets”
  5. The “Website” field can be the domain name the tweets are going on
  6. The “Callback URL” can be empty
  7. Accept the agreement
  8. Next, click on “Create My Access Token”
  9. Create your token, you will need the following: Consumer key, Consumer secret, Access token and Access token

Server

Your server must have cURL enabled, it is required by the Twitter OAuth library (Thanks goes out to https://github.com/abraham/twitteroauth)

螢幕擷圖

  • The admin section showing the Widget
  • A screenshot in 2012 on the front end

安裝方式

  1. Unzip and upload the plugin into the plugins directory and then activate it.
  2. Go to the Widgets and drag the WP-jTweets bar into a sidebar.
  3. Follow the instructions here under “Other Notes / Requirements”
  4. Fill in your Twitter Username
  5. Fill in your Twitter API fields (See Other Notes)

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈WP-jTweets〉的開發相關工作。

參與者

將〈WP-jTweets〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

= 1.1.5
* Changed some of the naming to match what Twitter now calls the fields.
* Testing to WordPress 5.7 RC1

1.1.4

  • Standardizes the code to be more “The WP Way”

1.1.3

  • Added classes (in addition to IDs for backwards compatibility) to display multiple Twitter ID’s on the same page
  • Styling and JS now run off of classes
  • Added option to allow resizing on fading tweets

1.1.2

  • Adds option to display or not to retweets

1.1.1

  • Adds an option to show “header” section to show the user’s name and avatar
  • Adds linking for @usernames, #hashtags and URLs
  • Adds basic theming options
  • Adds transient for “caching” of the feed

1.1.0

  • Uses the Twitter API version 1.1
  • Uses https://github.com/abraham/twitteroauth for Twitter Authentication

1.0.6

  • Wraps the LI’s into a UL for better HTML validation

1.0.5

  • Adds the ability to disable the fade in/out and just display the feed without jQuery
  • Calls in a style.css within the plugin so you don’t have to drop in the CSS in a theme

1.0.4

  • Uses jQuery ‘data’ method to pass time rotation instead of showing in the HTML
  • Adds some error checking in case the Twitter user doesn’t exist or the feed doesn’t pull

1.0.3

  • Changes to use the new Twitter API which caused an “array_slice” error

1.0.2

  • Removed redundant Javascript in the front end

1.0.1

  • Readme and notes changes

1.0

  • Initial release