- Create
.envfile.
cp .env.sample .envAnd, replace values of each environment variables.
- Load environment variables.
source .envPlans that can run this example: Basic , Pro
cd 1_get_recent_activity \
&& go run . 'your-account-id'Plans that can run this example: Free, Basic , Pro
cd 2_post_delete_tweet-
post a tweet
go run . 'post' 'This is a test tweet.'
-
delete a tweet
go run . 'delete' 'tweet-id'
Plans that can run this example: Pro ?
cd 3_sample_stream \
&& go run . 5Plans that can run this example: Pro