Fix Foursquare require and configuration.