Rajnikant Hole09762323067--
BitCode Technologies Pvt. Ltd.
Find more about us at: http://www.bitcode.in
Check out the iPhone Tutorials : http://www.iphone-bitcode.blogspot.com
For more options, visit this group at
http://groups.google.com/group/iphone-bitcode?hl=en
OADataFetcher *fetcher;
OAConsumer *con = [[OAConsumer alloc]initWithKey:@"NYKNsIyiSGHPNmZIplgQqQ" secret:@"AWrgZZu6OaWIzvWTPvYTVDYOYKrdrCs0drCRo5WqtKE"];
NSURL *tt=[NSURL URLWithString:pro];
OAToken *p=[[OAToken alloc]initWithKey:@"727611866-IubjhIFn8MYGfF07HoBU0lwOEOpskfgnf4NKE" secret:@"P3fqnJ8l6j8fpGnPn6co6br5qrqtL6g32uTDFGS0zQY"];
OAMutableURLRequest *request = [[OAMutableURLRequest alloc] initWithURL:tt
consumer:con
token:p
realm:nil
signatureProvider:nil] ;
[request setHTTPMethod:@"GET"];
fetcher = [[OADataFetcher alloc] init] ;
[fetcher fetchDataWithRequest:request
delegate:self
didFinishSelector:@selector(requestTokenTicket:didFinishWithData:)
didFailSelector:@selector(requestTokenTicket:didFailWithError:)];
- (void)requestTokenTicket:(OAServiceTicket *)ticket didFinishWithData:(NSData *)data {
NSString *responseBody = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
if (ticket.didSucceed) {
if(flag==0){
result=[responseBody JSONValue];
}
if(flag==1)
{
result2 = [responseBody JSONValue];
NSArray *allTweets = [result2 objectForKey:@"statuses"];
result2ArrayofData=(NSMutableArray*)allTweets;
}
}
}
Sir i have some issue i will call regarding downloding data ...
like in json i want show at time @rajnikanthole #abc @pqr @xyz
i want show in table at one time but i dont want wait for it .
if @rajnikant ole contain 200 tweets i dont want wait go to @xyz
that time how i can do because i want no wait until complete download ..
Please reply as soon as possible...
ThanksRajnikant Hole09762323067--