{"id":21219,"date":"2012-12-17T07:51:53","date_gmt":"2012-12-17T07:51:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/twitget\/"},"modified":"2015-09-15T11:56:12","modified_gmt":"2015-09-15T11:56:12","slug":"twitget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/twitget\/","author":9905372,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.3.8","stable_tag":"3.3.8","tested":"4.3.34","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Twitget","header_author":"Bostjan Cigan","header_description":"","assets_banners_color":"","last_updated":"2015-09-15 11:56:12","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=SKMW3BAC8KE52","header_plugin_uri":"http:\/\/bostjan-cigan.com\/plugins","header_author_uri":"http:\/\/bostjan-cigan.com","rating":4.8,"author_block_rating":0,"active_installs":300,"downloads":56522,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.0.1":"<p>Please urgently update, the plugin keeps updating itself because the version variable is not set correctly and it also slows down plugin performance.<\/p>","2.0":"<p>This upgrade deprecates all previous HTML fields (before, after, suffix, before tweet etc.) and instead uses the provided custom HTML output template.<\/p>\n\n<p>It also deprecates the use of the Twitter API 1.0, but the settings are still available.<\/p>"},"ratings":{"1":0,"2":0,"3":"1","4":"2","5":"19"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.3","1.3.1","1.3.2","2.0","2.0.1","2.1","2.1.1","2.1.2","2.1.3","2.1.4","2.2","2.2.1","2.2.2","3.0","3.1","3.2","3.3","3.3.1","3.3.2","3.3.3","3.3.4","3.3.5","3.3.6","3.3.7","3.3.8"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1567470","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1567470","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1567470","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1567470","resolution":"1","location":"plugin"}},"screenshots":{"1":"Twitter feed (widget in action on first blog)","2":"Twitter feed (widget in action on second blog)","3":"Twitget settings page","4":"Available variables for custom HTML output and example"}},"plugin_section":[],"plugin_tags":[30422,55735,159,3209,162],"plugin_category":[43,56],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-21219","plugin","type-plugin","status-closed","hentry","plugin_tags-custom-twitter","plugin_tags-simple-twitter-widget","plugin_tags-twitter","plugin_tags-twitter-widget","plugin_tags-widget","plugin_category-customization","plugin_category-social-and-sharing","plugin_committers-bostjancigan"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/twitget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/twitget\/trunk\/screenshot-1.png?rev=1567470","caption":"Twitter feed (widget in action on first blog)"},{"src":"https:\/\/ps.w.org\/twitget\/trunk\/screenshot-2.png?rev=1567470","caption":"Twitter feed (widget in action on second blog)"},{"src":"https:\/\/ps.w.org\/twitget\/trunk\/screenshot-3.png?rev=1567470","caption":"Twitget settings page"},{"src":"https:\/\/ps.w.org\/twitget\/trunk\/screenshot-4.png?rev=1567470","caption":"Available variables for custom HTML output and example"}],"raw_content":"<!--section=description-->\n<p>This is a simple widget that shows your recent tweets. It also supports caching, so you won't exceed the API call limit.<\/p>\n\n<p>What this plugin offers:<\/p>\n\n<ul>\n<li>Show your Twitter feed as a widget<\/li>\n<li>Customize number of shown tweets<\/li>\n<li>Customize if you want to show retweets or replies<\/li>\n<li>Show profile box<\/li>\n<li>Customize entire HTML output (and use custom variables to customize your feed output)<\/li>\n<li>Twitter API 1.1 support<\/li>\n<li>Show Twitter times in clients timezone<\/li>\n<li>Support for over 30 languages (date output)<\/li>\n<\/ul>\n\n<h3>Creating a Twitter application<\/h3>\n\n<p>To use the Twitter 1.1 API you need to create an application. Follow this Youtube tutorial to create it.<\/p>\n\n<p>[youtube http:\/\/www.youtube.com\/watch?v=noB3P-K-wb4]<\/p>\n\n<h3>Custom HTML output<\/h3>\n\n<p>You can fully customize your HTML output via variables. Some variables can only be used inside a feed loop, others anywhere. Before you output a Twitter feed, you must write the following:<\/p>\n\n<pre><code>{$tweets_start}\n\/\/ Your other data here ...\n{$tweets_end}\n<\/code><\/pre>\n\n<p>Once inside a loop, you can use any of the following variables:<\/p>\n\n<pre><code>{$tweet_text} - the text of the tweet\n{$tweet_time} - the time of the tweet\n{$tweet_location} - the location of the tweet (example: Budapest)\n{$retweet} - outputs a ready retweet link with the text Retweet, opens in new tab\n{$reply} - outputs a ready reply link with the text Reply, opens in new tab\n{$favorite} - outputs a favorite link with the text Favorite, opens in new tab\n{$retweet_link} - returns URL of retweet link\n{$reply_link} - returns URL of reply link\n{$favorite_link} - returns URL of favorite link\n{$tweet_link} - returns URL of tweet\n<\/code><\/pre>\n\n<p>Outside a loop or inside a loop you can use the following:<\/p>\n\n<pre><code>{$profile_image} - the url to the profile image of the user\n{$user_real_name} - the real name of the user\n{$user_twitter_name} - username of the twitter user\n{$url} - website url of the user\n{$user_description} - description of the user\n{$user_location} - user location\n{$follower_count} - number of followers\n{$friends_count} - number of friends\n{$profile_image_normal_url} - return URL of tweet profile image - 48x48 px size (if retweet in loop, returns original tweet profile image)\n{$profile_image_bigger_url} - return URL of tweet profile image - 73x73 px size (if retweet in loop, returns original tweet profile image)\n{$profile_image_mini_url} - return URL of tweet profile image - 24x24px size (if retweet in loop, returns original tweet profile image)\n{$profile_image_original_url} - return URL of tweet profile image - original size (if retweet in loop, returns original tweet profile image)\n<\/code><\/pre>\n\n<p>For example if you want to output Twitter text, a retweet link, a custom favorite link and some data behind the feed, you would do the following:<\/p>\n\n<pre><code>&lt;ul&gt;\n{$tweets_start}\n    &lt;li&gt;{$tweet_text}&lt;br \/&gt;on {$tweet_time}&lt;br \/&gt;{$retweet} | &lt;a href=\"{$favorite_link}\"&gt;Favorite this tweet&lt;\/a&gt;&lt;\/li&gt;\n{$tweets_end}\n&lt;\/ul&gt;\n\nI have {$follower_count} followers and {$friends_count} friends.\n<\/code><\/pre>\n\n<p>And this is basically it.<\/p>\n\n<h3>Author<\/h3>\n\n<p>The author of this plugin is Bostjan Cigan, visit the <a href=\"http:\/\/bostjan.gets-it.net\" title=\"homepage\">homepage<\/a>.<\/p>\n\n<h3>Thank you<\/h3>\n\n<p>A big thank you goes to all the people that take the time to post a support thread on the forum. It helps this plugin to stay alive and work as\nit should.<\/p>\n\n<p>I would also like to thank to the following Wordpress forum members that have helped me found and eradicated some nasty bugs:<\/p>\n\n<ul>\n<li><a href=\"http:\/\/wordpress.org\/support\/profile\/scuddr\" title=\"Scuddr\">Scuddr<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/support\/profile\/2unco\" title=\"2unco\">2unco<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/support\/profile\/tomdxw\" title=\"tomdxw\">tomdxw<\/a><\/li>\n<\/ul>\n\n<h3>Donators<\/h3>\n\n<p>Thank you to the following people who have donated so far:<\/p>\n\n<ul>\n<li>Aaron<\/li>\n<li>Corinne<\/li>\n<li>Civil Society Trust<\/li>\n<li>Kay Grant<\/li>\n<li>JD Kitchens<\/li>\n<li>Rachel Young<\/li>\n<\/ul>\n\n<p>I appreciate your support!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin directory to to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Customize the settings in Settings-&gt;Twitget<\/li>\n<li>Add the widget to the desired location or use a shortcode [twitget] in your posts<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>None at the moment.<\/p>\n\n<!--section=changelog-->\n<h4>3.3.8<\/h4>\n\n<ul>\n<li>[Bufix] Typo in method call. Please update immediately.<\/li>\n<\/ul>\n\n<h4>3.3.7<\/h4>\n\n<ul>\n<li>[Bugfix] Replaced deprecated widget call. Please update if using WordPress 4.3 or newer.<\/li>\n<\/ul>\n\n<h4>3.3.6<\/h4>\n\n<ul>\n<li>[Feature] Added option to use HTTPS wherever possible (avatar image URL).<\/li>\n<\/ul>\n\n<h4>3.3.5<\/h4>\n\n<ul>\n<li>[Fix] Updated widget constructor call.<\/li>\n<\/ul>\n\n<h4>3.3.4<\/h4>\n\n<ul>\n<li>[Fix] Small fix in time display.<\/li>\n<\/ul>\n\n<h4>3.3.3<\/h4>\n\n<ul>\n<li>[Fix] Fixed a small XSS security exploit (could only be done if a user had admin access to your blog).<\/li>\n<li>[Fix] Added nonce checking for form validation.<\/li>\n<\/ul>\n\n<h4>3.3.2<\/h4>\n\n<ul>\n<li>[Fix] Fixed URL parsing for media URLs.<\/li>\n<li>[Fix] Small array bug fix.<\/li>\n<\/ul>\n\n<h4>3.3.1<\/h4>\n\n<ul>\n<li>[Fix] Fixed a small feed time refresh bug.<\/li>\n<\/ul>\n\n<h4>3.3<\/h4>\n\n<ul>\n<li>[New] Added option to show original URLs instead of shortened ones<\/li>\n<li>[Fix] Fixed invalid parsing of some URLs in tweets<\/li>\n<li>[Fix] Fixed warning in date array<\/li>\n<li>Updated to latest tmhOAuth lib.<\/li>\n<\/ul>\n\n<h4>3.2<\/h4>\n\n<ul>\n<li>[Fix] Language fix for Norwegian<\/li>\n<li>[New] Added Finnish language.<\/li>\n<\/ul>\n\n<h4>3.1<\/h4>\n\n<ul>\n<li>[Fix] Fixed an encoding bug that caused settings to be wiped out if Twitter feed had \"special characters\"<\/li>\n<\/ul>\n\n<h4>3.0<\/h4>\n\n<ul>\n<li>[New] Added option to truncate tweets in output<\/li>\n<li>[New] Added option to show retweet profile image of original tweet<\/li>\n<li>[New] Added new variables for bigger profile images<\/li>\n<li>[New] Added language support<\/li>\n<li>[New] Added the option to choose which PHP API to use for Twitter API calls<\/li>\n<li>[Fix] Fixed a settings bug<\/li>\n<li>[Fix] Fixed shortcode, now returns instead of echoes value<\/li>\n<li>[Fix] Fixed script including<\/li>\n<li>Deprecated the 1.0 API option, as it is also officially deprecated<\/li>\n<li>Deprecated browser cookie for timezone<\/li>\n<li>Deprecated local time variable<\/li>\n<li>Tweet times are now defaultly shown in clients time with JQuery<\/li>\n<\/ul>\n\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>[Fix] Fixed another jQuery bug (now checking if jQuery is already included so there are no clashes).<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>[Fix] Fixed a jQuery bug (wouldn't load dates if client timezone was selected).<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>[New] Changed client timezone tweets setting, everything is done on client side now<\/li>\n<li>[Fix] Fixed a bug that caused settings to be unsaved.<\/li>\n<\/ul>\n\n<h4>2.1.4<\/h4>\n\n<ul>\n<li>[Fix] Fixed a small hash URL bug (wouldn't work if links would open in new window).<\/li>\n<\/ul>\n\n<h4>2.1.3<\/h4>\n\n<ul>\n<li>Replaced deprecated hashtag URL with new value.<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Added option to open Twitter feed links in new window.<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>[Fix] Fixed a shortcode &lt;? instead of &lt;?php problem.<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Added support to show tweet times in clients browser timezone.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>[Fix] Fixed an update bug, please update your plugin ASAP, because it can slow down performance.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>[New] Added new variables: reply, retweet, favorite, tweet link<\/li>\n<li>[New] Show times in local time<\/li>\n<li>[Fix] Fixed a bug if multiple plugins were using the same twitter class<\/li>\n<li>[Deprecated] Removed boxes before, after etc., custom HTML output is now the default value<\/li>\n<li>[Deprecated] API 1.0 is now deprecated<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Fixed update procedure, with less hassle<\/li>\n<li>Added shortcode support in posts.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fixed an installation\/update bug that resulted in unupdated values.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added the option to exclude replies<\/li>\n<li>Added the option to show relative time of tweets<\/li>\n<li>Added the option to fully customize html output.<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>[Fix] Sometimes retweets were cut or content was missing.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>[Fix] Fresh installation bug (missing values)<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>[Fix] Sometimes mentions were wrongly presented (@username? - question mark was present as username)<\/li>\n<li>[Fix] Sometimes hashes were wrongly presented<\/li>\n<li>[Fix] Ommited some things in the update process for faster updating.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>[Fix] At update, some options would not show<\/li>\n<li>[Fix] Old updates (1.2, 1.1) caused empty values at fresh install or update.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added the ability to include retweets in your feed.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added support for Twitter API 1.1.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>","raw_excerpt":"A simple widget that shows your recent tweets with fully customizable HTML output and Twitter API 1.1 support.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21219","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=21219"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/anonymized-9905372"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21219"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21219"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21219"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21219"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21219"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}