views:

112

answers:

0

Hi everyone

I am doing a search using getSearchResultsForQuery method and i get searchresult too but when i try to print the parsed data i dont get text of all the tweets

i am doing this [twitterEngine getSearchResultsForQuery:@"#joke" sinceID:twitterUserId startingAtPage:1 count:5];

and below is the result in console and it shows that i do get data properly but after parsing it does not parse properly.I have not done any change in parsing can anyone say why i am getting this?

This is the data before parsing

{"results":[{"profile_image_url":"http://a1.twimg.com/profile_images/580724970/pro_normal.jpg","created_at":"Wed, 21 Apr 2010 19:06:52 +0000","from_user":"Kousani","metadata":{"result_type":"recent"},"to_user_id":null,"text":"#ipl3 has hit hard all other General Entertainment Channels. If this continues every year, may be I will learn play cricket! :D #joke","id":12592706500,"from_user_id":13391246,"geo":null,"iso_language_code":"en","source":"<a href="http://www.tweetdeck.com&quot; rel="nofollow">TweetDeck</a>"},{"profile_image_url":"http://a3.twimg.com/profile_images/815058343/iphone_1_059_normal.JPG","created_at":"Wed, 21 Apr 2010 19:00:59 +0000","from_user":"anamou","metadata":{"result_type":"recent"},"to_user_id":null,"text":"comedyclipsblog: Recent research has shown that six out of seven dwarves aren't happy #joke","id":12592456010,"from_user_id":7635571,"geo":null,"iso_language_code":"en","source":"<a href="http://echofon.com/&quot; rel="nofollow">Echofon</a>"},{"profile_image_url":"http://a1.twimg.com/profile_images/636112472/Jane_New_normal.jpg","created_at":"Wed, 21 Apr 2010 18:55:49 +0000","from_user":"janeprinsep","metadata":{"result_type":"recent"},"to_user_id":20741695,"text":"@grahamtcousins DON'T DOOOOOOO ITTTTT!!!!! #joke","id":12592234721,"from_user_id":74969091,"to_user":"grahamtcousins","geo":null,"iso_language_code":"en","source":"<a href="http://www.tweetdeck.com&quot; rel="nofollow">TweetDeck</a>"},{"profile_image_url":"http://a1.twimg.com/profile_images/779334170/sander_normal.jpg","created_at":"Wed, 21 Apr 2010 18:53:55 +0000","from_user":"SndR22","metadata":{"result_type":"recent"},"to_user_id":null,"text":"RT @MocroDeluxe: Willen jullie lachen?- kom met een #joke dan!","id":12592155790,"from_user_id":85863646,"geo":null,"iso_language_code":"nl","source":"<a href="http://ubertwitter.com&quot; rel="nofollow">UberTwitter</a>"},{"profile_image_url":"http://a1.twimg.com/profile_images/513318990/1257454275_package_toys_normal.png","created_at":"Wed, 21 Apr 2010 18:53:33 +0000","from_user":"Fun_Jokes_Video","metadata":{"result_type":"recent"},"to_user_id":null,"text":"#joke What's Clintons new nick name?: Q. What's Clintons new nick name?\nA. Drippy Dick http://bit.ly/bZWSlJ","id":12592141067,"from_user_id":76430125,"geo":null,"iso_language_code":"en","source":"&lt;a href="http://twitterfeed.com&quot; rel="nofollow">twitterfeed</a>"}],"max_id":12592706500,"since_id":47543983,"refresh_url":"?since_id=12592706500&q=%23joke","next_page":"?page=2&max_id=12592706500&rpp=5&q=%23joke","results_per_page":5,"page":1,"completed_in":0.039389,"warning":"since_id removed for pagination.","query":"%23joke"}

THIS IS THE DATA AFTER PARSING

in this text is missing in all the dictionaries except last tweet

2010-04-22 00:45:53.319 Twitter-Facebook[2090:20b] Got search results for FF1D610A-499C-41B6-B0BA-5D94989F9CF0: (

 {
    "created_at" = 1271876812;
    "from_user" = Kousani;
    "profile_image_url" = "http://a1.twimg.com/profile_images/580724970/pro_normal.jpg";
    "result_type" = recent;
    "source_api_request_type" = 35;
},
    {
    "created_at" = 1271876459;
    "from_user" = anamou;
    "profile_image_url" = "http://a3.twimg.com/profile_images/815058343/iphone_1_059_normal.JPG";
    "result_type" = recent;
    "source_api_request_type" = 35;
},
    {
    "created_at" = 1271876149;
    "from_user" = janeprinsep;
    "profile_image_url" = "http://a1.twimg.com/profile_images/636112472/Jane_New_normal.jpg";
    "result_type" = recent;
    "source_api_request_type" = 35;
},
    {
    "created_at" = 1271876035;
    "from_user" = SndR22;
    "profile_image_url" = "http://a1.twimg.com/profile_images/779334170/sander_normal.jpg";
    "result_type" = recent;
    "source_api_request_type" = 35;
},
    {
    "created_at" = 1271876013;
    "from_user" = "Fun_Jokes_Video";
    "profile_image_url" = "http://a1.twimg.com/profile_images/513318990/1257454275_package_toys_normal.png";
    "result_type" = recent;
    "source_api_request_type" = 35;
},
    {
    "completed_in" = 0;
    "from_user_id" = 76430125;
    geo = <null>;
    id = 12592141067;
    "iso_language_code" = en;
    "max_id" = 12592706500;
    "next_page" = "?page=2&max_id=12592706500&rpp=5&q=%23joke";
    page = 1;
    query = "%23joke";
    "refresh_url" = "?since_id=12592706500&q=%23joke";
    "results_per_page" = 5;
    "since_id" = 47543983;
    source = "<a href=\"http://twitterfeed.com\" rel=\"nofollow\">twitterfeed</a>";
    "source_api_request_type" = 35;
    text = "#joke What's Clintons new nick name?: Q. What's Clintons new nick name?\nA. Drippy Dick http://bit.ly/bZWSlJ";
    "to_user" = grahamtcousins;
    "to_user_id" = <null>;
    warning = "since_id removed for pagination.";
}

) 2010-04-22 00:45:53.320 Twitter-Facebook[2090:20b]

TEXT is #joke What's Clintons new nick name?: Q. What's Clintons new nick name? A. Drippy Dick http://bit.ly/bZWSlJ