Skip to content

RATE_LIMITED #159

@Nicky-Sa

Description

@Nicky-Sa

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions