#re-using the WAWeb's GooMaps API KEY to get signature param for the url of static location prev-img

2 messages · Page 1 of 1 (latest)

deft vale
#

Hi guys I have the question or doubt from below that you can ask to chatGPT to see the response of it, but despite it leading to me having to create an acount to GMaps, Mapbox or OpenStreetMap, I would like to accomplish this query how to get the google maps API key that whatsapp web OWNS AND USES with my own WHATSAPP logged sesion already uses to generates static map images WITHOUT STARTING OVER AND ME HAVING TO OBTAIN A NEW API KEY WITHOUT ME LOGGING TO GCP? that gives no results in brave AI or so..

I wonder if, within the 'NeededObjects' variable's code (the one that selects from all the 'modules' extracted with the 'parasite' code line), you know a module that would help to achieve re-using the WAWeb (session with my phone logged in)'s own API key to get the signature parameter to be able to freely use these preview images URLs at will..
as I don't see the signature or API key within the chat message (_.models) object...
Do you know any helpful modules from the whoole list of 'modules' available in the WAWeb sesion??

Here is the question I asked chatGPT who gives more details with it:

If I am trying to open the google maps preview img link I get from this JS string structure:

'https://maps.googleapis.com/maps/api/staticmap?zoom=15&size=270x200&scale=1&language=en&client=gme-whatsappinc&markers=color%3Ared%7C'
+temp1.msgs._models[430].__x_lat
+'%2C+'
+temp1.msgs._models[430].__x_lng

but then when opening into a new browser tab, thus, with a simple GET req, I get this error:

The Google Maps Platform server rejected your request. Unable to authenticate the request. Missing the 'signature' parameter. Learn more: https://developers.google.com/maps/documentation/business/webservices/auth

that asks for a missing &signature=+{aStringOf27Chars}
but I wonder how can this 27 chars strings be generated, obtained, etc?? I don't have any info about it.. do you?
I want to freely access those thumbnails or any preview img.

rapid robin
#

Why not just generate your own key, I'd guess this isn't a paid feature?