add follows to docs

This commit is contained in:
Valentine 2024-02-21 06:15:17 +03:00
parent 5d3a5724f9
commit cf6de782e0

View file

@ -29,6 +29,8 @@ You can use this library to get tweets, profiles, and trends trivially.
- [Get profile](#get-profile)
- [Search profile](#search-profile)
- [Get trends](#get-trends)
- [Get following](#get-following)
- [Get followers](#get-followers)
- [Connection](#connection)
- [Proxy](#proxy)
- [HTTP(s)](#https)
@ -332,6 +334,30 @@ profiles, cursor, err := scraper.FetchSearchProfiles("taylorswift13", 20, cursor
trends, err := scraper.GetTrends()
```
### Get following
> [!IMPORTANT]
> Requires authentication!
500 requests / 15 minutes
```golang
var cursor string
users, cursor, err := testScraper.FetchFollowing("Support", 20, cursor)
```
### Get followers
> [!IMPORTANT]
> Requires authentication!
50 requests / 15 minutes
```golang
var cursor string
users, cursor, err := testScraper.FetchFollowers("Support", 20, cursor)
```
## Connection
### Proxy