* @param authToken
* the token returned by auth_createToken or passed back to your callback_url.
*/
public String auth_getSession( String authToken ) throws FacebookException, IOException {
JAXBElement obj = (JAXBElement) callMethod( FacebookMethod.AUTH_GET_SESSION, new Pair<String,CharSequence>( "auth_token", authToken.toString() ) );
SessionInfo d = (SessionInfo) obj.getValue();
this.cacheSessionKey = d.getSessionKey();
this.cacheUserId = d.getUid();
this.cacheSessionExpires = (long) d.getExpires();
if ( this._isDesktop ) {
this.cacheSessionSecret = d.getSecret();
}
return this.cacheSessionKey;
}