The remote server returned an error: (403) Forbidden

api
asp

#1

when I’m trying to get these information with ASP.NET (C#), I get an error:

The remote server returned an error (403) Forbidden.

am getting 403 error for “https://api.twitter.com/1.1/users/search.json?q=%test%” api,

but if i change api to “https://api.twitter.com/1.1/search/tweets.json?q=%23test” , it is working fine.

and using “GET” in HttpWebRequest

any help?