Created
September 24, 2012 13:07
-
-
Save markcaudill/3775868 to your computer and use it in GitHub Desktop.
Import retweets as well as normal tweets in OZH's Twitter Archive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- import.php.orig 2012-09-24 13:03:05.294491900 +0000 | |
+++ import.php 2012-09-24 13:05:13.483351990 +0000 | |
@@ -17,7 +17,8 @@ | |
'count' => OZH_TA_BATCH, | |
'screen_name' => urlencode( $ozh_ta['screen_name'] ), | |
'page' => $ozh_ta['api_page'], | |
- 'since_id' => $ozh_ta['last_tweet_id_inserted'] | |
+ 'since_id' => $ozh_ta['last_tweet_id_inserted'], | |
+ 'include_rts' => 1 | |
), OZH_TA_API ); | |
ozh_ta_debug( "Polling $api" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment