Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在我測試時抛出錯誤,我是否需要升級到標準權限 #2

Open
ghost opened this issue Mar 3, 2024 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Mar 3, 2024

完整的過程:
twb shi_Yumiaoya
Login success! Logged in as 結城洛坊-Yuki_Luofan ⛩
[DEBUG] download_all_tweets: Downloading user tweets for shi_Yumiaoya
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Scripts\twb.exe_main
.py", line 7, in
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\twb_main
.py", line 30, in run
download_all_tweets(api, args.username, json_path)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\twb\collect.py", line 104, in download_all_tweets
tweets = get_tweets(api, screen_name, rate_delay, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\twb\collect.py", line 56, in get_tweets
tweets = api.user_timeline(screen_name=name, count=200, tweet_mode='extended', trim_user=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\tweepy\api.py", line 33, in wrapper
return method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\tweepy\api.py", line 46, in wrapper
return method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\tweepy\api.py", line 577, in user_timeline
return self.request(
^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\tweepy\api.py", line 265, in request
raise Forbidden(resp)
tweepy.errors.Forbidden: 403 Forbidden
453 - You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product

我查閲了一些資料,但我無法定位問題,可能需要購買標準版本權限?太貴了,我甚至願意手動下載。
謝謝,給出建議

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants