[Flashr] get username

Spiros Gerokostas sger_error at hotmail.com
Mon Apr 17 10:13:58 EDT 2006


a simple way to get the description, comments of a photo?


>From: Kelvin Luck <kelvin at kelvinluck.com>
>Reply-To: kelvin at kelvinluck.com, Flashr at osflash.org
>To: Flashr at osflash.org
>Subject: Re: [Flashr] get username
>Date: Mon, 17 Apr 2006 13:53:48 +0100
>
>Spiros Gerokostas wrote:
> > ok thanks again kelvin (must read the whole documentation!!!)
> >
> > another example is
> >
> > trace("realname: " + photos[i].owner.realname);
> >
> > but returns undefined why?
>
>The realname isn't available until you have made an API call which
>returns it. At the moment all you know is the id and username for the
>user because that is all that is returned by your call to photosSearch.
>
>To see what information each call returns you can use flickr.com's API
>Explorer (e.g.
>http://www.flickr.com/services/api/explore/?method=flickr.photos.search
>   or http://www.flickr.com/services/api/ for a list of all methods).
>
>So to find out the real name of the user you would need to call
>peopleGetInfo with the user id (e.g. photos[i].owner.nsid) and wait for
>the relevant onPeopleGetInfo response...
>
>Hope this helps,
>
>Kelvin :)
>
>_______________________________________________
>Flashr mailing list
>Flashr at osflash.org
>http://osflash.org/mailman/listinfo/flashr_osflash.org

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




More information about the Flashr mailing list