public function api(FacebookSession $fbsession, $method, $call)
	{
		try 
		{
		  $facebookResponse = (new FacebookRequest($fbsession, $method, $call))->execute();

		  return $graphObject = $facebookResponse->getGraphObject();
		} 
		catch (FacebookRequestException $ex)
		{
		  throw new FacebookException($ex->getMessage());
		}
		catch (\Exception $ex)
		{
		  throw new FacebookException($ex->getMessage());
		}
	}
public function api(FacebookSession $fbsession, $method, $call)
	{
		try 
		{
		  $facebookResponse = (new FacebookRequest($fbsession, $method, $call))->execute();

		  return $graphObject = $facebookResponse->getGraphObject();
		} 
		catch (FacebookRequestException $ex)
		{
		  throw new FacebookException($ex->getMessage());
		}
		catch (\Exception $ex)
		{
		  throw new FacebookException($ex->getMessage());
		}
	}
public function api ( FacebookSession $ fbsession , $ method , $ call ) { try { $ facebookResponse = ( new FacebookRequest ( $ fbsession , $ method , $ call ) ) -> execute ( ) ; return $ graphObject = $ facebookResponse -> getGraphObject ( ) ; } catch ( FacebookRequestException $ ex ) { throw new FacebookException ( $ ex -> getMessage ( ) ) ; } catch ( \ Exception $ ex ) { throw new FacebookException ( $ ex -> getMessage ( ) ) ; } }
Make a request into facebook api.

@param  FacebookSession $fbsession
@param  string $method
@param  string $call
@return FacebookRequest
Make a request into facebook api .