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
Aşağıya yorum ekleyerek tartışmaya katılın:
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
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