Search with Userid

Oct 12, 2015 at 11:27 AM
Can we search tweets based on userid?
Coordinator
Oct 12, 2015 at 11:36 AM
You can't do that by user id but by user screen name:
var user = User.GetUserFromId(userId);
var tweets = Search.SearchTweets("from:" + user.ScreenName);
Cheers,
Linvi