The Search API does not contain the standard user object that is returned
from the rest of the API methods. Have a look at the "response" section on:
http://apiwiki.twitter.com/Twitter-Search-API-Method:-search
Advertising
Abraham
On Fri, Feb 5, 2010 at 05:05, nico <n...@second-dimension.de> wrote:
> Hi guys,
>
> i am using the "Twitterscript" Libary for as3-Developing...I want to
> search twitter (exp: "Apple") and show the results in a List. There i
> wanna display the image/name of each author...
>
> My problem ist, that the twitterUser object of the twitterStatus
> object is totally empty / all vars are empty..
>
> this.twitt = new Twitter();
> this.tSearch = new TwitterSearch();
>
>
>
>
>
> this.twitt.addEventListener(TwitterEvent.ON_SEARCH, onSearch);
> //this.tSearch.lang = "de";
> this.tSearch.addKeyword("Apple");
> //this.tSearch.addKeyword("Unfall", false,
> true);
> this.twitt.search(this.tSearch);
>
>
> }
>
> protected function onSearch(event:TwitterEvent):void
> {
> trace(event.data );
>
> _tweetArray = event.data as Array;
> var twitterStatus:TwitterStatus;
> for (var i : int = 0; i < event.data.length;
> i++)
> {
> twitterStatus = event.data[i];
> trace( twitterStatus.user.id) // = Empty
> }
>
>
>
> Any idea? I think that Twitterscript is a great lib, so i really
> regret it, if i can't use it. :/
>
> greetings, nico
>
--
Abraham Williams | Community Advocate | http://abrah.am
Project | Out Loud | http://outloud.labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Seattle, WA, United States