4 function showYammerAuth()
6 $token = $yam->requestToken();
7 $url = $yam->authorizeUrl($token);
9 // We're going to try doing this in an iframe; if that's not happy
10 // we can redirect but there doesn't seem to be a way to get Yammer's
11 // oauth to call us back instead of the manual copy. :(
13 //common_redirect($url, 303);
14 $this->element('iframe', array('id' => 'yammer-oauth',