Closed redouane59 closed 3 years ago
Issue just as a reminder.
public static Optional<String> getTweetUrl(Tweet tweet) { if (tweet.getUser() == null || tweet.getUser().getName() == null || tweet.getId() == null) { return Optional.empty(); } return Optional.of("https://twitter.com/" + tweet.getUser().getName() + "/status/" + tweet.getId()); }
Issue just as a reminder.