Please point to the official documentation: instagram.com/developer/authentication/