Linux 软件免费装
Banner图

Fetch Tweets

开发者 Michael Uno
miunosoft
更新时间 2018年9月16日 23:14
捐献地址: 去捐款
PHP版本: 5.2.4 及以上
WordPress版本: 4.7.3
版权: GPLv2 or later
版权网址: 版权信息

标签

feed widget timeline twitter tweets tweet

下载

1.0.0.1 1.0.0.2 1.0.0.3 1.0.1 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.2.1 1.3.3 1.3.3.1 1.3.3.10 1.3.3.11 1.3.3.2 2.1 2.1.1 2.1.1.1 2.2.0 2.2.1 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 1.0.0 1.3.3.3 1.3.3.4 1.3.3.5 1.3.3.6 1.3.3.7 1.3.3.8 1.3.4 1.3.4.1 1.3.5 1.3.5.1 2

详情介绍:

It displays tweets in the sidebar, posts, and pages. It does not rely on JavaScript so the tweets will be displayed to visitors disabling JavaScript in their browsers. Not only can you show your own tweets but also the mashed up results of multiple user's timelines. It is easy to set up for WordPress beginners. It does not require you to provide authentication keys. Media files are automatically displayed such as YouTube videos and photos posted in tweets. You can disable them with the setting. It allows developers to write additional add-ons and templates. One of the extensions, Feeder, supports feeds so you can subscribe your favorite person’s tweets as RSS, which has become harder as the Twitter API was upgraded and the previous version no longer support tweet feed without authentication keys. With this addon, if you are a programmer, you can import the tweet data as JSON to your application by making the WordPress as own Twitter API server. If you are a theme developer, you can easily customize the template for the tweet outputs. Just copy the existing template and modify the copied files and rename the template name. Then place the copied folder into the theme folder. And there you go! Your own template will be listed in the plugin’s setting page. This way, when the plugin updates, you won’t loose your modifications. Features

安装:

Install
  1. Upload fetch-tweets.php and other files compressed in the zip folder to the /wp-content/plugins/ directory.,
  2. Activate the plugin through the 'Plugins' menu in WordPress.
How to Use
  1. Authenticate the plugin via Dashboard -> Fetch Tweets -> Settings ( -> Authentication ( the default tab ) ) -> the Connect button.
  2. Set a rule via Dashboard -> Fetch Tweets -> Add Rule by USer Name / Add Rule by Keyword Search.
  3. To use it as a widget, go to Appearance -> Widgets and add Fetch Tweets by Rule Set to the desired sidebar. And select the rule in the widget form.
  4. To use the shortcode to display tweets in posts and pages, simply enter the shortcode like below in the post, [fetch_tweets id="123"]
where 123 is the rule ID you just created. The ID can be found in the Fetch Tweets page in the administration panel. Go to the Other Notes section for more usage details.

屏幕截图:

  • ***Twitter Template (Dark) ***
  • ***Twitter Template (Light) ***
  • ***Tweets Displayed in Page and Sidebar***
  • ***Fetching Rule Listing Table***
  • ***Widget Settings***
  • ***Manage Templates***
  • ***Authentication***

其他记录:

