subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.38k stars 686 forks source link

[BUG] Timeline feed request no paginate results #405

Closed eduardo-adjinn closed 1 year ago

eduardo-adjinn commented 3 years ago

Every time that get_timeline_feed() is called, the api returns the same posts. I've tried with "is_pull_to_refresh":True and False but with the same result. I've tried putting "max_id" param in the request... but nothing. And I've tried setting the posts as seen with the param seen_posts and calling to media_seen() function but the same post are returned

¿It's a bug?¿Or the Instagram API has changged?

adw0rd commented 3 years ago

Please sponsor the development of this feature if you need it. 5 cups of coffee

Donate

eduardo-adjinn commented 3 years ago

I tried to buy you the 5 coffee but your Paypal response with an error: https://www.paypal.com/checkoutweb/genericError?code=UEFZTUVOVF9ERU5JRUQ%3D&cancelLink=&merchantName=

adw0rd commented 3 years ago

@eduardo-adjinn try again or use other methods https://adw0rd.com/funding/

eduardo-adjinn commented 3 years ago

I'm trying send you a coffee and send money by paypal but Paypal doesn't let me do it.

If you told me how you can intercept IG api requests (to check the params) I can fix it by myself and I will send you the "coffees" when your paypal let me do it. I'm trying with mitmproxy and a VPN in my android device... but I can't see the api requests :-(

I think that the timeline feeds are not been marked as viewed and that is the reason to receive always the same posts. I tried to marked these posts as viewed with client.media_seen(...) but the posts are always returned as not viewed I tried set the param "seen_posts" in the requests... but no changes...

Best regards Eduardo

El lun, 11 oct 2021 a las 10:52, Mikhail Andreev @.***>) escribió:

@eduardo-adjinn https://github.com/eduardo-adjinn try again or use other methods https://adw0rd.com/funding/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/adw0rd/instagrapi/issues/405#issuecomment-939870231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT23ZYOT77T2BSKU3IGZWCLUGKXVNANCNFSM5FRLAV4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

dmunozv04 commented 3 years ago

@eduardo-adjinn have you enabled white hat mode on your Instagram account and have you configured your proxy’s certificate on the device? For white hat you need to go here.

eduardo-adjinn commented 3 years ago

Hi David,

Yes, I have active the white hat in Facebook researcher settings. And yes, I have installed the certificate on the device. But I can't root my android (LG K41S) and I can't set a global proxy to all apps traffic.

If I found the solution and I can see what changed in IG API I will communicate you the changes to do

Best regards Eduardo

El dom, 17 oct 2021 a las 15:27, David @.***>) escribió:

@eduardo-adjinn https://github.com/eduardo-adjinn have you enabled white hat mode on your Instagram account and have you configured your proxy’s certificate on the device? For white hat you need to go here https://www.facebook.com/whitehat/researcher-settings/.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/adw0rd/instagrapi/issues/405#issuecomment-945135071, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT23ZYLSMPJFYS4VXW4Q6DLUHLMO5ANCNFSM5FRLAV4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

rdxshubham commented 2 years ago

Any update Eduardo?

eduardo-adjinn commented 2 years ago

No news about it