Update instagram.class.php

Changed the parameter name from max_id to cursor and next_max_id to next_cursor - to fix repeating the same result. it works now