SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
1 | P a g e
Statistical Analysis of Personal Facebook
Account Details using R
Study Report
01st
October 2015
Sanjaya Ratnayake
sanjurat@yahoo.com
+94 77 2841457
2 | P a g e
1. Introduction
Facebook is an online social networking service and allows a person (at least 13 years old)
in interested in Facebook to become a registered user of this website. Today, Facebook is
the world's largest social network, with more than 1 billion users worldwide.
There are already lots of other ways to communicate online, such as email, instant
messaging, and so on. But still many people like using Facebook. What makes Facebook
unique is the ability to connect and share with the people you care about at the same time.
Today, having a Facebook account is now an expected part of being online, much like having
your own email address. And since Facebook is so popular, other websites are interested in
integrating Facebook to their web sites. This means you can use a single Facebook account
to sign in to different services across the Web.
This site is available in 37 different languages, includes public features such as:
 Marketplace - allows members to post, read and respond to classified ads.
 Groups - allows members who have common interests to find each other and
interact.
 Events - allows members to publicize an event, invite guests and track who plans to
attend.
 Pages - allows members to create and promote a public page built around a specific
topic.
 Presence technology - allows members to see which contacts are online and chat.
2. Methodology
The steps are as follows:
Step 1: installing required libraries to R environment
Step 2: Generating Token Key from Facebook
Step 3: Retrieving Information from Facebook
Step 4: Advance Graphical Representation of results
3. Configuration of R Libraries
Initially it is required to install six libraries. They are,
RFacebook
httpuv
RColorBrewer
RCurl
rjson
httr
3 | P a g e
For that below code can be used.
Now the required libraries can be imported.
For that below code can be used.
4. Configuration of Facebook
Login to Facebook and navigate to: developers.facebook.com
Go to “Tools and Support” section and navigate to “Graphic API Explorer”.
From the “Graphic API Explorer” Click “Get Token” and select “Get User Access Token”.
4 | P a g e
Then select all permissions, under “User Data Permission” and “Extended Permission” and
click “Get Access Token”.
5 | P a g e
5. Connecting to Facebook using R
Copy the token key and assign that to a variable in R. In R, it is possible to use below code.
I have assign it to a variable call “tkn”.
6. Retrieving the user details
In order to obtain the user details, getUser() function can be used.
Below code can use. The Token variable need to use as a parameter for it.
7. Retrieving the friends details
For that getFriends() function can be used. The getFriends() return values have assigned to
a variable call myfrds and converted it to a string.
6 | P a g e
8. Retrieving the friends relationship status
For that friend object (in this case myfrds) is required to use relationship_status attribute.
The data are shown in Pie chart and for that pie() function was used.
9. Retrieving the friends locations
For that friend object (in this case myfrds) it is required to user location attribute. The data
are shown in Pie chart and for that pie() function was used as previous.
7 | P a g e
10. Retrieving the friends Gender details
For that friend object (in this case myfrds) it is required to user gender attribute. The data
are shown in Pie chart and for that pie() function was used as previous.

Weitere Àhnliche Inhalte

Was ist angesagt? (8)

Social Media Optimization With Open Graph Tags
Social Media Optimization With Open Graph TagsSocial Media Optimization With Open Graph Tags
Social Media Optimization With Open Graph Tags
 
Curiosity Bits Tutorial: Mining Twitter User Profile on Python V2
Curiosity Bits Tutorial: Mining Twitter User Profile on Python V2Curiosity Bits Tutorial: Mining Twitter User Profile on Python V2
Curiosity Bits Tutorial: Mining Twitter User Profile on Python V2
 
Talent42 2014 matt grove finding contact info
Talent42 2014 matt grove finding contact infoTalent42 2014 matt grove finding contact info
Talent42 2014 matt grove finding contact info
 
Vlorahoti assignment
Vlorahoti assignmentVlorahoti assignment
Vlorahoti assignment
 
