 be found in the documentation
              // for FB.getLoginStatus().
              if (response.status === 'connected') {
                // Logged into your app and Facebook.
                testAPI();
              } else if (response.status === 'not_authorized') {
                // The person is logged into Facebook, but not your app.
                document.getElementById('status').innerHTML = 'Please log ' +
                  'into this app.';
              } else {
                // The person 