Getting a unique identifier for a photo/video in Google Photos without creating 'sharable link'

by Y.S.G.   Last Updated October 14, 2018 20:03 PM

I'd like to apply tags to my photos/videos in Google Photos.

Currently it's possible to simulate tags using albums, but the process is very awkward (a big problem is that you can't search for albums by name when adding a photo to an album).

My plan is to create a local tagging system, but without downloading my multi-GB photos collection and tagging the actual photo files themselves.

Rather, I would use something like a JSON file, where each tag corresponds to a key, and its value is an array of all the photos/videos to which I've attached that tag.

For this to work, I need a way to uniquely identify any given photo in my Google Photos collection.

Now one way to go about creating a unique identifer is to create a "Sharable Link". But not only is this extremely slow (it's also less safe because it potentially exposes the photos to url crawling bots).

This then leads to my question: is it possible to get simply a 'permalink' to the photo/video item?

I want to stress emphatically that I'm not asking whether it's possible to get a "direct link" to an image, which is a question often asked about services like Imgur/Google Photos/etcs by people who wish to embed uploaded images in their blog posts etc.

For my purposes it's totally fine if the link takes me not to the image itself, but to a webpage that shows the image.

Now, when I'm in Google Photos, when I click on a photo, I see that the address bar changes to something like: "https://photos.google.com/photo/AF1QipOZhjDi_zk1oqs274840HF6roEykpBuIlCMWDgI"

Is this safe to use as a unique identifier/permalink? Or will it expire after a while?

Note that this link is not a 'direct link' to the image - but to a page.

Thanks so much for any help in advance.

Tags : google-photos


Related Questions


Update photos on Google Photos

Updated April 14, 2016 08:01 AM

How do I share Google+ photos automatically?

Updated March 26, 2015 13:01 PM