update twitter import again, from tom
This commit is contained in:
parent
79756a6b0f
commit
2376371d76
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue