{"id":20455655,"url":"https://github.com/datamgmt/facebook-data-mining","last_synced_at":"2025-04-13T03:42:20.688Z","repository":{"id":3480632,"uuid":"4536056","full_name":"datamgmt/facebook-data-mining","owner":"datamgmt","description":"Facebook Data Mining","archived":false,"fork":false,"pushed_at":"2012-06-14T06:50:45.000Z","size":154,"stargazers_count":84,"open_issues_count":1,"forks_count":61,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-26T20:51:31.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datamgmt.png","metadata":{"files":{"readme":"ReadMe.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-03T09:18:21.000Z","updated_at":"2023-10-16T14:03:43.000Z","dependencies_parsed_at":"2022-08-20T03:50:17.396Z","dependency_job_id":null,"html_url":"https://github.com/datamgmt/facebook-data-mining","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamgmt%2Ffacebook-data-mining","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamgmt%2Ffacebook-data-mining/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamgmt%2Ffacebook-data-mining/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamgmt%2Ffacebook-data-mining/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datamgmt","download_url":"https://codeload.github.com/datamgmt/facebook-data-mining/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248661078,"owners_count":21141391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T11:19:30.090Z","updated_at":"2025-04-13T03:42:20.667Z","avatar_url":"https://github.com/datamgmt.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"Facebook Data Mining in R\n\nIntroduction\n\nThis 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.\n\nAbout The Script\n\nThe scripts are broken up into a number of groups as follows:\n\n * Setup.R - Sets up the environment required\n * Demo.R - A demonstration of personal data\n * DemoGeorgeTakei.R - A demonstration of data available from Star Trek actor and activist George Takei (Sulu)\n * DemoTED.R - A demonstration of data available from TED.com's video posts\n\nAll the other scripts called from these four scripts\n\nGetting Started\n\n * First you need an access token. To do this you need to visit https://developers.facebook.com/tools/explorer', \n   login and click \"Get access token\" and then paste this into the appropriate place in AccessToken.R\n\n * Next from within R (or RStudio - http://rstudio.org, my personal preferred method) run the following command:\n\n   source(\"Setup.R\")\n\n\tThis will ensure that all the required packages from the demo and installed and loaded (by calling Requirements.R)\n\tand that all the shared functions that are required are created (by calling Functions.R) \n\t\nThe Demos\n\nAt the three demos listed above can be called with:\n\n\tsource(\"Demo.R\")\n\tsource(\"DemoGeorgeTakei.R\")\n\tsource(\"DemoTED.R\")\n\t\nEach of these will call some of the following functions:\n\n\tAccessToken.R - Gives access to the API - called by all scripts\n\tIndividual.R - Gets data associated with the individual - called by all scripts\n\tFriends.R - Gets data associated with an individuals friends - called by Demo.R\n\tPhotos.R - Gets photographs associated with an individual and their friends - called by Demo.R\n\tNetwork.R - Plots the social network of a group of friends in various formats/methods - called by Demo.R\n\tPosts.R - Gets various pieces of information about posts made by an individual - called by all scripts\n\n\nList of source URLs used in the development of these scripts\n\nhttp://romainfrancois.blog.free.fr/index.php?post/2012/01/15/Crawling-facebook-with-R\nhttp://blog.revolutionanalytics.com/2012/01/visualize-your-facebook-friends-network-with-r.html\nhttp://applyr.blogspot.co.uk/2012/01/mining-facebook-data-most-liked-status.html?spref=tw\nhttps://github.com/sciruela/facebookFriends\nhttp://google-styleguide.googlecode.com/svn/trunk/google-r-style.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamgmt%2Ffacebook-data-mining","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatamgmt%2Ffacebook-data-mining","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamgmt%2Ffacebook-data-mining/lists"}