Added $params parameter to recentPhotosFor* functions