Patent attributes
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for visibility filtering. One of the methods includes receiving a request for particular data on a social messaging platform; passing the request to one or more services, wherein each service is configured to call to data sources or to additional services to collect the particular data according to a request path defined for a type of request; performing visibility filtering at each service upon obtaining responses to calls made by that service, wherein performing visibility filtering at a service comprises calling a local visibility library that evaluates one or more rules with respect to the obtained response data, and wherein the results of the visibility filtering are passed upstream along the request path until a last service obtains all filtered response data; and assembling a final response to the request based on the filtered response data.