I realized that my daily twitter blog entries simply showed the last 20 entires, regardless of date. Essentially they were listing all of the entries on the first page of the RSS feed regardless of what was passed in the since variable. I looked at twitter's API and could find no since REST var, so I'm not certain if it is simply no longer around.
I altered the if statement on line 125 to reflect this:
if ($created_time > $end || $created_time < $start) {
That makes it so that (while there may be older items in the RSS feed) it ignores anything older than the beginning of yesterday and does not add it to the blog post.
This made me realize that if a person is a prolific twitterer, with more than 20 posts a day it won't get the first ones and it should probably keep going back through the pages until it finds a date older than yesterday midnight.
Comments
Comment #1
hunterjones commentedI really don't know anything about php, but I tried the above line and no blog posts,
I tried some other time modifications but still can't get the desired result.
With this
if ($created_time > $end || $created_time < $start) {I don't get any blog posts.
Comment #2
jadestorm commentedWell for what it's worth, I intend to rework the way I'm handling that entirely. There's too much room for "missing stuff" in the way I'm doing it now. =/
Comment #3
soyarma commentedHey jadestorm, let me know if you want someone to test it out. I may take a stab at it in a week or so as well, I'll let you know if I do.
Comment #4
slavikt commentedIs there any progress on this issue?
Comment #5
jadestorm commentedSo far I haven't actually been able to reproduce it happening, so I don't have a good way to test if it's "fixed". I take it you are seeing the same thing?
Comment #6
jadestorm commentedHey as an update, I'm seeing that myself nowadays... the last three tweets I've done are showing up every day. I'm not sure if something has changed in drupal since I wrote this, or what the deal is, but clearly something is amiss =(
Comment #7
jadestorm commentedThis is fixed in trunk now!