Photo versus PhotoInfo class

May 9, 2008 at 2:47 PM
I'm trying to write a factory for common image repository services (Flickr, Picasa, Photobucket, etc) and ran across an issue in the FlickrNET API where sometimes a Photo object is returned and sometimes a PhotoInfo object is returned. It seems the PhotoInfo object is a little more OO and has more information. Is there any reason that Photo is not depreciated?

- Ben Floyd
Coordinator
May 12, 2008 at 3:24 PM
PhotoInfo is returned by PhotosGetInfo only and contains a lot of information about the photo, whereas the Photo object is much more light weight and returned by most *GetPhotos methods.

I could have tried to jam them both into the same class, but its confusing enough as it is when some properties are returned by some methods, and others aren't.