From 8bb6d9d610b8a346deba4334fe50c474ae9d64e1 Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Sun, 8 Jun 2025 14:45:57 -0500 Subject: [PATCH] debugging --- dog_facts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dog_facts.py b/dog_facts.py index 7302dc9..d423faa 100644 --- a/dog_facts.py +++ b/dog_facts.py @@ -21,8 +21,12 @@ headers = { "Authorization": f"Bearer {botsy_token}" } +print(botsy_token) +print(api_url) +print(po_user_token, po_test_token) response = get(api_url) if response.reason == "OK": + print(dog_fact) dog_fact = DefaultMunch.fromDict(loads(response.text)['data'][0]) payload = {"status": f"didja know: \n {dog_fact.attributes.body}\n#RandomDogFacts", "visibility": "mutuals_only"} response = post(post_endpoint, headers=headers, json=payload)