With Nearby Friends, your location history is private to you and only you — until the social network decides otherwise. Surprised? Don’t be. Facebook is in the advertising business.
See more here:
Facebook to share location history with advertisers — but won’t say when