|
|
@ -23,7 +23,17 @@ func getUser(client *twitter.Client) { |
|
|
|
Count: 200, |
|
|
|
}) |
|
|
|
|
|
|
|
fmt.Println("word count") |
|
|
|
analyzeWords(tweets) |
|
|
|
|
|
|
|
analyzeDates(tweets) |
|
|
|
|
|
|
|
fmt.Println(" ") |
|
|
|
fmt.Print("first tweet analyzed: ") |
|
|
|
fmt.Println(tweets[len(tweets)-1].CreatedAt) |
|
|
|
fmt.Print("last tweet analyzed: ") |
|
|
|
fmt.Println(tweets[0].CreatedAt) |
|
|
|
|
|
|
|
fmt.Println(" ") |
|
|
|
fmt.Println("User @" + username + " analysis finished") |
|
|
|
} |