IRECT_URI&response_type=code&scope=profile email';
              });

              document.getElementById('facebook-login').addEventListener('click', function () {
                window.location.href = 'https://www.facebook.com/v13.0/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=YOUR_REDIRECT_URI&response_type=code&scope=public_profile email';
              });

              document.getElementById('twitter-login').addEventListener('click', function () {
                window.location.href = 'https:/