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

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

        return $response->user;

    }
public function approve($friendId)
    {

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

        return $response->user;

    }
public function approve ( $ friendId ) { $ uri = $ this -> buildUserResourceUri ( 'approve' , $ friendId ) ; $ response = $ this -> makeAuthenticatedApiRequest ( $ uri ) ; return $ response -> user ; }
Approves a pending friend request from another user.
@param string $friendId
@return \stdClass
Approves a pending friend request from another user .