Shortcode and Function Parameters The following parameters can be used for the shortcode or the PHP function of the plugin, fetchTweets() [fetch_tweets id="123"] <?php fetchTweets( array( 'id' => 123 ) ); ?> In order to set multiple IDs, pass them with commas as the delimiter. e.g. [fetch_tweets id="123, 234, 345"] <?php fetchTweets( array( 'id' => '123, 234, 345' ) ); ?> [fetch_tweets tag="WordPress"] <?php fetchTweets( array( 'tag' => 'WordPress' ) ); ?> In order to set multiple tags, pass them with commas as the delimiter. e.g. [fetch_tweets tag="WordPress, developer"] <?php fetchTweets( array( 'tag' => 'WordPress, developer' ) ); ?> [fetch_tweets tag="WordPress, PHP, JavaScript" operator="IN" ] <?php fetchTweets( array( 'tag' => 'WordPress, PHP, JavaScript', 'operator' => 'IN' ) ); ?> [fetch_tweets tag="developer" operator="NOT IN" ] <?php fetchTweets( array( 'tag' => 'developer', 'operator' => 'NOT IN' ) ); ?> [fetch_tweets q="#wordpress" lang="en"] <?php fetchTweets( array( 'q' => '#wordpress', 'lang' => 'en' ) ); ?> [fetch_tweets screen_name="WordPress,photomatt"] <?php fetchTweets( array( 'screen_name' => 'WordPress,photomatt' ) ); ?> [fetch_tweets id="456, 567" count="10" ] <?php fetchTweets( array( 'id' => '456, 567', 'count' => 10 ) ); ?> [fetch_tweets id="678" count="8" avatar_size="96" ] <?php fetchTweets( array( 'id' => 678, 'count' => 8, 'avatar_size' => 96 ) ); ?> [fetch_tweets id="678" twitter_media="0" external_media="1" ] <?php fetchTweets( array( 'id' => 678, twitter_media="0" external_media="1" ) ); ?> [fetch_tweets get="1" ] <?php fetchTweets( array( 'get' => true, ) ); ?> Then access the page that has the shortcode or the page by passing the arguments in the url. http://your-site.domain/page-slug/?screen_name=miunosoft http://your-site.domain/page-slug/?q=wordpress How to Create Own Template Step 1 Copy the folder named plain or single in the plugin's template folder. Rename the copied folder to something you like. Step 2 Edit the following files. In the style.css file, include the comment area ( with / / ) at the top of the file with the following entries. e.g. ` /** Include a thumbnail image. Prepare an image with the name screenshot.jpg, screenshot.png, or screenshot.gif, and place the image in the working(copied in step 1) folder. Step 4 Create a folder named fetch-tweets in the theme folder. If you use, for instance, Twenty Twelve, the location would be .../wp-content/themes/twentytwelve/fetch-tweets/. Place the working folder (the copied and renamed one in step 1) in there. The plugin will automatically detect it and the template will be listed in the Template page of the admin page. Optionally, a template can be added via a plugin. If you do so, add the template directory with the fetch_tweets_filter_template_directories filter hook. e.g. ` function FetchTweets_AddSampleTemplateDirPath( $aDirPaths ) { // Add the template directory to the passed array. $aDirPaths[] = dirname( FILE ) . DIRECTORY_SEPARATOR . 'sample'; return $aDirPaths; } add_filter( 'fetch_tweets_filter_template_directories', 'FetchTweets_AddSampleTemplateDirPath' ); ` An example template is available here.

更新日志:

2.6.4 - 09/17/2018 2.6.3 - 03/13/2017 2.6.2 - 12/24/2016 2.6.1 - 12/22/2016 2.6.0 - 11/28/2016 2.5.3 - 11/25/2016 2.5.2 - 11/23/2016 2.5.1 - 11/20/20106 2.5.0 - 11/19/2016 2.4.9 - 04/25/2015 2.4.8 - 04/17/2015 2.4.7 - 04/11/2015 2.4.6 - 02/08/2015 2.4.5 - 02/03/2015 2.4.4 - 01/16/2015 2.4.3 - 01/15/2015 2.4.2 - 01/12/2015 2.4.1 - 12/06/2014 2.4.0 - 12/06/2014 2.3.9 - 11/30/2014 2.3.8 - 10/16/2014 2.3.7 - 08/31/2014 2.3.6 - 08/27/2014 2.3.5 - 08/25/2014 2.3.4 - 05/15/2014 2.3.3 - 05/14/2014 2.3.2 - 05/04/2014 2.3.1 - 05/03/2014 2.3.0 - 05/01/2014 2.2.1 - 04/26/2014 2.2.0 - 04/24/2014 2.1.1.1 - 03/25/2014 2.1.1 - 03/25/2014 2.1 - 03/23/2014 2 - 03/19/2014 1.3.5.1 - 03/06/2014 1.3.5 - 03/06/2014 1.3.4.1 - 03/05/2014 1.3.4 - 02/28/2014 1.3.3.11 - 02/26/2014 1.3.3.10 - 02/21/2014 1.3.3.9 - 02/02/2014 1.3.3.8 - 02/01/2014 1.3.3.7 - 01/26/2014 1.3.3.6 - 01/15/2014 1.3.3.5 - 01/10/2014 1.3.3.4 - 12/17/2013 1.3.3.3 - 12/12/2013 1.3.3.2 - 11/20/2013 1.3.3.1 - 11/13/2013 1.3.3 - 11/07/2013 1.3.2.1 - 10/30/2013 1.3.2 - 10/02/2013 1.3.1 - 09/30/2013 1.3.0 - 09/27/2013 1.2.0 - 09/21/2013 1.1.1 - 09/08/2013 1.1.0 - 08/18/2013 1.0.1 - 07/29/2013 1.0.0.3 - 07/23/2013 1.0.0.2 - 07/22/2013 1.0.0.1 - 07/21/2013 1.0.0 - 07/20/2013