Well what you described has absolutely nothing to do with GP's premise, and to which I was replying:
> But you let your friend you your wireless off his phone, and he had the FB app and location services on. Well, FB now knows exactly where your IP is, for a while at least.
This isn’t a conspiracy; Apple and Google have been doing this sort of triangulation for a long time, and even use it as a method of saving battery while avoiding the GPS radio.
Any app on your phone, including the Facebook app, can see nearby WiFi networks (maybe this is a gated permission now?). If the app has enough users with GPS enabled, its developer can easily build a GPS/WiFi map.