Home status - screen names blank

Jun 14, 2013 at 8:00 PM
Edited Jun 14, 2013 at 8:02 PM
I've got the following to get tweets in a user's timeline after authenticating using a stored token etc:
Dim twitterCtx = New TwitterContext(auth)

                Dim queryResponse =
                                From tweet In twitterCtx.Status
                                Where tweet.Type = StatusType.Home
                                Select tweet

                Dim tweets = queryResponse.ToList()

                For Each status As LinqToTwitter.Status In tweets
                                     response.write(status.statusID & "<br />")
                                     response.write(status.User.ScreenName)
                Next
In the above code where I am writing out the status details, the screen name is always blank. I've tried status.ScreenName but that's also blank.

Any ideas please?

Thanks
Coordinator
Jun 14, 2013 at 8:02 PM
Hi,

Please try status.User.Identifier.ScreenName. I mentioned it in the FAQ too.

@JoeMayo
Jun 14, 2013 at 8:05 PM
Ah, excellent, thank you Joe!!