该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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

服务器

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