Wikidepia/InstaFix

Problem with the `/grid/` endpoint

barraIhsan opened this issue · 4 comments

If you open up https://ddinstagram.com/grid/Cwk6ka7PONG/ on browser, it will not redirect you to the instagram.com/p/ url like the others do.

Why does it matter, tho? (because the link is hidden because it gets replaced by direct media), well as you can see we can use /grid to make reels direct link (no caption) to work! (for some reason, #37 doesn't work at all, it returns SSL_ERROR_INTERNAL_ERROR_ALERT error. please make it work back, that was essential for reels that have useless caption).

And there is two things happened when you click on the /grid link.

  1. If it's not a grid (post that only has one photos, reels included), it will redirect to instagram cdn instead scontent.cdninstagram.com
  2. If it's a grid, it will not redirect anywhere, I think it should redirect to instagram.com/p/

/grid also doesn't work for video posts, but there's many of them (404 Not Found), example:
https://instagram.com/p/C3sd_sRo-SH/ (this is what I could find)
If you put /p, /reel, /reels instead it will only show the first video

d.ddinstagram.com should work now

d.ddinstagram.com should work now

Just suggestion, maybe it would be helpful to put this in the README file? Cause before, I had no idea it exists until I search through the issue tab

instead it will only show the first video

what about we add a number in the end?
So https://ddinstagram.com/p/C3sd_sRo-SH/1 will show the first post, https://ddinstagram.com/p/C3sd_sRo-SH/2 will show the second, etc.

another note, grid only shows the first 4 picture.