Skip to content

Instantly share code, notes, and snippets.

@cmj
Created January 24, 2026 11:04
Show Gist options
  • Select an option

  • Save cmj/e4565edd5b335eeee402bc74d17477c2 to your computer and use it in GitHub Desktop.

Select an option

Save cmj/e4565edd5b335eeee402bc74d17477c2 to your computer and use it in GitHub Desktop.
basic twikit tweet test
#!/usr/bin/env python3
import asyncio
from twikit import Client
client = Client()
# charles proxy
#client = Client(proxy='http://127.0.0.1:8888')
client.load_cookies('cookies.json')
async def tweet():
await client.create_tweet(text='Talk is cheap. Show me the code.')
asyncio.run(tweet())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment