{"id":3002,"date":"2014-05-19T17:38:11","date_gmt":"2014-05-19T21:38:11","guid":{"rendered":"http:\/\/patorjk.com\/blog\/?p=3002"},"modified":"2014-05-19T17:38:11","modified_gmt":"2014-05-19T21:38:11","slug":"analyzing-my-facebook-activity-log","status":"publish","type":"post","link":"https:\/\/patorjk.com\/blog\/2014\/05\/19\/analyzing-my-facebook-activity-log\/","title":{"rendered":"Analyzing My Facebook Activity Log"},"content":{"rendered":"<p>Have you ever wondered what your Facebook likes say about you? And if there are any people whose posts you seem to favor? I was curious, so I decided to dig around and see if I could find some stats for likes. I couldn&#8217;t, so I decided to turn to the Facebook API. Unfortunately its like information seemed <a href=\"http:\/\/stackoverflow.com\/questions\/8496980\/getting-user-likes-of-stream-items-via-fql-posts-comments-pictures-links-et\">limited<\/a> for <a href=\"http:\/\/stackoverflow.com\/questions\/6528850\/get-all-of-a-users-likes-all-of-them-with-fql\/6747438#6747438\">privacy reasons<\/a>*. Next I tried to get the information from the <a href=\"https:\/\/www.facebook.com\/help\/131112897028467\">export<\/a> feature Facebook offers. Sadly it <a href=\"https:\/\/www.facebook.com\/help\/community\/question\/?id=634556393223841\">didn&#8217;t have<\/a> this data either. However, the <a href=\"https:\/\/www.facebook.com\/me\/allactivity?privacy_source=activity_log&#038;log_filter=likedposts\">activity log<\/a> page chronicled my like history and was just what I was looking for.<\/p>\n<p>I loaded as much information from this page as I could (for some reason it breaks for me around March 2012), and saved it off to a file. I then wrote a <a href=\"https:\/\/gist.github.com\/patorjk\/a0a1a1a67ecdd99524a5\">quick script<\/a> to process the data and plugged my activity log into it. The results that were spit out stated that over the past two years I&#8217;d liked 1,088 posts and that of my 133 friends, half of my likes were going to just 5 of them (~4%).<\/p>\n<p>Even more interesting, these 5 people were all family members. I&#8217;m not sure if that&#8217;s just a side effect of me interacting with my family more than my friends, if my family just posts a lot, or if I&#8217;m just ignoring my friends. Whatever the case, I didn&#8217;t realize I had such a bias with my likes. Though then again, if my Activity Log wasn&#8217;t broken for the pre-2012 time period, I wonder if the results would have been different. I had my first child in 2012, and I like most pics with him in it, so that could have been skewing the results. Also, come to think of it, my dog died last year and I went back and liked a lot of pictures of him in it, so that could be skewing things too.<\/p>\n<p>Though peculiar, I&#8217;m only one data point, so an analysis of my data doesn&#8217;t really say anything about anyone else. If you&#8217;re curious about your own liking biases,  I&#8217;ve put <a href=\"https:\/\/gist.github.com\/patorjk\/a0a1a1a67ecdd99524a5\">the script<\/a> online as a gist.<\/p>\n<h3>Other Analysis<\/h3>\n<p>I&#8217;m not the first person to want to analyze their data. Wolfram Alpha has an <a href=\"http:\/\/www.wolframalpha.com\/facebook\/\">online app<\/a> that does an in-depth analysis of a person&#8217;s Facebook data. And while it delivers a treasure trove of neat information (example: my friends fall into 5 different groups of connected users), it fails to say much about likes.<\/p>\n<p>Other, less public tools**, have been developed to comb through this like data though. Dr. Jennifer Golbeck gave a <a href=\"https:\/\/www.ted.com\/talks\/jennifer_golbeck_the_curly_fry_conundrum_why_social_media_likes_say_more_than_you_might_think\">Ted Talk<\/a> last Fall on what your likes say about you and how they&#8217;re used by companies. In it she mentions how <a href=\"http:\/\/www.cam.ac.uk\/research\/news\/digital-records-could-expose-intimate-details-and-personality-traits-of-millions\">researchers were able to correlate IQ<\/a> with people who liked the Facebook page &#8220;Curly Fries&#8221;. She also mentions how many other attributes such as sexuality and religion can be predicted to a high certainly based on what you like. <\/p>\n<p>It&#8217;s probably a no-brainer big companies like Facebook and Google are mining this info for ad purposes. I couldn&#8217;t find information on Facebook&#8217;s analysis, but Google actually provides a <a href=\"https:\/\/www.google.com\/settings\/u\/0\/ads\">page<\/a> where you can see what they think of you. However, it&#8217;s pretty simple, and I&#8217;d be surprised if that was all they had.<\/p>\n<h3>Conclusion<\/h3>\n<p>I&#8217;ve only done a simple analysis of my own data, so there&#8217;s a lot more to say for this subject. However, it was kind of eye opening to see where most of my likes were going. Additionally, I think it&#8217;d be interesting if there was an app you could use to analyze your own data to see what it said about you. Golbeck joked about starting a company that would sell reports about potential employees to HR people &#8211; but, I think it&#8217;d be useful if people could generate those kind of reports about themselves. It could help you learn things about your subconscious behaviors or possibly better control your online image.<\/p>\n<p>* Before posting this, I revisited the Facebook API, and I think the data I gleaned from the activity log could also have been retrieved through a bunch of <a href=\"https:\/\/developers.facebook.com\/tools\/explorer?fql\">FQL queries<\/a>. If I were to write a proper app, I&#8217;d probably try and use FQL, however, writing a script to parse the activity long was pretty quick and painless.<br \/>\n** I could only find studies, I couldn&#8217;t find any source code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever wondered what your Facebook likes say about you? And if there are any people whose posts you seem to favor? I was curious, so I decided to dig around and see if I could find some stats for likes. I couldn&#8217;t, so I decided to turn to the Facebook API. Unfortunately its &hellip; <a href=\"https:\/\/patorjk.com\/blog\/2014\/05\/19\/analyzing-my-facebook-activity-log\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Analyzing My Facebook Activity Log<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-3002","post","type-post","status-publish","format-standard","hentry","category-personal"],"_links":{"self":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/comments?post=3002"}],"version-history":[{"count":37,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3002\/revisions"}],"predecessor-version":[{"id":3040,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3002\/revisions\/3040"}],"wp:attachment":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/media?parent=3002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/categories?post=3002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/tags?post=3002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}