Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When getting my profile's feed posts #2252

Open
Florentn opened this issue May 9, 2024 · 1 comment
Open

When getting my profile's feed posts #2252

Florentn opened this issue May 9, 2024 · 1 comment
Labels
question Question stale Issue is inactive for a long time

Comments

@Florentn
Copy link

Florentn commented May 9, 2024

I have a little script that I run everyday to get the posts from my instagram account's feed

L.login(loginDetails['username'], loginDetails['password'])
instaPosts = L.get_feed_posts()
for post in instaPosts:
.....

It works without any issues but it seems that Facebook is picking up on it because at some point, when processing the posts of my feed, I'll get an error 401. The error will confirm itself when logging on instagram's website with a message saying "suspicious automated activity" which I can dismiss and launch once more the script at great risks.

My questions are the following:

L.get_feed_posts() does return an iterative object but the error seems to suggest that the iterative object just acts as a reference guide for Instaloader to then get the actual post data from IG's server during the loop. So this makes me wonder if I need to change method and use download_feed_posts which allows specifying a max_count and other filters.

Is download_feed_posts equal to the piece of code written above or does it bring extra benefits in terms of not being flagged? Will increasing the max count also increase the likelihood to be flagged because Instaloader will take longer to download the post?

Thanks in advance for your answers

@Florentn Florentn added the question Question label May 9, 2024
Copy link

There has been no activity on this question for an extended period of time. This issue will be closed after further 14 days of inactivity.

@github-actions github-actions bot added the stale Issue is inactive for a long time label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question stale Issue is inactive for a long time
Projects
None yet
Development

No branches or pull requests

1 participant