Sorry for the late comment here.
Instagram seem to change the names (id’s and classes) once in a while. Properply dynamicly everytime they deploy a new version.
When they do so, the code doenst work.
You would have to inspect their site again, and start over.
I can make a videoguide showing how to do it, if you guys want?