hoblin / x-tracker

Stats analysis tool for selected tweets.
MIT License
12 stars 2 forks source link

Aggregate account posting activity #19

Open sorenr opened 11 months ago

sorenr commented 11 months ago

Immediate problem: I'm looking to make a heat map for an account's posting activity. "9-5 Moscow time" vs "evenings and weekends".

Most straightforward solution would take an account name and a start/end range and return a list of timestamps. (I can do the binning myself, and might want to do the binning in a special way.)

A more flexible solution might be to return a particular attribute of that tweet. (Timestamp, tweet length, tweet content, reply ID, reply userID.) You could expand functionality by implementing new return types as needed.

Or just return a list of tweet structs and let the user attributes. (Might return a lot of data.)

hoblin commented 11 months ago

We will need a separate tracker script for that. The one which will go through user's timeline and record all post timestamps. But I like an idea.