{"id":1697,"date":"2007-03-29T18:37:16","date_gmt":"2007-03-29T18:37:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simpletwitter\/"},"modified":"2007-03-29T19:57:57","modified_gmt":"2007-03-29T19:57:57","slug":"simpletwitter","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/simpletwitter\/","author":167965,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"1.1","tested":"2.0.5","requires":"2.0.5","requires_php":"","requires_plugins":"","header_name":"SimpleTwitter","header_author":"David Wood","header_description":"","assets_banners_color":"","last_updated":"2007-03-29 19:57:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.sleepydisco.co.uk\/plugins\/simpletwitter\/","header_author_uri":"http:\/\/www.sleepydisco.co.uk\/","rating":1,"author_block_rating":0,"active_installs":20,"downloads":10492,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2305,850,1378,56974,159],"plugin_category":[56],"plugin_contributors":[86857],"plugin_business_model":[],"class_list":["post-1697","plugin","type-plugin","status-closed","hentry","plugin_tags-badge","plugin_tags-rss","plugin_tags-simple","plugin_tags-simpletwitter","plugin_tags-twitter","plugin_category-social-and-sharing","plugin_contributors-sleepydisco","plugin_committers-scjudd","plugin_committers-sleepydisco"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simpletwitter.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>SimpleTwitter allows Wordpress blog owners to add Twitter messages to their templates. \nOnce installed, the plug-in is used by adding the following call in a template.<\/p>\n\n<pre><code>&lt;?php get_twitter_msg(); ?&gt;\n<\/code><\/pre>\n\n<p>There's no formatting. All this returns is the plain text that is the most recent \nTwitter post found for the configured Twitter user. The message will be cached for the \nconfigured number of minutes. After this time, Twitter is checked for new messages.<\/p>\n\n<p>All configuration is done through wp-admin. No code editing is necessary.<\/p>\n\n<h4>A note about cURL<\/h4>\n\n<p>SimpleTwitter uses the cURL php libraries to make requests to twitter.com. If cURL is\nnot available this will be indicated in the wp-admin interface will, and the \n    get_twitter_msg() function will return nothing. This should degrade gracefully, so you \nshould not experience php errors.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>simple_twitter.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin though the `Plugins' menu in WordPress wp-admin<\/li>\n<li>Configure the plugin through the `Options -&gt; SimpleTwitter' menu in WordPress wp-admin:\n3a. Add a twitter user id for the messages you want to show\n3b. Specify a time in minutes, for how long the SimpleTwitter should cache the tweet<\/li>\n<li>Place <code>&lt;?php get_twitter_msg(); ?&gt;<\/code> where you would like the message to appear<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What is my twitter user id?<\/dt>\n<dd><p>Your twitter user id is the user name that you used to sign up to twitter.<\/p><\/dd>\n<dt>Can I use any twitter id?<\/dt>\n<dd><p>Yes. Anything that resolves to http:\/\/twitter.com\/twitter_id\/ can be used.<\/p><\/dd>\n<dt>Why not just use the Javascript badge?<\/dt>\n<dd><p>The javascript badge makes a call to twitter.com <em>every<\/em> time a page is requested. SimpleTwitter \ncaches the tweet for a few minutes, so your web pages should be complete faster.<\/p><\/dd>\n<dt>I've just posted to twitter. Why isn't my tweet showing?<\/dt>\n<dd><p>This will be because of the cache. This will always be a compromise between instantly updating \nyour website with the most recent message, and always serving a complete webpage to your visitors.<\/p><\/dd>\n<dt>Why does my web page occasionally takes a long time to load?<\/dt>\n<dd><p>SimpleTwitter runs before a page has finished loading. If the cache has expired, a \nrequest to twitter.com will be made. Depending on how busy twitter.com is, it may \ntake a while to respond. There is a fairly small time out set in the plugin, which should\nrestrict the time it waits for a response to an acceptable level. If twitter.com hasn't responed\nin this time, the cache will not update and the old message will be displayed. Remember, it should\nonly have to do this after the number of minutes configured in wp-admin.<\/p><\/dd>\n<dt>How long is the length of the time out?<\/dt>\n<dd><p>A connection has to be made to twitter.com within 4 seconds. A response has to be received within\n8 seconds.<\/p><\/dd>\n<dt>Can I change the length of the request time out?<\/dt>\n<dd><p>Not yet, no.<\/p><\/dd>\n<dt>How do I show the time of the tweet?<\/dt>\n<dd><p>You can't just yet. This isn't called SimpleTwitter for nothing!<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"SimpleTwitter displays the most recent twitter post (tweet) for a given user. The tweet \nis cached on the webserver for a number of minutes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1697","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=1697"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sleepydisco"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1697"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1697"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1697"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1697"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1697"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}