Il 01-search engines
Il 01-search enginesIl 01-search engines
Il 01-search engines
 
News-gathering and Monitoring | by: Menna El-hosary
News-gathering and Monitoring | by: Menna El-hosaryNews-gathering and Monitoring | by: Menna El-hosary
News-gathering and Monitoring | by: Menna El-hosary
 
Facebook privacy
Facebook privacyFacebook privacy
Facebook privacy
 
Blitzucsddataminingclassv2 140512200346-phpapp01
Blitzucsddataminingclassv2 140512200346-phpapp01Blitzucsddataminingclassv2 140512200346-phpapp01
Blitzucsddataminingclassv2 140512200346-phpapp01
 

Andere mochten auch

Studying Facebook via Data Extraction: a Netvizz tutorial at the Digital Meth...
Studying Facebook via Data Extraction: a Netvizz tutorial at the Digital Meth...Studying Facebook via Data Extraction: a Netvizz tutorial at the Digital Meth...
Studying Facebook via Data Extraction: a Netvizz tutorial at the Digital Meth...
Digital Methods Initiative
 
Facebook Brand Analysis 1
Facebook Brand  Analysis 1Facebook Brand  Analysis 1
Facebook Brand Analysis 1
Sara Sararyman
 
Text Analysis of Social Networks: Working with FB and VK Data
Text Analysis of Social Networks: Working with FB and VK DataText Analysis of Social Networks: Working with FB and VK Data
Text Analysis of Social Networks: Working with FB and VK Data
Alexander Panchenko
 
Sentiment Analysis via R Programming
Sentiment Analysis via R ProgrammingSentiment Analysis via R Programming
Sentiment Analysis via R Programming
Skillspeed
 
Facebook Brand Analysis - Strategic Brand Management
Facebook Brand Analysis - Strategic Brand ManagementFacebook Brand Analysis - Strategic Brand Management
Facebook Brand Analysis - Strategic Brand Management
Nuwan Ireshinie
 
NetworkX - python graph analysis and visualization @ PyHug
NetworkX - python graph analysis and visualization @ PyHugNetworkX - python graph analysis and visualization @ PyHug
NetworkX - python graph analysis and visualization @ PyHug
Jimmy Lai
 
Gephi Tutorial Visualization
Gephi Tutorial VisualizationGephi Tutorial Visualization
Gephi Tutorial Visualization
Gephi Consortium
 

Andere mochten auch (20)

Social Network Analysis With R
Social Network Analysis With RSocial Network Analysis With R
Social Network Analysis With R
 
Complex and Social Network Analysis in Python
Complex and Social Network Analysis in PythonComplex and Social Network Analysis in Python
Complex and Social Network Analysis in Python
 
Sentiment analysis
Sentiment analysisSentiment analysis
Sentiment analysis
 
Social Network Analysis Using Gephi
Social Network Analysis Using Gephi Social Network Analysis Using Gephi
Social Network Analysis Using Gephi
 
Studying Facebook via Data Extraction: a Netvizz tutorial at the Digital Meth...
Studying Facebook via Data Extraction: a Netvizz tutorial at the Digital Meth...Studying Facebook via Data Extraction: a Netvizz tutorial at the Digital Meth...
Studying Facebook via Data Extraction: a Netvizz tutorial at the Digital Meth...
 
Facebook Brand Analysis 1
Facebook Brand  Analysis 1Facebook Brand  Analysis 1
Facebook Brand Analysis 1
 
Text Analysis of Social Networks: Working with FB and VK Data
Text Analysis of Social Networks: Working with FB and VK DataText Analysis of Social Networks: Working with FB and VK Data
Text Analysis of Social Networks: Working with FB and VK Data
 
Sentiment Analysis via R Programming
Sentiment Analysis via R ProgrammingSentiment Analysis via R Programming
Sentiment Analysis via R Programming
 
