Version Description
Download this release
Release Info
Developer | stormuk |
Plugin | oAuth Twitter Feed for Developers |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- README.md +14 -27
- readme.txt +52 -9
- twitter-feed-for-developers.php +7 -11
README.md
CHANGED
@@ -1,17 +1,5 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
Donate link: http://www.stormconsultancy.co.uk/
|
4 |
-
Tags: twitter, oauth, feed, tweets
|
5 |
-
Requires at least: 3.4
|
6 |
-
Tested up to: 3.5
|
7 |
-
Stable tag: 1.0.4
|
8 |
-
Version: 1.0.4
|
9 |
-
License: MIT
|
10 |
-
License URI: http://opensource.org/licenses/MIT
|
11 |
-
|
12 |
-
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.
|
13 |
-
|
14 |
-
== Description ==
|
15 |
|
16 |
A Twitter API 1.1 compliant wordpress plugin that provides an array of a users timeline from Twitter for use by theme developers.
|
17 |
|
@@ -23,7 +11,8 @@ This plugin wraps our Twitter class and provides a settings screen for easy inte
|
|
23 |
|
24 |
This plugin does not provide sidebar widgets, shortcodes or any other form of drop-in functionality. You still need to do the styling, we've just done the heavy lifting for you!
|
25 |
|
26 |
-
|
|
|
27 |
|
28 |
Install the plugin using the plugin manager, or upload the files to your wp-content/plugins directory.
|
29 |
|
@@ -50,18 +39,21 @@ You can specify a number of tweets to return (up to 20) by passing a parameter t
|
|
50 |
|
51 |
Results are cached for 1 hour to help you avoid hitting the API limits.
|
52 |
|
53 |
-
|
|
|
54 |
|
55 |
* Move the screen name from the settings page to a function parameter so you can use the plugin to request different timelines
|
56 |
* Make the cache duration configurable
|
57 |
|
58 |
-
|
|
|
59 |
|
60 |
Uses Abraham Williams's Twitter OAuth class.
|
61 |
|
62 |
-
|
|
|
63 |
|
64 |
-
Version: 1.0.
|
65 |
|
66 |
Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
|
67 |
|
@@ -69,7 +61,8 @@ Storm Consultancy are a web design and development agency based in Bath, UK.
|
|
69 |
|
70 |
If you are looking for a [Bath WordPress Developer](http://www.stormconsultancy.co.uk/services/bath-wordpress-developers), then [get in touch](http://www.stormconsultancy.co.uk/contact)!
|
71 |
|
72 |
-
|
|
|
73 |
|
74 |
Copyright (c) 2012 Storm Consultancy (EU) Ltd,
|
75 |
<http://www.stormconsultancy.co.uk/>
|
@@ -91,10 +84,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
91 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
92 |
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
93 |
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
94 |
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
95 |
-
|
96 |
-
== Changelog ==
|
97 |
-
|
98 |
-
= 1.0.4 =
|
99 |
-
* Make the plugin actually work properly!
|
100 |
-
* Correct documentation files for inclusion by wordpress
|
1 |
+
Storm Twitter Feed for WordPress
|
2 |
+
================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
A Twitter API 1.1 compliant wordpress plugin that provides an array of a users timeline from Twitter for use by theme developers.
|
5 |
|
11 |
|
12 |
This plugin does not provide sidebar widgets, shortcodes or any other form of drop-in functionality. You still need to do the styling, we've just done the heavy lifting for you!
|
13 |
|
14 |
+
Installation
|
15 |
+
============
|
16 |
|
17 |
Install the plugin using the plugin manager, or upload the files to your wp-content/plugins directory.
|
18 |
|
39 |
|
40 |
Results are cached for 1 hour to help you avoid hitting the API limits.
|
41 |
|
42 |
+
TODO
|
43 |
+
====
|
44 |
|
45 |
* Move the screen name from the settings page to a function parameter so you can use the plugin to request different timelines
|
46 |
* Make the cache duration configurable
|
47 |
|
48 |
+
Credits
|
49 |
+
=======
|
50 |
|
51 |
Uses Abraham Williams's Twitter OAuth class.
|
52 |
|
53 |
+
About
|
54 |
+
=====
|
55 |
|
56 |
+
Version: 1.0.5
|
57 |
|
58 |
Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
|
59 |
|
61 |
|
62 |
If you are looking for a [Bath WordPress Developer](http://www.stormconsultancy.co.uk/services/bath-wordpress-developers), then [get in touch](http://www.stormconsultancy.co.uk/contact)!
|
63 |
|
64 |
+
License
|
65 |
+
=======
|
66 |
|
67 |
Copyright (c) 2012 Storm Consultancy (EU) Ltd,
|
68 |
<http://www.stormconsultancy.co.uk/>
|
84 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
85 |
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
86 |
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
87 |
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
=== oAuth Twitter Feed for Developers ===
|
2 |
Contributors: stormuk, lgladdy
|
3 |
Donate link: http://www.stormconsultancy.co.uk/
|
4 |
-
Tags: twitter, oauth, feed
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.5
|
7 |
-
Stable tag: 1.0.
|
|
|
8 |
License: MIT
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
@@ -36,14 +37,14 @@ Now, anywhere in your theme files you can call the `getTweets()` function to ret
|
|
36 |
|
37 |
You can then loop over the array and do whatever you want with it.
|
38 |
|
39 |
-
`<?php
|
40 |
-
|
41 |
-
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
?>`
|
47 |
|
48 |
You can specify a number of tweets to return (up to 20) by passing a parameter to the function. For example, to display just the latest tweet you'd request `getTweets(1)`
|
49 |
|
@@ -54,7 +55,49 @@ Results are cached for 1 hour to help you avoid hitting the API limits.
|
|
54 |
* Move the screen name from the settings page to a function parameter so you can use the plugin to request different timelines
|
55 |
* Make the cache duration configurable
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
== Changelog ==
|
58 |
|
|
|
|
|
|
|
|
|
59 |
= 1.0 =
|
60 |
* First version
|
1 |
=== oAuth Twitter Feed for Developers ===
|
2 |
Contributors: stormuk, lgladdy
|
3 |
Donate link: http://www.stormconsultancy.co.uk/
|
4 |
+
Tags: twitter, oauth, feed, tweets
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.5
|
7 |
+
Stable tag: 1.0.5
|
8 |
+
Version: 1.0.5
|
9 |
License: MIT
|
10 |
License URI: http://opensource.org/licenses/MIT
|
11 |
|
37 |
|
38 |
You can then loop over the array and do whatever you want with it.
|
39 |
|
40 |
+
`<?php
|
41 |
+
$tweets = getTweets();
|
42 |
+
var_dump($tweets);
|
43 |
|
44 |
+
foreach($tweets as $tweet){
|
45 |
+
var_dump($tweet);
|
46 |
+
}
|
47 |
+
?>`
|
48 |
|
49 |
You can specify a number of tweets to return (up to 20) by passing a parameter to the function. For example, to display just the latest tweet you'd request `getTweets(1)`
|
50 |
|
55 |
* Move the screen name from the settings page to a function parameter so you can use the plugin to request different timelines
|
56 |
* Make the cache duration configurable
|
57 |
|
58 |
+
== Credits ==
|
59 |
+
|
60 |
+
Uses Abraham Williams's Twitter OAuth class.
|
61 |
+
|
62 |
+
== About ==
|
63 |
+
|
64 |
+
Version: 1.0.5
|
65 |
+
|
66 |
+
Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
|
67 |
+
|
68 |
+
Storm Consultancy are a web design and development agency based in Bath, UK.
|
69 |
+
|
70 |
+
If you are looking for a [Bath WordPress Developer](http://www.stormconsultancy.co.uk/services/bath-wordpress-developers), then [get in touch](http://www.stormconsultancy.co.uk/contact)!
|
71 |
+
|
72 |
+
== License ==
|
73 |
+
|
74 |
+
Copyright (c) 2012 Storm Consultancy (EU) Ltd,
|
75 |
+
<http://www.stormconsultancy.co.uk/>
|
76 |
+
|
77 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
78 |
+
a copy of this software and associated documentation files (the
|
79 |
+
"Software"), to deal in the Software without restriction, including
|
80 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
81 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
82 |
+
permit persons to whom the Software is furnished to do so, subject to
|
83 |
+
the following conditions:
|
84 |
+
|
85 |
+
The above copyright notice and this permission notice shall be
|
86 |
+
included in all copies or substantial portions of the Software.
|
87 |
+
|
88 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
89 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
90 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
91 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
92 |
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
93 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
94 |
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
95 |
+
|
96 |
== Changelog ==
|
97 |
|
98 |
+
= 1.0.4 =
|
99 |
+
* Make the plugin actually work properly!
|
100 |
+
* Correct documentation files for inclusion by wordpress
|
101 |
+
|
102 |
= 1.0 =
|
103 |
* First version
|
twitter-feed-for-developers.php
CHANGED
@@ -1,16 +1,12 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
* Stable tag: 1.0.4
|
11 |
-
* Version: 1.0.4
|
12 |
-
* License: MIT
|
13 |
-
* License URI: http://opensource.org/licenses/MIT
|
14 |
*/
|
15 |
|
16 |
|
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 |
+
Version: 1.0.5
|
6 |
+
License: MIT
|
7 |
+
License URI: http://opensource.org/licenses/MIT
|
8 |
+
Author: Storm Consultancy (Liam Gladdy)
|
9 |
+
Author URI: http://www.stormconsultancy.co.uk
|
|
|
|
|
|
|
|
|
10 |
*/
|
11 |
|
12 |
|