Yes, that’s my assumption, although IIRC I never gave FB location permissions, so it might be temporarily sharing an IP address by being on the same WiFi or something. Come to think of it they had access to WiFi SSIDs as well in the early days even when location permissions were off.