I get tweets using twitter api 1.1 and show them in TWTRTweetTableViewCell, but TWTRTweetView shows space for media / image, but image / media not displaying only text is displayed in TWTRTweetView.
To show tweets
TWTRTweet *tweet = [self.arraySocialPosts objectAtIndex:indexPath.row]; TWTRTweetTableViewCell *cell = (TWTRTweetTableViewCell *)[tableView dequeueReusableCellWithIdentifier:@"TweetCell" forIndexPath:indexPath]; [cell configureWithTweet:tweet]; cell.tweetView.delegate = self; return cell;
and to get tweets
NSArray *responseJSON = [NSJSONSerialization JSONObjectWithData:responseData options:NSJSONReadingAllowFragments error:&jsonError]; if (jsonError) { NSString* errorMessage = [NSString stringWithFormat:@"There was an error reading your Twitter feed. %@",[jsonError localizedDescription]]; [[AppDelegate instance] showError:errorMessage]; } else { dispatch_async(dispatch_get_main_queue(), ^{ if(completion){ NSArray *tweetsArray = [TWTRTweet tweetsWithJSONArray:responseJSON];
when I type responseJSON it contains the media url.
source share