Version Description
Download this release
Release Info
Developer | stormuk |
Plugin | oAuth Twitter Feed for Developers |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- StormTwitter.class.php +1 -1
- twitter-feed-for-developers.php +11 -9
StormTwitter.class.php
CHANGED
@@ -69,7 +69,7 @@ class StormTwitter {
|
|
69 |
unlink($file);
|
70 |
return false;
|
71 |
}
|
72 |
-
if ($cache['time'] < (time() -
|
73 |
$result = $this->oauthGetTweets();
|
74 |
if (!isset($result['errors'])) {
|
75 |
return $result;
|
69 |
unlink($file);
|
70 |
return false;
|
71 |
}
|
72 |
+
if ($cache['time'] < (time() - 3600)) {
|
73 |
$result = $this->oauthGetTweets();
|
74 |
if (!isset($result['errors'])) {
|
75 |
return $result;
|
twitter-feed-for-developers.php
CHANGED
@@ -1,14 +1,16 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
12 |
*/
|
13 |
|
14 |
|
1 |
<?php
|
2 |
/*
|
3 |
+
* Plugin Name: oAuth Twitter Feed for Developers
|
4 |
+
* Description: Twitter API 1.1 compliant plugin that provides a function to get an array of tweets from the auth'd users Twitter feed for use in themes.
|
5 |
+
* Contributors: stormuk, lgladdy
|
6 |
+
* Donate link: http://www.stormconsultancy.co.uk/
|
7 |
+
* Tags: twitter, oauth, feed
|
8 |
+
* Requires at least: 3.4
|
9 |
+
* Tested up to: 3.5
|
10 |
+
* Stable tag: 1.0
|
11 |
+
* Version: 1.0
|
12 |
+
* License: MIT
|
13 |
+
* License URI: http://opensource.org/licenses/MIT
|
14 |
*/
|
15 |
|
16 |
|