Searching Tweets of protected account

Jan 12, 2015 at 11:01 AM
Sorry for my broken English, first.

I tried to use Search class to get tweets of my friend's screenname.

but when I try to get protected friend's tweet, variable 'temp' below returns 0.
TwitterCredentials.SetCredentials(userAccessToken, userAccessSecret, consumerKey, consumerSecret);

var temparameter = Search.GenerateTweetSearchParameter("from:"+userscreenname);
 temparameter.Since = till.Subtract(TimeSpan.FromHours(10));
temparameter.MaximumNumberOfResults = 100;

var temp = Search.SearchTweets(temparameter);

return temp;
this also happens when I protected my account and put screenname of mine.
I set credential for application before search it.

Is there a way to solve this problem?

Or, is there another way to get protected friend's tweet?
Marked as answer by linvi on 2/9/2015 at 9:40 AM
Feb 9, 2015 at 4:40 PM
You cannot search for protected tweets. The Search API is a public API and will therefore only return public tweets even if you are logged with an account that can access the protected tweets.