updated code to adopt breaking changes to foursquare api