Open GoogleCodeExporter opened 8 years ago
Same with 60 second sleep, 50 seconds... etc... only to say that's not a session
problem :)
Original comment by Metal3d
on 6 Nov 2009 at 3:42
mmmm maybe I found what's append.
I changed:
last_id=s.id
by
last_id=str(s.id)
I suppose that GetFriendsTimeline() takes status_id as string and not as int.
Script
is running for 40 minutes, no crash !
Are you ok with this ?
Original comment by Metal3d
on 6 Nov 2009 at 4:02
In hindsight, I should probably have made user.id a string. In the dev branch
(which
defines those with protocol buffers) it's actually a uint64.
But yes, casting that to a str in your code should be fine.
Original comment by dclinton
on 6 Nov 2009 at 4:09
It's not really user.id but status.id, in fact I get status from the last I get
in
first iteration.
It's ok, I did modifications and it works fine. Thanks.
You can close this bug report I think :)
Original comment by Metal3d
on 6 Nov 2009 at 4:23
Original issue reported on code.google.com by
Metal3d
on 6 Nov 2009 at 3:39