Skip to content

Commit

Permalink
added description of plan restrictions in _examples/README #306
Browse files Browse the repository at this point in the history
  • Loading branch information
michimani committed Aug 26, 2023
1 parent 9da3b75 commit de2021b
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions _examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,44 @@ gotwi examples

### 1. Get followers' recent activity

Plans that can run this example: **Basic** , **Pro**

```bash
go run ./1_get_recent_activity/. 'your-account-id'
cd 1_get_recent_activity \
&& go run . 'your-account-id'
```

### 2. Post a tweet, delete a tweet

Plans that can run this example: **Free**, **Basic** , **Pro**

```bash
cd 2_post_delete_tweet
```

- post a tweet

```bash
go run ./2_post_tweet/. 'post' 'This is a test tweet.'
go run . 'post' 'This is a test tweet.'
```

- delete a tweet

```bash
go run ./2_post_tweet/. 'delete' 'tweet-id'
go run . 'delete' 'tweet-id'
```

### 3. Sampling tweets

Plans that can run this example: **Pro** ?

```bash
go run . 5
```
cd 3_sample_stream \
&& go run . 5
```

### 4. Streaming tweets

Plans that can run this example: **Pro**

see [4_filtered_stream/README.md](./4_filtered_stream/README.md)

0 comments on commit de2021b

Please sign in to comment.