lib/TheTwelve/Foursquare/VenuesGateway.php
public function nextVenues($venueId)
    {

        $resource = '/venues/' . $venueId . '/nextvenues';
        $response = $this->makeApiRequest($resource);

        if(property_exists($response, 'nextVenues')) {
            return $response->nextVenues->items;
        }

        return array();

    }
public function nextVenues($venueId)
    {

        $resource = '/venues/' . $venueId . '/nextvenues';
        $response = $this->makeApiRequest($resource);

        if(property_exists($response, 'nextVenues')) {
            return $response->nextVenues->items;
        }

        return array();

    }
public function nextVenues ( $ venueId ) { $ resource = '/venues/' . $ venueId . '/nextvenues' ; $ response = $ this -> makeApiRequest ( $ resource ) ; if ( property_exists ( $ response , 'nextVenues' ) ) { return $ response -> nextVenues -> items ; } return array ( ) ; }
Returns venues that people often check in to after the current venue.
@param $venueId
@return array
Returns venues that people often check in to after the current venue .