Not all of it is data you can access as the public. However as the author of a program with access to internet and location you can easily upload where the phone is at all times and thus figure out when two are near each other. (this is why newer phones OSes let users choose if the program can access these things all the time or only when active)