Update README
This commit is contained in:
parent
e1f3f48ae9
commit
d34f982b0d
1 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ go get -u github.com/n0madic/twitter-scraper
|
||||||
|
|
||||||
### Authentication
|
### Authentication
|
||||||
|
|
||||||
Authentication is required for all methods now!
|
Now all methods require authentication!
|
||||||
|
|
||||||
#### Login
|
#### Login
|
||||||
|
|
||||||
|
|
@ -111,7 +111,7 @@ func main() {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
It appears you can ask for up to 50 tweets (limit ~3200 tweets).
|
It appears you can ask for up to 50 tweets.
|
||||||
|
|
||||||
### Get single tweet
|
### Get single tweet
|
||||||
|
|
||||||
|
|
@ -126,7 +126,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
scraper := twitterscraper.New()
|
scraper := twitterscraper.New()
|
||||||
err := scraper.LoginOpenAccount()
|
err := scraper.Login(username, password)
|
||||||
if err !== nil {
|
if err !== nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue