{"id":1670,"date":"2011-07-04T05:47:46","date_gmt":"2011-07-04T13:47:46","guid":{"rendered":"http:\/\/owenmundy.com\/blog\/?p=1670"},"modified":"2011-07-04T11:39:28","modified_gmt":"2011-07-04T19:39:28","slug":"give-me-my-data-upgrade-new-api-authorization-and-data-formats","status":"publish","type":"post","link":"https:\/\/owenmundy.com\/blog\/2011\/07\/give-me-my-data-upgrade-new-api-authorization-and-data-formats\/","title":{"rendered":"Give Me My Data upgrade: New API, authorization, and data formats"},"content":{"rendered":"<p><a href=\"https:\/\/owenmundy.com\/blog\/wp-content\/uploads\/2011\/07\/Picture-28.png\"><img decoding=\"async\" src=\"https:\/\/owenmundy.com\/blog\/wp-content\/uploads\/2011\/07\/Picture-28.png\" alt=\"\" title=\"Picture 28\" width=\"600\" \/><\/a><\/p>\n<p>No one would be surprised to learn that almost all of the user-generated content websites use our personal data to sell advertisements. In fact 97% of Google&#8217;s revenue comes from advertising.[1] That&#8217;s why it&#8217;s important these sites provide as much access as possible to the real owners of our data&dash;<i>us<\/i>. After all, we put it there and allow them to use it in exchange for the use of their software. Seems like a fair trade if you ask me.<\/p>\n<p>A year and a half ago Facebook didn&#8217;t provide any access. That&#8217;s why I created <a target=\"_blank\" href=\"http:\/\/givememydata.com\">Give Me My Data<\/a>, to help users reclaim and reuse their personal data <i>they<\/i> put on Facebook. <\/p>\n<p>By giving more agency to users of online systems, Give Me My Data may have already impacted the nature of online application development. In November 2010, almost a year after I launched Give Me My Data, Facebook <a target=\"_blank\" href=\"https:\/\/www.facebook.com\/help\/?topic=download\">created their own service<\/a> for users to export their profile from Facebook as a series of HTML pages. Unlike Give Me My Data, the Facebook service doesn&#8217;t allow you to select which data you want or to choose custom formats to export. It also doesn&#8217;t give you options for visualization like the custom network graphs that Give Me My Data offers.<\/p>\n<p>I believe their motivation originates in part with my application, likely due to the <a target=\"_blank\" href=\"http:\/\/givememydata.com\/#press\">popularity<\/a> of Give Me My Data, and points to the potential usefulness of similar apps. While years down the road may reveal many other online systems giving users control over their data, I see this as a positive effect where the content we create, as well as the means to share and manage it, are democratized.<\/p>\n<p>Meanwhile, the above also keeps me hard at work developing the Give Me My Data project. This week I rewrote the program to use Facebook&#8217;s new OAuth authorization, which also required rewriting all of the code that fetches the data. Previously it used the REST API which is being deprecated (sometime?) in the future. I also added new data types, fixed the CSV format (which had the rows and columns mixed-up), and added the possibility to export in the JSON data format. <\/p>\n<p>Finally, in the data selector, I distinguished standard data and customized data types. When I say customized, I mean that I&#8217;ve written code that mashes together more than one data table and\/or addresses a specific question. For example, right now users can select from two types of network graphs and corresponding formats. One describes the user&#8217;s relationship to their friends, and the other describes the user&#8217;s relationship to their friends, as well as all their friends&#8217; relationships to each other in various graph description languages. This is how I made the network graph image below. I&#8217;m also interested in hearing other suggestions for custom queries I might add. The project will be open source on Github soon, so even code contributions will be welcome.<\/p>\n<p>Anyway, please <a href=\"http:\/\/apps.facebook.com\/give_me_my_data\/\">try out the new version<\/a>. You may have to delete the app from your allowed applications and then re-authorize it if you&#8217;ve used it before. As usual, you can provide feedback on the <a href=\"http:\/\/www.facebook.com\/apps\/application.php?id=206330625089\">application page<\/a>, and you can also contact me on Twitter via <a href=\"http:\/\/twitter.com\/#!\/givememydata\">@givememydata<\/a>.<\/p>\n<p><a href=\"https:\/\/owenmundy.com\/blog\/wp-content\/uploads\/2011\/07\/fb_mutualfriends_20101123_3_fb-blue_970w.jpg\"><img decoding=\"async\" src=\"https:\/\/owenmundy.com\/blog\/wp-content\/uploads\/2011\/07\/fb_mutualfriends_20101123_3_fb-blue_970w.jpg\" alt=\"\" title=\"fb_mutualfriends_20101123_3_fb-blue_970w\" width=\"600\" \/><\/a><\/p>\n<p>[1] \u201c<a href=\"http:\/\/www.sec.gov\/Archives\/edgar\/data\/1288776\/000119312509150129\/dex992.htm\">Google Financial Tables for Quarter ending June 30, 2009<\/a>\u201d Retrieved October 13, 2010<\/p>\n","protected":false},"excerpt":{"rendered":"<p>No one would be surprised to learn that almost all of the user-generated content websites use our personal data to sell advertisements. In fact 97% of Google&#8217;s revenue comes from advertising.[1] That&#8217;s why it&#8217;s important these sites provide as much access as possible to the real owners of our data&dash;us. After all, we put it [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/owenmundy.com\/blog\/2011\/07\/give-me-my-data-upgrade-new-api-authorization-and-data-formats\/\">Read More&#8230;<span class=\"screen-reader-text\"> from Give Me My Data upgrade: New API, authorization, and data formats<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[42,105],"tags":[73,76,110,79,10,44,61],"class_list":["post-1670","post","type-post","status-publish","format-standard","hentry","category-code","category-launch","tag-data","tag-facebook","tag-give-me-my-data","tag-graphs","tag-networks","tag-php","tag-visualization"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2ovQg-qW","_links":{"self":[{"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/posts\/1670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/comments?post=1670"}],"version-history":[{"count":11,"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/posts\/1670\/revisions"}],"predecessor-version":[{"id":1685,"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/posts\/1670\/revisions\/1685"}],"wp:attachment":[{"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/media?parent=1670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/categories?post=1670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/owenmundy.com\/blog\/wp-json\/wp\/v2\/tags?post=1670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}