This project has moved and is read-only. For the latest updates, please go here.

Get number of views or favorites for a photo

Topics: User Forum
Jan 23, 2007 at 8:52 AM
Hi there,

I'm new to FlickRNet Api, so maybe I'm missing something. But I can't find a way to read the number of views or favorites for a given photoid. In the FlickR API documentation it is possible to get the number of views with the "" method. However in the corresponding Net method "FlickNet.Flick.PhotosgetInfo" there is no such property. The returned object ("PhotoInfo") only has a "CommentsCount" Property.
Is there a way?

Jan 23, 2007 at 10:23 AM
That was (is?) an undocumented feature - but I've added it to the source code anyway :)
Mar 27, 2007 at 5:03 PM
I'm stuck here too, and I thought I was using the latest version of FlickrNet.

Is it in the source, and if so, how can I get the number of faves for a pic?


Mar 28, 2007 at 9:06 AM
I think views is a property of the PhotoInfo class. Not sure that favourites is available via the API at this time.
Mar 28, 2007 at 10:22 PM
Thanks for the reply. returns an XML (erm, ish) string of users who have faved a particular photo. Getting the number of faves is as simple as counting the number of appearances of "person" in this structure. But photosgetFavourites isn't in FlickrNet (?)

I'm administering 1-5 faves, and you would be astonished at the level of abuse!

Mar 29, 2007 at 9:13 AM
Ah, new method! I'll try and get it added asap.
Mar 29, 2007 at 9:14 AM
This discussion has been copied to Work Item 9224. You may wish to continue further discussion there.
Apr 16, 2007 at 9:09 PM
Edited Apr 16, 2007 at 9:13 PM
alright, thanks... i was too fast with posting!

and thanks btw for the dll, it's fun to work with and works without a hitch so far :)