Я интегрирую твиттер API (OAuth + MGTwitter).Я могу войти и получить все твиты всех людей, за которыми я следую.Теперь я хочу получать твиты только с одного аккаунта (людей).Как я могу получить все твиты кем-то?
Описание: Предположим, я хочу видеть только твиты @ XXX_123.
Код: `
#pragma mark UITableViewDataSource Methods
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return [tweets count];
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
NSString *identifier = @"cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];
if(!cell) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewStyleGrouped reuseIdentifier:identifier];
//[cell setBackgroundColor:[UIColor clearColor]];
}
[cell.textLabel setNumberOfLines:7];
[cell.textLabel setText:[(Tweet*)[tweets objectAtIndex:indexPath.row] tweet]];
return cell;
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 150;
}
`
Привет !!