That project shared details of members’ activities on certain outside sites to all of their Facebook friends. This is from an article in the New York Times. This is about Facebook's rolling back to its old terms of service. I'd like to know the sentence above is grammatically correct. As far as I know, "share" is used with "with" not "to".