Hello, tnx for your project, when I call instagram.basePage(), I get this error:
Exception in thread "main" me.postaddict.instagram.scraper.exception.InstagramException: Rate limited : RATE_LIMITED
this is my code:
HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor();
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
OkHttpClient httpClient = new OkHttpClient.Builder()
.addNetworkInterceptor(loggingInterceptor)
.addInterceptor(new ErrorInterceptor())
.cookieJar(new DefaultCookieJar(new CookieHashSet()))
.build();
Instagram instagram = new Instagram(httpClient);
instagram.basePage();
Hello, tnx for your project, when I call instagram.basePage(), I get this error: Exception in thread "main" me.postaddict.instagram.scraper.exception.InstagramException: Rate limited : RATE_LIMITED this is my code: HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor(); loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY);