List Info

Thread: How many times a tag is used




How many times a tag is used
country flaguser name
Belgium
2007-06-26 11:16:55
thanks !!!

now it works fine ... bur I received the count information for my most popular tags ...

is it possible to retreive the count information for all my tags ???




> From: Flashr-requestosflash.org
> Subject: Flashr Digest, Vol 22, Issue 5
> To: Flashrosflash.org
> Date: Tue, 26 Jun 2007 12:00:07 -0400
>
> Send Flashr mailing list submissions to
> Flashrosflash.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://osflash.org/mailman/listinfo/flashr_osflash.org
> or, via email, send a message with subject or body 'help' to
> Flashr-requestosflash.org
>
> You can reach the person managing the list at
> Flashr-ownerosflash.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Flashr digest..."
>
>
> Today's Topics:
>
> 1. Re: Flashr Digest, Vol 22, Issue 2 (Kelvin Luck)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 25 Jun 2007 18:12:34 +0100
> From: Kelvin Luck <kelvinkelvinluck.com>
&gt; Subject: Re: [Flashr] Flashr Digest, Vol 22, Issue 2
> To: Flashrosflash.org
> Message-ID: <467FF782.5030102kelvinluck.com>
&gt; Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> Sorry - my mistake! I've just realised that tagsGetListUser doesn't
> return any information about how many times a tag is used. This is
> because flickr.tags.getListUser on the Flickr API doesn't return this
> information either:
&gt;
> http://www.flickr.com/services/api/flickr.tags.getListUser.html
&gt;
> If you want information about a user's tags including how many times
> they are used then try tagsGetListUserPopular:
>
> http://flashr.kelvinluck.com/assets/0.5/docs/files/com/kelvinluck/flashr/core/Flashr-as.html#com.kelvinluck.flashr.core.Flashr.tagsGetListUserPopular
>;
> This calls flickr.tags.getListUserPopular which does return a "count"
> attribute:
>
> http://www.flickr.com/services/api/flickr.tags.getListUserPopular.html
>
> Hope that helps,
>;
> Kelvin
>
> S?bastien Kafif wrote:
>; > thanks for your help ;)
> >
> > I try your piece of code ... but it 's still not working,
&gt; >
> > I show my all class :
> >
> > import com.kelvinluck.util.LogWrapper;
> > import com.kelvinluck.flashr.core.*;
&gt; > import com.ma.utils.Proxy;
&gt; > //
> > class com.TagSearch extends MovieClip
> > {
> > var USER_ID:String = "XXXXXXXXXXXXXX";
>; > var PER_PAGE:Number = 135;
> > var flashr:Flashr;
> > var flashrResponse:FlashrResponse;
&gt; > var myAllTags:Object;
>; > //
> > //
> > function TagSearch()
> > {
> > LogWrapper.getInstance().init();
> > LogWrapper.getInstance().addTracePublisher();
> > flashr = Flashr.getFlashr();
&gt; > flashr.apiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
> > flashr.cacheQueries = true;
> > flashrResponse = new FlashrResponse();
>; > flashrResponse.onPeopleGetInfo = Proxy.create(this,
> > onPeopleGetInfo);
>; > flashrResponse.onTagsGetListUser = Proxy.create(this,
> > onTagsGetListUser);
&gt; > flashr.peopleGetInfo(USER_ID);
&gt; > flashr.tagsGetListUser(USER_ID);
> > }
> >
> > //
> > function onPeopleGetInfo (person:Person)
> > {
> > //
> > }
> > //
> > function onTagsGetListUser(person:Person)
> > {
> > myAllTags = person.getTags();
>; > LogWrapper.getLog().debug(myAllTags);
> > for (var raw:String in myAllTags)
> > {
> > var tagInfo:Object = myAllTags[raw];
> > trace(tagInfo.tag.raw + ' is used ' + tagInfo.tag.count + '
> > times by ' + person.username);
>; > return undefined for tagInfo.tag.count
>; > }
> > }
> > //
> > //
> > public function toString():String
>; > {
> > return "[com.kelvinluck.barcamp.TagSearch]";
> > }
> > }
> >
> > tagInfo.tag.count is always undefined ...
> > any ideas ??
> >
> > ------------------------------------------------------------------------
>; > D?couvrez sans tarder l'exp?rience ultime de messagerie en ligne Windows
> > Live Hotmail ! <http://get.live.com/mail/overview>
&gt; >
> >
> > ------------------------------------------------------------------------
>; >
> > _______________________________________________
> > Flashr mailing list
> > Flashrosflash.org
> > http://osflash.org/mailman/listinfo/flashr_osflash.org
>
>
>
> ------------------------------
&gt;
> _______________________________________________
> Flashr mailing list
> Flashrosflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org
>
>
> End of Flashr Digest, Vol 22, Issue 5
> *************************************


Découvrez sans tarder l'expérience ultime de messagerie en ligne Windows Live Hotmail !
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )