Getting 429 error on every getPost Call #12

Closed
opened 2 years ago by Ghost · 2 comments
Ghost commented 2 years ago

I recently started attempting to implement this library to get posts from a specific account's profile. For testing, I reference a specific hard-coded shortcode, and only wish to get that single post.

My code follows the example provided on this repo

function processPost (shortcode) {
    console.log("processing for shortcode " + shortcode);
    InstaClient.getPost(shortcode)
	.then(post => {
        console.log(post); 
        notifyWorker(post);
    })
	.catch(err => console.error(err));
}

On starting my task, this function is called with my hardcoded shortcode a single time, but I always get 429 error. I have no task running, and have waited up to 12 hours in between tries.

I recently started attempting to implement this library to get posts from a specific account's profile. For testing, I reference a specific hard-coded `shortcode`, and only wish to get that single post. My code follows the example provided on this repo ``` function processPost (shortcode) { console.log("processing for shortcode " + shortcode); InstaClient.getPost(shortcode) .then(post => { console.log(post); notifyWorker(post); }) .catch(err => console.error(err)); } ``` On starting my task, this function is called with my hardcoded shortcode a single time, but I always get 429 error. I have no task running, and have waited up to 12 hours in between tries.
KaKi87 commented 2 years ago
Owner

Thanks for giving my library a try. Instagram is blocking requests from servers. If you are using one, try using a home network.

Thanks for giving my library a try. Instagram is blocking requests from servers. If you are using one, try using a home network.
KaKi87 commented 2 years ago
Owner

Closing due to inactivity.

Closing due to inactivity.
KaKi87 closed this issue 2 years ago
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KaKi87/scraper-instagram-v1#12
Loading…
There is no content yet.