Firm Strategy Analysis - Facebook
Firm Strategy Analysis - FacebookFirm Strategy Analysis - Facebook
Firm Strategy Analysis - Facebook
 
Facebook Brand Analysis - Strategic Brand Management
Facebook Brand Analysis - Strategic Brand ManagementFacebook Brand Analysis - Strategic Brand Management
Facebook Brand Analysis - Strategic Brand Management
 
102 e-business model - 20 cases - v6.8 - update 9 jan 2014
102   e-business model - 20 cases - v6.8 - update 9 jan 2014102   e-business model - 20 cases - v6.8 - update 9 jan 2014
102 e-business model - 20 cases - v6.8 - update 9 jan 2014
 
NetworkX - python graph analysis and visualization @ PyHug
NetworkX - python graph analysis and visualization @ PyHugNetworkX - python graph analysis and visualization @ PyHug
NetworkX - python graph analysis and visualization @ PyHug
 
Gephi Tutorial Visualization
Gephi Tutorial VisualizationGephi Tutorial Visualization
Gephi Tutorial Visualization
 
SPARQL Cheat Sheet
SPARQL Cheat SheetSPARQL Cheat Sheet
SPARQL Cheat Sheet
 
Facebook Competitive Advantage (social networking)
Facebook Competitive Advantage (social networking)Facebook Competitive Advantage (social networking)
Facebook Competitive Advantage (social networking)
 
Gephi Quick Start
Gephi Quick StartGephi Quick Start
Gephi Quick Start
 
How Sentiment Analysis works
How Sentiment Analysis worksHow Sentiment Analysis works
How Sentiment Analysis works
 
PPT Presentation on Facebook.com
PPT Presentation on Facebook.comPPT Presentation on Facebook.com
PPT Presentation on Facebook.com
 
Advantages and Disadvantages of Facebook
Advantages and Disadvantages of FacebookAdvantages and Disadvantages of Facebook
Advantages and Disadvantages of Facebook
 
Facebook Network Analysis using Gephi
Facebook Network Analysis using GephiFacebook Network Analysis using Gephi
Facebook Network Analysis using Gephi
 

Ähnlich wie Statistical analysis of facebook using r

Implementing Semantic Queries in Online Social Networks
Implementing Semantic Queries in Online Social NetworksImplementing Semantic Queries in Online Social Networks
Implementing Semantic Queries in Online Social Networks
Otåvio Calaça Xavier
 
OpenSocial Vs Facebook
OpenSocial Vs FacebookOpenSocial Vs Facebook
OpenSocial Vs Facebook
Pravin Nirmal
 
Lubos palcomaio2010
Lubos palcomaio2010Lubos palcomaio2010
Lubos palcomaio2010
alipiojorge
 
A4.1Proceedings of Student-Faculty Research Day, CSIS, Pa.docx
 A4.1Proceedings of Student-Faculty Research Day, CSIS, Pa.docx A4.1Proceedings of Student-Faculty Research Day, CSIS, Pa.docx
A4.1Proceedings of Student-Faculty Research Day, CSIS, Pa.docx
joyjonna282
 

Ähnlich wie Statistical analysis of facebook using r (20)

SocialOverlay : P2P Infrastructure for social Networks
SocialOverlay : P2P Infrastructure for social NetworksSocialOverlay : P2P Infrastructure for social Networks
SocialOverlay : P2P Infrastructure for social Networks
 
Cataloguing your friends and neighbours
Cataloguing your friends and neighboursCataloguing your friends and neighbours
Cataloguing your friends and neighbours
 
Cataloguing Your Friends and Neighbours: Personal Metadata and the Opportunit...
Cataloguing Your Friends and Neighbours: Personal Metadata and the Opportunit...Cataloguing Your Friends and Neighbours: Personal Metadata and the Opportunit...
Cataloguing Your Friends and Neighbours: Personal Metadata and the Opportunit...
 
An Improved People-Search Technique for Directed Social Network Graphs
An Improved People-Search Technique for Directed Social Network GraphsAn Improved People-Search Technique for Directed Social Network Graphs
An Improved People-Search Technique for Directed Social Network Graphs
 
Apprehension of Youth towards Social Networking Sites: Two Sides of a Coin
Apprehension of Youth towards Social Networking Sites: Two Sides of a CoinApprehension of Youth towards Social Networking Sites: Two Sides of a Coin
Apprehension of Youth towards Social Networking Sites: Two Sides of a Coin
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social Update
 
Implementing Semantic Queries in Online Social Networks
Implementing Semantic Queries in Online Social NetworksImplementing Semantic Queries in Online Social Networks
Implementing Semantic Queries in Online Social Networks
 
Proposal.docx
Proposal.docxProposal.docx
Proposal.docx
 
Facebot
FacebotFacebot
Facebot
 
GSP East 2008: Open Social: Open For Business
GSP East 2008: Open Social: Open For BusinessGSP East 2008: Open Social: Open For Business
GSP East 2008: Open Social: Open For Business
 
MGT5419 User Experience Design.docx
MGT5419 User Experience Design.docxMGT5419 User Experience Design.docx
MGT5419 User Experience Design.docx
 
2023 Guide How To Scrape Social Media Data Using Python (1).pptx
2023 Guide How To Scrape Social Media Data Using Python (1).pptx2023 Guide How To Scrape Social Media Data Using Python (1).pptx
2023 Guide How To Scrape Social Media Data Using Python (1).pptx
 
OpenSocial Vs Facebook
OpenSocial Vs FacebookOpenSocial Vs Facebook
OpenSocial Vs Facebook
 
Lubos palcomaio2010
Lubos palcomaio2010Lubos palcomaio2010
Lubos palcomaio2010
 
A4.1Proceedings of Student-Faculty Research Day, CSIS, Pa.docx
 A4.1Proceedings of Student-Faculty Research Day, CSIS, Pa.docx A4.1Proceedings of Student-Faculty Research Day, CSIS, Pa.docx
A4.1Proceedings of Student-Faculty Research Day, CSIS, Pa.docx
 
GSoC 2017 Proposal - Chatbot for DBpedia
GSoC 2017 Proposal - Chatbot for DBpedia GSoC 2017 Proposal - Chatbot for DBpedia
GSoC 2017 Proposal - Chatbot for DBpedia
 
Most effective Social Media Platform today
Most effective Social Media Platform today Most effective Social Media Platform today
Most effective Social Media Platform today
 
IRJET- Fake Profile Identification using Machine Learning
IRJET-  	  Fake Profile Identification using Machine LearningIRJET-  	  Fake Profile Identification using Machine Learning
IRJET- Fake Profile Identification using Machine Learning
 
Python report on twitter sentiment analysis
Python report on twitter sentiment analysisPython report on twitter sentiment analysis
Python report on twitter sentiment analysis
 
Introducing Facebook
Introducing FacebookIntroducing Facebook
Introducing Facebook
 

Mehr von Pixel Clear (Pvt) Ltd

Downscaling global climate model outputs to fine scales sanjaya ratnayake
Downscaling global climate model outputs to fine scales   sanjaya ratnayakeDownscaling global climate model outputs to fine scales   sanjaya ratnayake
Downscaling global climate model outputs to fine scales sanjaya ratnayake
Pixel Clear (Pvt) Ltd
 
Practices of Downscaling Methods for Water Resources Management in Sri Lanka
Practices of Downscaling  Methods for Water Resources  Management in Sri LankaPractices of Downscaling  Methods for Water Resources  Management in Sri Lanka
Practices of Downscaling Methods for Water Resources Management in Sri Lanka
Pixel Clear (Pvt) Ltd
 
A swarm of agents for a sustainable environment
A swarm of agents for a sustainable environmentA swarm of agents for a sustainable environment
A swarm of agents for a sustainable environment
Pixel Clear (Pvt) Ltd
 
