Instagram API 2023

GRATIS CON POSSIBILITÀ DI UPGRADE
Da mrngstar | Aggiornamento 4日前 | Social
Popolarità

9.9 / 10

Latenza

1,941ms

Livello di servizio

100%

Health Check

100%

Torna a tutte le discussioni

Hashtag posts pagination requests keep returning same posts

Rapid account: Sanjeev Cki Cs X Dqv

How is the hashtag posts api supposed to be used?

This is how I am doing it:
Request 1: next_max_id: empty, next_page: empty
Response 1: MAX_ID_1 , NEXT_PAGE_1

Request 2: next_max_id: MAX_ID_1, next_page: NEXT_PAGE_1
Response 2: MAX_ID_2 , NEXT_PAGE_2

Request 3: next_max_id: MAX_ID_2, next_page: NEXT_PAGE_2
Response 3: MAX_ID_3 , NEXT_PAGE_3

etc

But most of the posts in Response 2 and Response 3 are the same as Response 1. I get maybe 1-2 unique posts from them

Rapid account: Mrngstar
mrngstar Commented 2ヶ月前

I’ve noticed that you’re using the wrong parameter name in your request. It should be “max_id” instead of "next_max_id."
Please refer to the documentation and code snippets provided on RapidAPI for the correct parameter names.

Let me know if you need further clarification or assistance, you can contact me at contact@swiftinsta.com

Thanks

Rapid account: Mrngstar
mrngstar Commented 2ヶ月前

Hello Sanjeev,

Thanks for reaching out.

What feed_type are you using?

If the feed_type is “recent,” you’ll only need to provide the max_id parameter. However, if the feed_type is “top,” you’ll need to use both max_id and next_page.
Documentation outlines when to use the next_page parameter.

Could you please share an example request so that we can assist you further?

Thanks

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti