/// <summary>
 /// Creates a new instance of the RequestManager class
 /// </summary>
 /// <param name="requestMethod">Method to be used for the request (GET or POST)</param>
 /// <param name="resourceURL">URL to which the request should be sent</param>
 /// <param name="requestParams">List of request-specific parameters</param>
 /// <param name="oAuthTokens">oAuth keys, tokens and secrets used to authorize the request</param>
 public Request(string requestMethod, string resourceURL, RequestParameterCollection requestParams, SecurityTokens oAuthTokens)
 {
     RequestMethod = requestMethod;
     ResourceURL = resourceURL;
     RequestParams = requestParams;
     OAuth = new OAuthInstance(oAuthTokens);
 }
 /// <summary>
 /// Creates a new OAuthInstance instance
 /// </summary>
 /// <param name="tokens">SecurityTokens object containing all necessary keys and tokens for oAuth authentication</param>
 public OAuthInstance(SecurityTokens tokens)
 {
     _OAuthTokens = tokens;
     _OAuthNonce = Convert.ToBase64String(new ASCIIEncoding().GetBytes(DateTime.Now.Ticks.ToString()));
     _OAuthTimeStamp = Convert.ToInt64(
         (DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds
     ).ToString();
 }
 /// <summary>
 /// Creates a new UserTimelineGETRequest instance
 /// </summary>
 /// <param name="oAuthTokens">oAuth keys, tokens and secrets used to authorize the request</param>
 public UserTimelineGETRequest(SecurityTokens oAuthTokens)
     : base(Globals.Common.REQUEST_METHOD_GET, Globals.Common.RESOURCE_URL_USER_TIMELINE, new RequestParameterCollection(), oAuthTokens)
 {
     Expect100Continue = false;
 }