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.
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?
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?