We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885ea7f commit e531095Copy full SHA for e531095
src/api.py
@@ -1,9 +1,8 @@
1
import requests
2
3
+from .env import BASE_URL
4
from .utils import convert_to_locale
5
-BASE_URL = "https://graph.threads.net/v1.0"
6
-
7
def get_user_id(headers):
8
response = requests.get(f"{BASE_URL}/me?fields=id", headers=headers)
9
response.raise_for_status()
0 commit comments