original_string: private function getFacebookSession($accessToken)
  	{
  		$facebookSession = new FacebookSession($accessToken);
  
  		try 
  		{
  		  $facebookSession->validate();
  
  		  return $facebookSession;
  		} 
  		catch (FacebookRequestException $ex)
  		{
  			throw new FacebookException($ex->getMessage());
  		}
  		catch (\Exception $ex) 
  		{
  			throw new FacebookException($ex->getMessage());
  		}
  	}
code: private function getFacebookSession($accessToken)
  	{
  		$facebookSession = new FacebookSession($accessToken);
  
  		try 
  		{
  		  $facebookSession->validate();
  
  		  return $facebookSession;
  		} 
  		catch (FacebookRequestException $ex)
  		{
  			throw new FacebookException($ex->getMessage());
  		}
  		catch (\Exception $ex) 
  		{
  			throw new FacebookException($ex->getMessage());
  		}
  	}
code_tokens: private function getFacebookSession ( $ accessToken ) { $ facebookSession = new FacebookSession ( $ accessToken ) ; try { $ facebookSession -> validate ( ) ; return $ facebookSession ; } catch ( FacebookRequestException $ ex ) { throw new FacebookException ( $ ex -> getMessage ( ) ) ; } catch ( \ Exception $ ex ) { throw new FacebookException ( $ ex -> getMessage ( ) ) ; } }
docstring: Get the FacebookSession through an access_token.
  
  @param  string $accessToken
  @return FacebookSession
docstring_tokens: Get the FacebookSession through an access_token .