You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: