[Flashr] get username
Kelvin Luck
kelvin at kelvinluck.com
Mon Apr 17 08:27:38 EDT 2006
Spiros Gerokostas wrote:
> output message when i trace "photos[i].owner" [Object
> com.kelvinluck.flickr.Person - 22651740 at N00 (yugen)]
>
> well i need only the user name for example (yugen)
photos[i].owner is a Person object as described here:
http://kelvinluck.com/assets/flickr_api/0.4/docs/files/com/kelvinluck/flickr/Person-as.html
So to get their username you can do:
[code]
trace photos[i].owner.username;
[/code]
Hope that helps,
Kelvin :)
More information about the Flashr
mailing list