@ -11,7 +11,11 @@ from foodie_config import X_API_CREDENTIALS
load_dotenv()
# Set up logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
logging.basicConfig(
filename='/home/shane/foodie_automator/logs/check_x_capacity.log',
level=logging.DEBUG,
format='%(asctime)s - %(levelname)s - %(message)s'
)
# Function to delete a tweet
def delete_tweet(tweet_id, auth):