Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getMediasByTag = MEDIA_JSON_BY_TAG no longer working = 404 #1133

Open
beshoo opened this issue Jan 9, 2024 · 2 comments
Open

getMediasByTag = MEDIA_JSON_BY_TAG no longer working = 404 #1133

beshoo opened this issue Jan 9, 2024 · 2 comments

Comments

@beshoo
Copy link
Contributor

beshoo commented Jan 9, 2024

This endpoint returns 404

'https://www.instagram.com/explore/tags/{tag}/?__a=1&max_id={max_id}&__d=dis';

@anraetsky
Copy link

Could be replaced with https://www.instagram.com/graphql/query/?query_hash=298b92c8d7cad703f7565aa892ede943&variables={"tag_name":"{{tag}}","first":{{nodes}},"after":{{after}}} wiht respective changes in getMediasJsonByTagLink()

But note that the JSON response structure is also changed so empty medias will be returned in respective getMediabyTag functions.

Need to work on correct parsing of JSON response.

@beshoo
Copy link
Contributor Author

beshoo commented Jan 21, 2024

getMediabyTag

Thank you so much, but what about pagination?
do you have an updated version of getMediabyTag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants