From be767ca576ad15dadac369ae2fb251e7ea0f1ea7 Mon Sep 17 00:00:00 2001 From: Davide Pastore Date: Sun, 3 Nov 2013 18:19:36 +0100 Subject: [PATCH 1/2] Rename ReadMe.txt to ReadMe.md --- ReadMe.txt => ReadMe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename ReadMe.txt => ReadMe.md (99%) diff --git a/ReadMe.txt b/ReadMe.md similarity index 99% rename from ReadMe.txt rename to ReadMe.md index 9af9916..e8c7bb7 100644 --- a/ReadMe.txt +++ b/ReadMe.md @@ -51,4 +51,4 @@ http://romainfrancois.blog.free.fr/index.php?post/2012/01/15/Crawling-facebook-w http://blog.revolutionanalytics.com/2012/01/visualize-your-facebook-friends-network-with-r.html http://applyr.blogspot.co.uk/2012/01/mining-facebook-data-most-liked-status.html?spref=tw https://github.com/sciruela/facebookFriends -http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html \ No newline at end of file +http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html From 2f7a03da24511c4436e3aa6803c969b9a5403936 Mon Sep 17 00:00:00 2001 From: Davide Pastore Date: Sun, 3 Nov 2013 18:33:13 +0100 Subject: [PATCH 2/2] Update ReadMe.md Converted the layout to markdown. --- ReadMe.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index e8c7bb7..d3bc4a4 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,10 +1,13 @@ Facebook Data Mining in R +========================= Introduction +------------ This group of scripts was inspired by a series of posts on how to data mine Facebook data. The scripts allow you to connect to the Facebook graph API and download data associated with an individual, their posts, friends, etc. and then analyse and graaph these in various ways. About The Script +---------------- The scripts are broken up into a number of groups as follows: @@ -16,18 +19,20 @@ The scripts are broken up into a number of groups as follows: All the other scripts called from these four scripts Getting Started +--------------- * First you need an access token. To do this you need to visit https://developers.facebook.com/tools/explorer', login and click "Get access token" and then paste this into the appropriate place in AccessToken.R * Next from within R (or RStudio - http://rstudio.org, my personal preferred method) run the following command: - source("Setup.R") - - This will ensure that all the required packages from the demo and installed and loaded (by calling Requirements.R) - and that all the shared functions that are required are created (by calling Functions.R) + source("Setup.R") + + This will ensure that all the required packages from the demo and installed and loaded (by calling Requirements.R) + and that all the shared functions that are required are created (by calling Functions.R) The Demos +--------- At the three demos listed above can be called with: @@ -46,9 +51,14 @@ Each of these will call some of the following functions: List of source URLs used in the development of these scripts +------------------------------------------------------------ http://romainfrancois.blog.free.fr/index.php?post/2012/01/15/Crawling-facebook-with-R + http://blog.revolutionanalytics.com/2012/01/visualize-your-facebook-friends-network-with-r.html + http://applyr.blogspot.co.uk/2012/01/mining-facebook-data-most-liked-status.html?spref=tw + https://github.com/sciruela/facebookFriends + http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html