Replies: 1 comment 1 reply
-
https://github.com/ramtinak/InstagramApiSharp/wiki/Set-up-Proxy |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I go under one proxy, everything is fine. After I want to change it via the new Http Client Handle, I use the Api.UseHttpClientHandler(HttpClientHandler) method, but after that any request to instagram ends with an error. There are no problems with the proxy 100%, here is the error:
![code](https://user-images.githubusercontent.com/46266853/107519419-4ecf4a00-6bc1-11eb-8809-4af35dd593a1.png)
![excaption](https://user-images.githubusercontent.com/46266853/107518961-ae792580-6bc0-11eb-825a-38daf0aa37d9.png)
Exception: System.ArgumentNullException: Value cannot be null. ((Parameter 'url')
at System.Net.CookieContainer.GetCookies(Uri uri)
at InstagramApiSharp.Helper.Http Helper.Get Default Request(Http Method method, Uri uri, Android Device deviceInfo)
at InstagramApiSharp.Helper.Http Helper.Get Default Request(HttpMethod method, Uri uri, Android Device deviceInfo, Dictionary`2 data)
at InstagramApiSharp.API.Processors.Hash tag Processor.GetHashtagSection(String tagname, String fronttoken, String maxId, Boolean recent)
Beta Was this translation helpful? Give feedback.
All reactions