public static function getAuthorizationLink(
        $client_id,
        $redirect_url,
        $state = '',
        $url = 'https://runkeeper.com/apps/authorize'
    ) {
        $data = array(
            'client_id' => $client_id,
            'response_type' => 'code',
            'redirect_uri' => $redirect_url,
            'state' => $state,
        );
        return (string) \Guzzle\Http\Url::factory($url)->setQuery($data);
    }
public static function getAuthorizationLink(
        $client_id,
        $redirect_url,
        $state = '',
        $url = 'https://runkeeper.com/apps/authorize'
    ) {
        $data = array(
            'client_id' => $client_id,
            'response_type' => 'code',
            'redirect_uri' => $redirect_url,
            'state' => $state,
        );
        return (string) \Guzzle\Http\Url::factory($url)->setQuery($data);
    }
public static function getAuthorizationLink ( $ client_id , $ redirect_url , $ state = '' , $ url = 'https://runkeeper.com/apps/authorize' ) { $ data = array ( 'client_id' => $ client_id , 'response_type' => 'code' , 'redirect_uri' => $ redirect_url , 'state' => $ state , ) ; return ( string ) \ Guzzle \ Http \ Url :: factory ( $ url ) -> setQuery ( $ data ) ; }
Generates a link for establishing a connection with a RunKeeper account.

@param string $client_id
The unique identifier that your application received upon registration.
@param string $redirect_url
The page on your site where the user will be redirected after accepting
or denying the access request.
@param string $url
@return string
Generates a link for establishing a connection with a RunKeeper account .