Fixed issue on php-instagram-api package branch.