{"id":21657,"date":"2013-01-21T04:28:31","date_gmt":"2013-01-21T04:28:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/rapid-twitter-widget\/"},"modified":"2015-08-08T08:59:58","modified_gmt":"2015-08-08T08:59:58","slug":"rapid-twitter-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/rapid-twitter-widget\/","author":1260288,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3","stable_tag":"1.3","tested":"4.3.34","requires":"3.4.2","requires_php":"","requires_plugins":"","header_name":"Rapid Twitter Widget","header_author":"Peter Wilson, Floate Design Partners","header_description":"","assets_banners_color":"","last_updated":"2015-08-08 08:59:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":4.2,"author_block_rating":0,"active_installs":100,"downloads":19195,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.3":"<p>Compatibility with WordPress 4.3<\/p>","1.2.1":"<p>*** ESSENTIAL UPGRADE *** Fixes XSS bug<\/p>","1.2":"<p>Upgrade to work with new Twitter API. Visit the settings page following upgrade to create your Twitter <a href=\"https:\/\/dev.twitter.com\/apps\/new\">application<\/a>.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.3.1","0.3.2","0.3.3","1.0","1.1","1.2","1.2.1","1.3","v0.1","v0.2","v0.3","v0.3.1","v0.3.2","v0.3.3","v1.0","v1.1","v1.2","v1.2.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2080,159,162],"plugin_category":[43,56],"plugin_contributors":[82825],"plugin_business_model":[],"class_list":["post-21657","plugin","type-plugin","status-closed","hentry","plugin_tags-tweets","plugin_tags-twitter","plugin_tags-widget","plugin_category-customization","plugin_category-social-and-sharing","plugin_contributors-peterwilsoncc","plugin_committers-peterwilsoncc","plugin_committers-peterwilsoncc-syncbot"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/rapid-twitter-widget.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Display your latest tweets in a WordPress widget without slowing your\nwebsite.<\/p>\n\n<p>The Rapid Twitter Widget doesn't apply any styling to your website, giving\nyou complete control over the look.<\/p>\n\n<p>Tweets and your content are loaded separately to ensure a delayed response\nfrom Twitter doesn't slow down your website.<\/p>\n\n<p>Now compatibile with Version 1.1 of the Twitter API.<\/p>\n\n<p><a href=\"http:\/\/app.net\/\">App.net<\/a> users might like the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/rapid-adn-widget\/\">Rapid ADN Widget<\/a>.<\/p>\n\n<h3>Development on GitHub<\/h3>\n\n<p>Development of this plugin is taking place in a \n<a href=\"https:\/\/github.com\/peterwilsoncc\/rapid-twitter-widget\">GitHub repository<\/a>.<\/p>\n\n<p>Only tagged releases will be added to the WordPress.org svn repository.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go the the settings page ( Settings &gt; Rapid Twitter Widget ) for instructions on setting up the Twitter API.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I customise the HTML output?<\/dt>\n<dd><p>Yes, you can create the JavaScript function <code>RapidTwitter.generate_html<\/code> and\nthe Rapid Twitter Widget will defer to your custom script.<\/p>\n\n<p>Your custom function will need to be defined prior to the Rapid Twitter \nWidget JavaScript file loading.<\/p>\n\n<p>Start your file:<\/p>\n\n<pre><code>if(typeof(RapidTwitter)=='undefined'){RapidTwitter={};}\n\nRapidTwitter.generate_html = function (screen_name, tweets) {\n    return '&lt;li&gt;Hello&lt;\/li&gt;';\n}\n<\/code><\/pre>\n\n<p>You can convert Twitter entities by calling the \nfunction <code>RapidTwitter.process_entities( tweet )<\/code> and obtain the relative time\nwith the function <code>RapidTwitter.relative_time(time)<\/code>.<\/p><\/dd>\n<dt>Why have you re-written the Wickett Twitter Widget plugin?<\/dt>\n<dd><p>The Wickett Twitter Widget has been grandfathered by Automattic and moved \ninto their mega-plugin Jetpack. I like the simplicity of the Twitter widget \nbut do not wish to use other Jetpack features.<\/p>\n\n<p>I switched to using JavaScript to load tweets as the original widget could \nslow down page load if Twitter's API was taking too long to respond.<\/p><\/dd>\n<dt>Can multiple instances of the widget be used?<\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt>Can private Twitter accounts be used?<\/dt>\n<dd><p>No. The widget does not support authenticated requests for private data.<\/p><\/dd>\n<dt>I see less than the requested number of Tweets displayed<\/dt>\n<dd><p>Twitter may return less than the requested number of Tweets if the \nrequested account has a high number of @replies in its user timeline.<\/p><\/dd>\n<dt>What's with the strange class names like .tweet__mention and .tweet__mention--reply?<\/dt>\n<dd><p>The widget uses the BEM naming convention for class names, which has been \nnicely <a href=\"https:\/\/gist.github.com\/1309546\">summarised by Nicolas Gallagher<\/a>.<\/p>\n\n<p>They're a little strange at first but I find them surprisingly useful.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Removes cross-site scripting bug reported by Sjoerd Koelewijn<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Uses version 1.1 of the Twitter API.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixes bug preventing multiple widgets appearing on a single page.<\/li>\n<\/ul>\n\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>Store the widget HTML element on page load. Earlier version presumed\nclass names that may not exist.<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Suppress http error code and check myself<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Use timesince class on datestamp for backward compatibility<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Add trimmed user flag to API call. <\/li>\n<li>Add version constant<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Add tweet entities<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial version duplicating Automattic's original.<\/li>\n<\/ul>","raw_excerpt":"Display tweets from one or more Twitter accounts using a WordPress widget. Compatible with version 1.1 of the Twitter API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21657"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/peterwilsoncc"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21657"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21657"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21657"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21657"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21657"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}