1
0
Fork 0

Hopefully collect retweets from Twitter. Untested functionality.

This commit is contained in:
Andrew Tomaka 2011-10-17 09:06:35 -04:00
parent 61f87baebc
commit 109be86bad
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ file_put_contents(DATA,json_encode($sourceData));
// Data sources
//***************************************************************************//
function twitter() {
$url = 'http://www.twitter.com/statuses/user_timeline/atomaka.json?count=1';
$url = 'http://www.twitter.com/statuses/user_timeline/atomaka.json?count=1&include_rts=true';
$tweetInfo = json_decode(file_get_contents($url));
// An empty result set currently (always?) means that the last post was