{"url":"https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/57","repository_url":"https://api.github.com/repos/dogsheep/twitter-to-sqlite","labels_url":"https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/57/comments","events_url":"https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/57/events","html_url":"https://github.com/dogsheep/twitter-to-sqlite/issues/57","id":907645813,"node_id":"MDU6SXNzdWU5MDc2NDU4MTM=","number":57,"title":"Error: Use either --since or --since_id, not both","user":{"login":"rubenv","id":42904,"node_id":"MDQ6VXNlcjQyOTA0","avatar_url":"https://avatars.githubusercontent.com/u/42904?v=4","gravatar_id":"","url":"https://api.github.com/users/rubenv","html_url":"https://github.com/rubenv","followers_url":"https://api.github.com/users/rubenv/followers","following_url":"https://api.github.com/users/rubenv/following{/other_user}","gists_url":"https://api.github.com/users/rubenv/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenv/subscriptions","organizations_url":"https://api.github.com/users/rubenv/orgs","repos_url":"https://api.github.com/users/rubenv/repos","events_url":"https://api.github.com/users/rubenv/events{/privacy}","received_events_url":"https://api.github.com/users/rubenv/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[{"id":1535026962,"node_id":"MDU6TGFiZWwxNTM1MDI2OTYy","url":"https://api.github.com/repos/dogsheep/twitter-to-sqlite/labels/bug","name":"bug","color":"d73a4a","default":true,"description":"Something isn't working"}],"state":"closed","locked":false,"assignees":[],"milestone":null,"comments":6,"created_at":"2021-05-31T18:11:04Z","updated_at":"2021-08-20T00:01:31Z","closed_at":"2021-08-20T00:01:31Z","assignee":null,"author_association":"CONTRIBUTOR","issue_field_values":[],"type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"I'm using the following command:\r\n\r\n```\r\ntwitter-to-sqlite user-timeline -a twitter-auth.json twitter/tweets.db --since\r\n```\r\n\r\nWhich gives the following error:\r\n```\r\nError: Use either --since or --since_id, not both\r\n```\r\n\r\nRunning without `--since`.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/twitter-to-sqlite\", line 8, in <module>\r\n    sys.exit(cli())\r\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 1137, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 1062, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 1668, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 1404, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 763, in invoke\r\n    return __callback(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.9/site-packages/twitter_to_sqlite/cli.py\", line 317, in user_timeline\r\n    for tweet in bar:\r\n  File \"/usr/local/lib/python3.9/site-packages/click/_termui_impl.py\", line 328, in generator\r\n    for rv in self.iter:\r\n  File \"/usr/local/lib/python3.9/site-packages/twitter_to_sqlite/utils.py\", line 234, in fetch_user_timeline\r\n    yield from fetch_timeline(\r\n  File \"/usr/local/lib/python3.9/site-packages/twitter_to_sqlite/utils.py\", line 202, in fetch_timeline\r\n    raise Exception(str(tweets[\"errors\"]))\r\nException: [{'code': 44, 'message': 'since_id parameter is invalid.'}]\r\n```\r\n\r\n```\r\nPython 3.9.5\r\ntwitter-to-sqlite, version 0.21.3\r\n```","closed_by":{"login":"simonw","id":9599,"node_id":"MDQ6VXNlcjk1OTk=","avatar_url":"https://avatars.githubusercontent.com/u/9599?v=4","gravatar_id":"","url":"https://api.github.com/users/simonw","html_url":"https://github.com/simonw","followers_url":"https://api.github.com/users/simonw/followers","following_url":"https://api.github.com/users/simonw/following{/other_user}","gists_url":"https://api.github.com/users/simonw/gists{/gist_id}","starred_url":"https://api.github.com/users/simonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonw/subscriptions","organizations_url":"https://api.github.com/users/simonw/orgs","repos_url":"https://api.github.com/users/simonw/repos","events_url":"https://api.github.com/users/simonw/events{/privacy}","received_events_url":"https://api.github.com/users/simonw/received_events","type":"User","user_view_type":"public","site_admin":false},"reactions":{"url":"https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/57/reactions","total_count":4,"+1":4,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/dogsheep/twitter-to-sqlite/issues/57/timeline","performed_via_github_app":null,"state_reason":"completed","pinned_comment":null}