|
|
|
@ -339,7 +339,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)
|
|
|
|
|
}
|
|
|
|
@ -376,11 +376,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 {
|
|
|
|
|