This project has moved. For the latest updates, please go here.

Help finding specific photos

Topics: User Forum
Nov 2, 2006 at 7:41 PM
Hi, thanks for your library.
I Need your help, basically this is what I want to accomplish

I want to create a small web site and give the user the ability to upload a photo (I will upload it to flickr) I would like to grab the ID of that picture, store it in a localdatabase and then, later, retrieve the photo from flickr based on the ID.
Do you think it is possible?

I am unable to find any reference in your examples, I know how to upload but I don't know how to get the ID of the uploaded photo using the library?
Is there any findpicturebyID function?

I appreciate any feedback.

Nov 3, 2006 at 7:56 AM
The ID of the photo is returned by the upload method

string photoId = flickr.UploadPicture(filename, title, description);


Dim photoId As String = flickr.UploadPicture(filename, title, description)

The PhotosGetInfo method returns information about a photo based on its photo id. You might want to also store the image/thumbnail url in your database, as this will never change so can be cached safely.