Esempio n. 1
0
        /// <summary>
        /// Formatting target uri and request api
        /// </summary>
        /// <remarks>
        /// For twitter api version 1
        /// </remarks>
        private static XDocument RequestAPIv1(this CredentialProvider provider, string partial, CredentialProvider.RequestMethod method, IEnumerable <KeyValuePair <string, string> > param)
        {
            var target = TwitterUri + (partial.EndsWith("/") ? partial.Substring(1) : partial);

            return(provider.RequestAPI(target, method, param));
        }