Closed antoniolmc83 closed 3 years ago
Hi I was trying out with my own account (which does not have a pinned tweet), and I got a NullPointerException for getPinnedTweet function.
User user = twitterClient.getUserFromUserName("LmcAntonio"); System.out.println( String.format("Pinned Tweet: %s ", user.getPinnedTweet()));
Version 1.26 (The latest one found in Maven repository) 'com.github.redouane59.twitter:twittered:1.26'
Hi, You're right. Fixing it. Will be in the next release.
Hi I was trying out with my own account (which does not have a pinned tweet), and I got a NullPointerException for getPinnedTweet function.
User user = twitterClient.getUserFromUserName("LmcAntonio"); System.out.println( String.format("Pinned Tweet: %s ", user.getPinnedTweet()));
Version 1.26 (The latest one found in Maven repository) 'com.github.redouane59.twitter:twittered:1.26'