generized the social feed widget