} } else { setSigninCookie($response['data']['token']); } //do contact importing } } catch (Exception $e) { setSigninFailedCooie(); } } //$updates = $oauthapp->getUpdates(null, 0, 20); //$connections = $oauthapp->getConnections(null, 0, 1000); header('Cache-Control: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); header('Pragma: no-cache'); header('X-XRDS-Location: http://wd.sharethis.com/xrds.xml'); print_r(count($oauthapp->getContacts(null, 0, 5000))); //echo "$email_address<zp/>"; //echo "$nickname<p/>"; //echo "$fullname<p/>"; //print_r($auth_token); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="X-XRDS-Location" content="http://wd.sharethis.com/xrds.xml"/> <title>ShareThis Yahoo! Sign-in</title> </head> <body>