Empowering women and children through the usage of ict[1]
Empowering women and children through the usage of ict[1]Empowering women and children through the usage of ict[1]
Empowering women and children through the usage of ict[1]
Pixel Clear (Pvt) Ltd
 

Mehr von Pixel Clear (Pvt) Ltd (14)

Downscaling global climate model outputs to fine scales sanjaya ratnayake
Downscaling global climate model outputs to fine scales   sanjaya ratnayakeDownscaling global climate model outputs to fine scales   sanjaya ratnayake
Downscaling global climate model outputs to fine scales sanjaya ratnayake
 
Practices of Downscaling Methods for Water Resources Management in Sri Lanka
Practices of Downscaling  Methods for Water Resources  Management in Sri LankaPractices of Downscaling  Methods for Water Resources  Management in Sri Lanka
Practices of Downscaling Methods for Water Resources Management in Sri Lanka
 
Downscaling global climate model outputs to fine scales over sri lanka for as...
Downscaling global climate model outputs to fine scales over sri lanka for as...Downscaling global climate model outputs to fine scales over sri lanka for as...
Downscaling global climate model outputs to fine scales over sri lanka for as...
 
Portfolio: Sanetra Solutions
Portfolio: Sanetra SolutionsPortfolio: Sanetra Solutions
Portfolio: Sanetra Solutions
 
Snetra solutions
Snetra solutionsSnetra solutions
Snetra solutions
 
Ceylon Electricity Board : Data Base Management System
Ceylon Electricity Board : Data Base Management SystemCeylon Electricity Board : Data Base Management System
Ceylon Electricity Board : Data Base Management System
 
A swarm of agents for a sustainable environment
A swarm of agents for a sustainable environmentA swarm of agents for a sustainable environment
A swarm of agents for a sustainable environment
 
Transcript
TranscriptTranscript
Transcript
 
I report userguide
I report userguideI report userguide
I report userguide
 
Empowering women and children through the usage of ict[1]
Empowering women and children through the usage of ict[1]Empowering women and children through the usage of ict[1]
Empowering women and children through the usage of ict[1]
 
Sas en – a swarm of agents for a sustainble environnent
Sas en – a swarm of agents for a sustainble environnentSas en – a swarm of agents for a sustainble environnent
Sas en – a swarm of agents for a sustainble environnent
 
Iseced presentation at young enterprinue challenge organized by british vounc...
Iseced presentation at young enterprinue challenge organized by british vounc...Iseced presentation at young enterprinue challenge organized by british vounc...
Iseced presentation at young enterprinue challenge organized by british vounc...
 
Integrated system for early childhood development
Integrated system for early childhood developmentIntegrated system for early childhood development
Integrated system for early childhood development
 
Develop statistical model to predict extreme precipitation through
Develop statistical model to predict extreme precipitation throughDevelop statistical model to predict extreme precipitation through
Develop statistical model to predict extreme precipitation through
 

KĂŒrzlich hochgeladen

Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls In Attibele ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 đŸ„” Book Your One night StandCall Girls In Attibele ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 đŸ„” Book Your One night Stand
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
âž„đŸ” 7737669865 đŸ”â–» Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
âž„đŸ” 7737669865 đŸ”â–» Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...âž„đŸ” 7737669865 đŸ”â–» Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
âž„đŸ” 7737669865 đŸ”â–» Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
amitlee9823
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Hsr Layout ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 đŸ„” Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 đŸ„” Book Your One night Stand
amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 đŸ„” Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 đŸ„” Book Your One night Stand
amitlee9823
 
âž„đŸ” 7737669865 đŸ”â–» Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
âž„đŸ” 7737669865 đŸ”â–» Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...âž„đŸ” 7737669865 đŸ”â–» Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
âž„đŸ” 7737669865 đŸ”â–» Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 

