Commit graph

10 commits

Author SHA1 Message Date
Carl Chenet 3f6646d87b if a user has a linked twitter account, give them attribution 2017-05-23 10:44:20 +02:00
Carl Chenet 04c94e6f19 post_to_twitter: clarify MIN_STORY_SCORE is a minimum 2017-05-23 10:42:49 +02:00
joshua stein 64a2411bea post_to_twitter: handle 226 errors
Twitter rejects certain tweets with particular content that it
thinks is spam, and since it doesn't change over multiple
submissions, just skip them.
2016-08-19 00:00:18 -05:00
joshua stein 21a5152acf post_to_twitter: only count extensions with letters as domains 2016-05-02 17:56:56 -05:00
joshua stein 9d371b72d6 post_to_twitter: guess anything with a dot and up to 10 letters is a domain 2016-02-17 14:21:56 -06:00
joshua stein b4444c58c9 twitter stupidly "shortens" find.com into http://t.co/u44JiITiuc, cope
try to pluck out simple urls in basic tlds and treat their length as
a t.co url if it's longer than the url being shortened

of course this will not catch all urls, but i'm not going to load a
whole suffix list or library just to deal with this stupid shit
2015-04-17 09:16:08 -05:00
joshua stein 73eb9ae662 post_to_twitter: only post stories once they have reached a vote threshold
This drops storing twitter:last_story_id in Keystore and stores each
story's tweet id, so we can query which stories meet the threshold
and haven't been posted to twitter yet.
2015-02-05 09:58:49 -06:00
joshua stein 6aba206eba post_to_twitter: start logging twitter ids now for an upcoming change 2015-01-27 12:14:26 -06:00
joshua stein db411ff112 put story tags as hashtags on the twitterz 2015-01-06 17:31:44 -06:00
joshua stein 91b3fe77fe add twitter-posting script that has been running for a while
closes #124
2014-01-31 22:26:18 -06:00