Images and media not showing on TWTRTweetTableViewCell TwitterKit ios

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]; //(NSArray *)tweetsWithJSONArray:(NSArray *)array completion(tweetsArray); } }); } } }]; 

when I type responseJSON it contains the media url.

+5
source share
1 answer

Have problems with ATS with pbs.twimg.com ? This particular domain is not using SHA2 at this time.

0
source

All Articles