Skip to content

Instantly share code, notes, and snippets.

@markcaudill
Created September 24, 2012 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markcaudill/3775868 to your computer and use it in GitHub Desktop.
Save markcaudill/3775868 to your computer and use it in GitHub Desktop.
Import retweets as well as normal tweets in OZH's Twitter Archive
--- 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