Twitter4J getting the users screen name
in
Contributed Library Questions
•
2 years ago
http://pastebin.com/q7LmwM2H
On line 53 I want to print the screen name for the current tweet being interrogated. However I cant seem to extract just the screen name of the person doing the tweet. The closest I've got to it is element.getUser(); which has the screen name inside it but I dont know how to specify that I only want the screenName and not the other stuff..
Currently what gets returned is:
UserJSONImpl{, id=126347593, name='Mortimar ', screenName='obfuscativeone', location='null', description='null', profileImageUrl='http://s.twimg.com/a/1291318259/images/default_profile_1_normal.png', url='null', isProtected=false, followersCount=0, status=null, profileBackgroundColor='C0DEED', profileTextColor='333333', profileLinkColor='0084B4', profileSidebarFillColor='DDEEF6', profileSidebarBorderColor='C0DEED', friendsCount=0, createdAt=Thu Mar 25 15:32:53 GMT 2010, favouritesCount=0, utcOffset=-1, timeZone='null', profileBackgroundImageUrl='http://s.twimg.com/a/1291318259/images/themes/theme1/bg.png', profileBackgroundTile='false', statusesCount=43, geoEnabled=false, verified=false}
If someone could point me in the right direction, I would be very grateful.
Profero
1