KĂŒrzlich hochgeladen (20)

Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls In Attibele ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 đŸ„” Book Your One night StandCall Girls In Attibele ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 đŸ„” Book Your One night Stand
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
âž„đŸ” 7737669865 đŸ”â–» Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
âž„đŸ” 7737669865 đŸ”â–» Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...âž„đŸ” 7737669865 đŸ”â–» Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
âž„đŸ” 7737669865 đŸ”â–» Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
BDSM⚡Call Girls in Mandawali Delhi >àŒ’8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >àŒ’8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >àŒ’8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >àŒ’8448380779 Escort Service
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Call Girls In Hsr Layout ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 đŸ„” Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 đŸ„” Book Your One night Stand
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls In Nandini Layout ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 đŸ„” Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 đŸ„” Book Your One night Stand
 
âž„đŸ” 7737669865 đŸ”â–» Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
âž„đŸ” 7737669865 đŸ”â–» Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...âž„đŸ” 7737669865 đŸ”â–» Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
âž„đŸ” 7737669865 đŸ”â–» Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 

Statistical analysis of facebook using r

  • 1. 1 | P a g e Statistical Analysis of Personal Facebook Account Details using R Study Report 01st October 2015 Sanjaya Ratnayake sanjurat@yahoo.com +94 77 2841457
  • 2. 2 | P a g e 1. Introduction Facebook is an online social networking service and allows a person (at least 13 years old) in interested in Facebook to become a registered user of this website. Today, Facebook is the world's largest social network, with more than 1 billion users worldwide. There are already lots of other ways to communicate online, such as email, instant messaging, and so on. But still many people like using Facebook. What makes Facebook unique is the ability to connect and share with the people you care about at the same time. Today, having a Facebook account is now an expected part of being online, much like having your own email address. And since Facebook is so popular, other websites are interested in integrating Facebook to their web sites. This means you can use a single Facebook account to sign in to different services across the Web. This site is available in 37 different languages, includes public features such as:  Marketplace - allows members to post, read and respond to classified ads.  Groups - allows members who have common interests to find each other and interact.  Events - allows members to publicize an event, invite guests and track who plans to attend.  Pages - allows members to create and promote a public page built around a specific topic.  Presence technology - allows members to see which contacts are online and chat. 2. Methodology The steps are as follows: Step 1: installing required libraries to R environment Step 2: Generating Token Key from Facebook Step 3: Retrieving Information from Facebook Step 4: Advance Graphical Representation of results 3. Configuration of R Libraries Initially it is required to install six libraries. They are, RFacebook httpuv RColorBrewer RCurl rjson httr
  • 3. 3 | P a g e For that below code can be used. Now the required libraries can be imported. For that below code can be used. 4. Configuration of Facebook Login to Facebook and navigate to: developers.facebook.com Go to “Tools and Support” section and navigate to “Graphic API Explorer”. From the “Graphic API Explorer” Click “Get Token” and select “Get User Access Token”.
  • 4. 4 | P a g e Then select all permissions, under “User Data Permission” and “Extended Permission” and click “Get Access Token”.
  • 5. 5 | P a g e 5. Connecting to Facebook using R Copy the token key and assign that to a variable in R. In R, it is possible to use below code. I have assign it to a variable call “tkn”. 6. Retrieving the user details In order to obtain the user details, getUser() function can be used. Below code can use. The Token variable need to use as a parameter for it. 7. Retrieving the friends details For that getFriends() function can be used. The getFriends() return values have assigned to a variable call myfrds and converted it to a string.
  • 6. 6 | P a g e 8. Retrieving the friends relationship status For that friend object (in this case myfrds) is required to use relationship_status attribute. The data are shown in Pie chart and for that pie() function was used. 9. Retrieving the friends locations For that friend object (in this case myfrds) it is required to user location attribute. The data are shown in Pie chart and for that pie() function was used as previous.
  • 7. 7 | P a g e 10. Retrieving the friends Gender details For that friend object (in this case myfrds) it is required to user gender attribute. The data are shown in Pie chart and for that pie() function was used as previous.