Instagram API 2023

부분 유료
분류별 mrngstar | 업데이트됨 4 days ago | Social
인기

9.9 / 10

지연 시간

1,941ms

서비스 수준

100%

Health Check

100%

모든 토론으로 돌아가기

Hashtag posts pagination requests keep returning same posts

Rapid account: Sanjeev Cki Cs X Dqv
sanjeev-ckiCsXDqv
2 months ago

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 months ago

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 months ago

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입