, `flickr.photos.getInfo ', , . URL- .
You can't check every possible permutation, but when it comes to photo id, I'm pretty sure you can rely on the Flickr API ... otherwise they themselves will be in trouble, no?
Of course, you can double check by sending an HTTP GET request to the URL and make sure the HTTP result code is something like 200(or maybe something> = 200 and <= 300).
source
share