Using Search API I receive the following "The remote server returned an error: (401) Unauthorized." when I include more name value parameters at HTTP Get Request


Can you please provide me with some feedback when it comes to developing Search API Client to get Tweets by specifying more name value parameters after the Query String? Since I am creating a Get Request for and create Header Authorization for it and Query, I also would like to supply additional parameters such as count=100 as soon as I do that I get “The remote server returned an error: (401) Unauthorized.”

Please let me know what else I am missing or not doing correctly?

Twitter API User


Are you using an OAuth 1.0A library or are you using application-only auth to connect? It sounds like you’re using OAuth 1.0A, which has some special rules about the ordering of parameters when constructing the signature for a request. Are you adding your parameters early enough in your code that whatever OAuth library you’re using understands that they’re there?