lib/TheTwelve/Foursquare/UsersGateway.php
public function request($friendId)
    {

        $uri = $this->buildUserResourceUri('request', $friendId);
        $response = $this->makeAuthenticatedApiRequest($uri);

        return $response->user;

    }
public function request($friendId)
    {

        $uri = $this->buildUserResourceUri('request', $friendId);
        $response = $this->makeAuthenticatedApiRequest($uri);

        return $response->user;

    }
public function request ( $ friendId ) { $ uri = $ this -> buildUserResourceUri ( 'request' , $ friendId ) ; $ response = $ this -> makeAuthenticatedApiRequest ( $ uri ) ; return $ response -> user ; }
Sends a friend request to another user. If the other user is a page
then the requesting user will automatically start following the page.
@param string $friendId
@return \stdClass
Sends a friend request to another user . If the other user is a page then the requesting user will automatically start following the page .