How i can read log by javascript or fetch

hi
i have project on glitch.com to receive message from WhatsApp cloud API.
it’s working fine i can see all message received in log in my project on glitch.com in edit mode,
i have big problem i don’t know how i can fetch or call log data to my project by JavaScript!
i can’t find any example for working with this log
Does anyone know how?
thanks for help

does it have to be the project log? you could save it to your project disk instead, right? there are APIs for writing and reading files. or use a database

if it has to be project logs, I have some sample code for accessing the logs https://github.com/wh0/snail-cli/blob/v2.17.0/src/index.js#L871

If I try to access my project through a text file link, I always get an error.

i try to save on firebase
give me error
Error: Cannot find module ‘firebase’

are you following a tutorial for setting up firebase?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.