From 2376371d7668d2f16ab2e9a8c94c687cb66f092a Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 4 Aug 2023 13:08:15 -0400 Subject: [PATCH] update twitter import again, from tom --- import.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/import.go b/import.go index 8ac5c34..7dfbe6e 100644 --- a/import.go +++ b/import.go @@ -338,7 +338,7 @@ func importTwitter(username, source string) { } var tweets []*Tweet - fd, err := os.Open(source + "/tweet.js") + fd, err := os.Open(source + "/tweets.js") if err != nil { elog.Fatal(err) } @@ -375,11 +375,6 @@ func importTwitter(username, source string) { continue } - if t.Tweet.FavoriteCount == "0" || t.Tweet.FavoriteCount == "" { - log.Printf("skipping, unworthy tweet") - continue - } - what := "honk" noise := "" if parent := tweetmap[t.Tweet.InReplyToStatusID]; parent != nil {