For anyone seeing this after 2025. Facebook announced the depreciation of Instagram's basic display API more on this link. So we must use the new Instagram API with Instagram Login API:
Use that to set up a custom Instagram account for testing and generate an access token: