Skip to content

Commit 98729fd

Browse files
committed
Docs for new user-timeline options, closes #35
1 parent ad79a31 commit 98729fd

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ You can create that JSON file by running the following command and pasting in th
3636

3737
This will create a file called `auth.json` in your current directory containing the required values. To save the file at a different path or filename, use the `--auth=myauth.json` option.
3838

39-
## Retrieving tweets by an account
39+
## Retrieving tweets by specific accounts
4040

41-
The `user-timeline` command retrieves all of the tweets posted by the specified user account. It defaults to the account belonging to the authenticated user:
41+
The `user-timeline` command retrieves all of the tweets posted by the specified user accounts. It defaults to the account belonging to the authenticated user:
4242

4343
$ twitter-to-sqlite user-timeline twitter.db
4444
Importing tweets [#####-------------------------------] 2799/17780 00:01:39
@@ -47,15 +47,19 @@ All of these commands assume that there is an `auth.json` file in the current di
4747

4848
$ twitter-to-sqlite user-timeline twitter.db -a /path/to/auth.json
4949

50-
To load tweets for another user, use `--screen_name`:
50+
To load tweets for other users, pass their screen names as arguments:
5151

52-
$ twitter-to-sqlite user-timeline twitter.db --screen_name=cleopaws
52+
$ twitter-to-sqlite user-timeline twitter.db cleopaws nichemuseums
5353

5454
Twitter's API only returns up to around 3,200 tweets for most user accounts, but you may find that it returns all available tweets for your own user account.
5555

56+
You can pass numeric Twitter user IDs instead of screen names using the `--ids` parameter.
57+
5658
You can use `--since` to retrieve every tweet since the last time you imported for that user, or `--since_id=xxx` to retrieve every tweet since a specific tweet ID.
5759

58-
## Retrieve accounts in bulk
60+
This command also accepts `--sql` and `--attach` options, documented below.
61+
62+
## Retrieve user profiles in bulk
5963

6064
If you have a list of Twitter screen names (or user IDs) you can bulk fetch their fully inflated Twitter profiles using the `users-lookup` command:
6165

0 commit comments

Comments
 (0)