You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced same issue.
Simple client.search_tweet() request resulted in following error: Forbidden: status: 403, message: ""
Change in X's security measure?
code as followed:
import asyncio
from twikit import Client
client = Client('en-US')
async def main():
tweets = await client.search_tweet('python', 'Latest')
for tweet in tweets:
print(tweet.user.name, tweet.text, tweet.created_at)
asyncio.run(main())
finally get error: "raise Forbidden(message, headers=response.headers)
twikit.errors.Forbidden: status: 403, message: "" "
The text was updated successfully, but these errors were encountered: