I have google maps link which looks something like https://maps.app.goo.gl/spJqMYQj466mGrU6A, which when allowing redirects we can extract the name of the place, lattitude and longitude. Now how can I using this get the exact place id.
Using Geocoding Api, and latitude and longitude from the parsed link, I receive the google place id as GhIJkO4xov6gLkARocZzbPOTUkA, which is not correct as it refers to geographical area near the actual place, the correct google place id is ChIJQ4srFBimvzsRJQI7KOdIlP0, which points exactly to the place.
How can I get the correct google place id from google maps link that can be integrated with the api calls?