# What I Found When I Went Through My Facebook Location Data

For some time Facebook has been allowing users to download the data it has on them, so one curious night I went ahead and downloaded all of my location data that Facebook has.

![](https://cdn-images-1.medium.com/max/1024/1*tkbyxMYY69-yfg3rVlc6bQ.png)<figcaption>Screen Capture: Facebook, Download Your Information Page</figcaption>

Facebook allows you to download your data as browser viewable HTML, but that view isn’t really interesting and doesn’t reveal much (as Facebook would probably want 🤷‍♂️). The HTML view just gives you a boring list of coordinates like this.

![](https://cdn-images-1.medium.com/max/1024/1*soQh7xPvDrB0k_uONdzFkA.png)<figcaption>Screen Capture: Facebook User Location Data</figcaption>

I downloaded the data in JSON which is another of the supported formats and did some basic stats & visualizations.

_I have been a Facebook user since 2011 but started using the Facebook app on my phone 3–4 years later. All of the stats and visualizations here are from location data ranging from January 2015–April 2019._

### **Number of Times Facebook Stored My Location**

Facebook accessed and stored my location for a total of **2818** times in the period from _start of 2015 to April of 2019_ averaging almost **650 times a year** , **54 times a month** 🙀 or **twice every day** 😮. When you think about these numbers for a moment, it almost feels like basically being tracked literally all the time!

### Stored Locations By Year

Facebook’s location collection seems to be tied with how often your location changes and obviously having your phone’s location turned on is a prerequisite. This graph shows a trend of location entries by each year.

![](https://cdn-images-1.medium.com/max/1024/1*AYEVAoQwzEWa583w2c7ODQ.png)<figcaption>My location data on Facebook by year</figcaption>

The reason for the huge spike in data collection from 2016 to 2017 is maybe due to some change in Facebook’s location collection policy or probably I just bought a good smartphone in 2017 and started having the location turned on all the time on my Android smartphone.

### **Busiest Location Collection Days**

Digging deeper into the data, I went ahead and filtered out the ten days which had the highest location collection frequency. Can you guess how many times at maximum my location got stored on Facebook on any given day?

50, 100? Nope, **Two Hundred and Thirty-Eight** times!

![](https://cdn-images-1.medium.com/max/1024/1*eXbaCvvNeb6LhsaQuB6q8w.png)<figcaption>Top 10 Highest Location Collection Days</figcaption>

Turns out I was traveling on that particular day and was on the road for the most part of my day and Facebook like any worried parent would do, checked on me for **238**  times…

### **What would all of this data look like on a map?**

Naturally I wanted to put all of this latitude and longitude data on an actual map to visualize where I have been moving around in all these years!

![](https://cdn-images-1.medium.com/max/1024/1*rrsvxcDsEtK1h0kK359tFA.png)<figcaption>My location data from Facebook on my hometown’s map</figcaption>

So this above is a visual representation of my location data that Facebook has almost in a 15km radius of my house in my hometown (Lahore, PK). Each blue dot represents one instance of a location captured and stored by Facebook.

For some of the locations marked here I didn’t even remember visiting that area but thanks to Facebook for providing hard evidence I recalled **_everywhere I’ve been in the past 4 years _** 🙃

With the location data, timings for each location capture and Facebook’s resources it is very easy to infer any Facebook app user’s home address, workplace, where do they go on weekends regularly, which restaurants they eat at and so on. **_All of this definitely makes targeting ads easier and of course classifying specific user personas for political and social purposes_**.

Considering the latest speculation about Facebook launching a dating service of their own, this data could be of a lot more use in _“_👫 _bringing people together”!_

So, next time when you meet someone and the next thing is that they start appearing in your ‘_Suggested Friends_’ list don’t get surprised 😆

You can find detailed analysis on my Facebook data here on Kaggle

[https://www.kaggle.com/helahi/facebook-messages-analysis](https://www.kaggle.com/helahi/facebook-messages-analysis)

_Thank you for making it through! If you think I should dig in some more into this data to find any other stats or patterns, let me know in the comments or get in touch with me on Twitter [@haseebelaahi](https://twitter.com/haseebelaahi)!_ 

