Mathurin Bloworlf
Mathurin Bloworlf
> I had to add "okdownload" as submodule and modify MultiPointOutputStream class' close() method. How did you added okdownload as a submodule? I have plenty of errors when I try...
> @bloworlf As far as I remember, I also faced errors and they were probably due to import paths. I had to spend sometime fixing those errors, and then it...
> This solution should work https://stackoverflow.com/a/69384696/491978 Thank you. It works indeed.
This is when I get the response from the API And here is when I deserialize the response from cache file Notice how there's fewer properties like they where "lost/discarded"...
> Just set your own `OkHttpClient` with caching enabled in the `IGClient` builder. I have a class "CacheInterceptor": ``` public class CacheInterceptor implements Interceptor { private final boolean cache; public...
> Hey! How did you use `WebView` for login using this library? Please share you webview code I didn't exactly made it work that way. I noticed when a user...
[WebLogin.txt](https://github.com/instagram4j/instagram4j/files/8870492/WebLogin.txt) ``` // in this code I intercept some cookies @Nullable @Override public WebResourceResponse shouldInterceptRequest(WebView view, WebResourceRequest request) { try { URLConnection connection = new URL(url).openConnection(); cookie = connection.getHeaderFields().get("Set-Cookie"); if...
> ```java > Callable strCallable = new Callable() { > @Override > public String call() throws Exception { > // here I get the code from an EditText > //...
I found a way to properly create the SerializableCookieJar object ``` SerializableCookieJar cookieJar = new SerializableCookieJar(); cookieJar.saveFromResponse(new HttpUrl.Builder().scheme("https").host("www.instagram.com").build(), cookieList); //here 'cookieList' is a list of cookies I retrieved from the...
I managed something. After some testing, I noticed a slight increase in size for the files (from default settings to my custom settings). I'll share my workaround when I get...