Actually, it’s even simpler than that to access those details.
If you use the input and directly access the properties in one…
… you get the following info for sharing this page…
I doubt it can be any more direct than that