vikashranjan / facebook-data-mining Goto Github PK
View Code? Open in Web Editor NEWThis project forked from datamgmt/facebook-data-mining
Facebook Data Mining
This project forked from datamgmt/facebook-data-mining
Facebook Data Mining
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: * Setup.R - Sets up the environment required * Demo.R - A demonstration of personal data * DemoGeorgeTakei.R - A demonstration of data available from Star Trek actor and activist George Takei (Sulu) * DemoTED.R - A demonstration of data available from TED.com's video posts 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) The Demos At the three demos listed above can be called with: source("Demo.R") source("DemoGeorgeTakei.R") source("DemoTED.R") Each of these will call some of the following functions: AccessToken.R - Gives access to the API - called by all scripts Individual.R - Gets data associated with the individual - called by all scripts Friends.R - Gets data associated with an individuals friends - called by Demo.R Photos.R - Gets photographs associated with an individual and their friends - called by Demo.R Network.R - Plots the social network of a group of friends in various formats/methods - called by Demo.R Posts.R - Gets various pieces of information about posts made by an individual - called by all scripts 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.