2026-02-12 15:09:48 +03:00

16 lines
401 B
Python

# xcom/utils.py
class XConfig:
BASE_URL = "https://api.twitter.com/2"
AUTH_URL = "https://twitter.com/i/oauth2/authorize"
TOKEN_URL = "https://api.twitter.com/2/oauth2/token"
SCOPES = [
"tweet.read",
"tweet.write",
"users.read",
"offline.access"
]
SEARCH_RECENT_URL = "tweets/search/recent"
SEARCH_ALL_URL = "tweets/search/all"