SlideShare una empresa de Scribd logo
1 de 10
Social Web: Where are the Semantics?
ESWC 2014
Miriam Fernández, Victor Rodríguez,
Andrés García-Silva, Oscar Corcho
Ontology Engineering Group, UPM, Spain
Knowledge Media Institute, The Open University
1.- Obtain a FB account
• If you don’t have already one ;)
ESWC 2014 Social Web: Where are the Semantics? 2
2.- Register as developer
• https://developers.facebook.com/
ESWC 2014 Social Web: Where are the Semantics? 3
3.- Create a new App
ESWC 2014 Social Web: Where are the Semantics? 4
4.- Obtain your App ID and App Secret!
ESWC 2014 Social Web: Where are the Semantics? 5
5.- Play a bit with the graph
ESWC 2014 Social Web: Where are the Semantics? 6
Now lets try to create our own APP
https://gist.github.com/miriamfs/b78a8b26ea0f2895788f
ESWC 2014 Social Web: Where are the Semantics? 7
To set up your project…you need three files
• FacebookDataCollector.java contains the code that you need to
download data from Facebook open groups or Facebook pages
• pom.xml contains the dependencies. If you prefer not to use a
maven project, just go to http://restfb.com/#download and
download the corresponding library [or ask for the usb]
• fbCollector.properties. This is the properties file that you need to
set up. You need to add:
– appId and appSecret. This are your facebook app's credentials.
– FbGroups and FbPages are the ids of groups and pages for which you want
to download information. If you have more than one group or one page,
please provide them separated by ",”
– maxPosts = maximum number of [initial] posts that you want to download for
each group/page. Note that for each initial posts all of its corresponding
comments will also be included in the download
ESWC 2014 Social Web: Where are the Semantics? 8
And you get three files ;)
• This program provides as output 3 files:
– posts.csv -> contains all the posts and comments that have been
downloaded including their text, time, user who generate them and
group or page from where they come from.
– replies.csv -> contains the reply change, i.e., information of which
posts have been generated as comments to other posts
– groups.csv -> contains information about the groups from which
information have been downloaded
ESWC 2014 Social Web: Where are the Semantics? 9
And if you don’t fancy to play with the code…
• Just execute it! 
– java –jar fb_data_collector.jar ./fbCollector.properties
– And get the data!
ESWC 2014 Social Web: Where are the Semantics? 10

Más contenido relacionado

Similar a ESWC 2014 Tutorial Handson 1: Collect Data from Facebook

Open Source Social Software
Open Source Social SoftwareOpen Source Social Software
Open Source Social Software
Josie Fraser
 
Check out the slides
Check out the slidesCheck out the slides
Check out the slides
webhostingguy
 
Jonathan bright - collecting social media data with the python programming la...
Jonathan bright - collecting social media data with the python programming la...Jonathan bright - collecting social media data with the python programming la...
Jonathan bright - collecting social media data with the python programming la...
oiisdp
 
New Technology to Support Effective Teaching
New Technology to Support Effective Teaching New Technology to Support Effective Teaching
New Technology to Support Effective Teaching
Videoguy
 

Similar a ESWC 2014 Tutorial Handson 1: Collect Data from Facebook (20)

Open Source Social Software
Open Source Social SoftwareOpen Source Social Software
Open Source Social Software
 
PHP Developer
PHP DeveloperPHP Developer
PHP Developer
 
Check out the slides
Check out the slidesCheck out the slides
Check out the slides
 
PHP Developer
PHP DeveloperPHP Developer
PHP Developer
 
E-Learning Workshop 2.0
E-Learning Workshop 2.0E-Learning Workshop 2.0
E-Learning Workshop 2.0
 
Game Development: A Crash Course
Game Development: A Crash CourseGame Development: A Crash Course
Game Development: A Crash Course
 
Putting Linked Data to Use in a Large Higher-Education Organisation
Putting Linked Data to Use in a Large Higher-Education OrganisationPutting Linked Data to Use in a Large Higher-Education Organisation
Putting Linked Data to Use in a Large Higher-Education Organisation
 
Facebook app development
Facebook app developmentFacebook app development
Facebook app development
 
HealthyWP goes 5th UX Thessaloniki Meetup
HealthyWP goes 5th UX Thessaloniki MeetupHealthyWP goes 5th UX Thessaloniki Meetup
HealthyWP goes 5th UX Thessaloniki Meetup
 
Michael Apolonio Ugale CV_Mobile
Michael Apolonio Ugale CV_MobileMichael Apolonio Ugale CV_Mobile
Michael Apolonio Ugale CV_Mobile
 
empowerment technologies by: aiza martin and patricia obor
empowerment technologies  by: aiza martin and patricia oborempowerment technologies  by: aiza martin and patricia obor
empowerment technologies by: aiza martin and patricia obor
 
Executable papers
Executable papersExecutable papers
Executable papers
 
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012
itslearning App Library dag voor partners - Tim Remmers - 12 juni 2012
 
20120612 itslearning app library dag
20120612 itslearning app library dag20120612 itslearning app library dag
20120612 itslearning app library dag
 
Jonathan bright - collecting social media data with the python programming la...
Jonathan bright - collecting social media data with the python programming la...Jonathan bright - collecting social media data with the python programming la...
Jonathan bright - collecting social media data with the python programming la...
 
Open social & cmis oasistc-20100712
Open social & cmis   oasistc-20100712Open social & cmis   oasistc-20100712
Open social & cmis oasistc-20100712
 
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comPos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
 
New Technology to Support Effective Teaching
New Technology to Support Effective Teaching New Technology to Support Effective Teaching
New Technology to Support Effective Teaching
 
empowerment technologies
empowerment technologies empowerment technologies
empowerment technologies
 
DataPortability and Me: Introducing SIOC, FOAF and the Semantic Web
DataPortability and Me: Introducing SIOC, FOAF and the Semantic WebDataPortability and Me: Introducing SIOC, FOAF and the Semantic Web
DataPortability and Me: Introducing SIOC, FOAF and the Semantic Web
 

Más de Miriam Fernandez

Iswc 2011: Linking Data Across Universities: An Integrated Video Lectures Dat...
Iswc 2011: Linking Data Across Universities: An Integrated Video Lectures Dat...Iswc 2011: Linking Data Across Universities: An Integrated Video Lectures Dat...
Iswc 2011: Linking Data Across Universities: An Integrated Video Lectures Dat...
Miriam Fernandez
 

Más de Miriam Fernandez (19)

Biases in Social Media Research (NoBias EU project)
Biases in Social Media Research (NoBias EU project)Biases in Social Media Research (NoBias EU project)
Biases in Social Media Research (NoBias EU project)
 
Research seminar Queen Mary University of London (CogSci)
Research seminar Queen Mary University of London (CogSci)Research seminar Queen Mary University of London (CogSci)
Research seminar Queen Mary University of London (CogSci)
 
Vision track october_2020_fernandez_v5
Vision track october_2020_fernandez_v5Vision track october_2020_fernandez_v5
Vision track october_2020_fernandez_v5
 
On the Application of Social Data Science to Address Societal Challenges
On the Application of Social Data Science to Address Societal ChallengesOn the Application of Social Data Science to Address Societal Challenges
On the Application of Social Data Science to Address Societal Challenges
 
Online radicalisation: work, challenges and future directions
Online radicalisation: work, challenges and future directionsOnline radicalisation: work, challenges and future directions
Online radicalisation: work, challenges and future directions
 
Mining Social Media Data For Policing
Mining Social Media Data For PolicingMining Social Media Data For Policing
Mining Social Media Data For Policing
 
Introduction to Mining Social Media Data
Introduction to Mining Social Media DataIntroduction to Mining Social Media Data
Introduction to Mining Social Media Data
 
Online Misinformation: Challenges and Future Directions
Online Misinformation: Challenges and Future DirectionsOnline Misinformation: Challenges and Future Directions
Online Misinformation: Challenges and Future Directions
 
Slides 28-feb-2018-v2.pptx
Slides 28-feb-2018-v2.pptxSlides 28-feb-2018-v2.pptx
Slides 28-feb-2018-v2.pptx
 
Artificial Intelligence for Policing
Artificial Intelligence for PolicingArtificial Intelligence for Policing
Artificial Intelligence for Policing
 
OUSocial OUSocMed conference
OUSocial OUSocMed conference OUSocial OUSocMed conference
OUSocial OUSocMed conference
 
On the use of social media for evidence-based policing
On the use of social media for evidence-based policingOn the use of social media for evidence-based policing
On the use of social media for evidence-based policing
 
ESWC 2014 Tutorial Part 4
ESWC 2014 Tutorial Part 4ESWC 2014 Tutorial Part 4
ESWC 2014 Tutorial Part 4
 
ESWC 2014 Tutorial part 3
ESWC 2014 Tutorial part 3ESWC 2014 Tutorial part 3
ESWC 2014 Tutorial part 3
 
ESWC 2014 Tutorial part 2
ESWC 2014 Tutorial part 2ESWC 2014 Tutorial part 2
ESWC 2014 Tutorial part 2
 
ESWC 2014 Tutorial part 1
ESWC 2014 Tutorial part 1ESWC 2014 Tutorial part 1
ESWC 2014 Tutorial part 1
 
Wm unit1.6-slides-semantic web-final
Wm unit1.6-slides-semantic web-finalWm unit1.6-slides-semantic web-final
Wm unit1.6-slides-semantic web-final
 
CAEPIA 2011
CAEPIA 2011CAEPIA 2011
CAEPIA 2011
 
Iswc 2011: Linking Data Across Universities: An Integrated Video Lectures Dat...
Iswc 2011: Linking Data Across Universities: An Integrated Video Lectures Dat...Iswc 2011: Linking Data Across Universities: An Integrated Video Lectures Dat...
Iswc 2011: Linking Data Across Universities: An Integrated Video Lectures Dat...
 

Último

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 

Último (20)

The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 

ESWC 2014 Tutorial Handson 1: Collect Data from Facebook

  • 1. Social Web: Where are the Semantics? ESWC 2014 Miriam Fernández, Victor Rodríguez, Andrés García-Silva, Oscar Corcho Ontology Engineering Group, UPM, Spain Knowledge Media Institute, The Open University
  • 2. 1.- Obtain a FB account • If you don’t have already one ;) ESWC 2014 Social Web: Where are the Semantics? 2
  • 3. 2.- Register as developer • https://developers.facebook.com/ ESWC 2014 Social Web: Where are the Semantics? 3
  • 4. 3.- Create a new App ESWC 2014 Social Web: Where are the Semantics? 4
  • 5. 4.- Obtain your App ID and App Secret! ESWC 2014 Social Web: Where are the Semantics? 5
  • 6. 5.- Play a bit with the graph ESWC 2014 Social Web: Where are the Semantics? 6
  • 7. Now lets try to create our own APP https://gist.github.com/miriamfs/b78a8b26ea0f2895788f ESWC 2014 Social Web: Where are the Semantics? 7
  • 8. To set up your project…you need three files • FacebookDataCollector.java contains the code that you need to download data from Facebook open groups or Facebook pages • pom.xml contains the dependencies. If you prefer not to use a maven project, just go to http://restfb.com/#download and download the corresponding library [or ask for the usb] • fbCollector.properties. This is the properties file that you need to set up. You need to add: – appId and appSecret. This are your facebook app's credentials. – FbGroups and FbPages are the ids of groups and pages for which you want to download information. If you have more than one group or one page, please provide them separated by ",” – maxPosts = maximum number of [initial] posts that you want to download for each group/page. Note that for each initial posts all of its corresponding comments will also be included in the download ESWC 2014 Social Web: Where are the Semantics? 8
  • 9. And you get three files ;) • This program provides as output 3 files: – posts.csv -> contains all the posts and comments that have been downloaded including their text, time, user who generate them and group or page from where they come from. – replies.csv -> contains the reply change, i.e., information of which posts have been generated as comments to other posts – groups.csv -> contains information about the groups from which information have been downloaded ESWC 2014 Social Web: Where are the Semantics? 9
  • 10. And if you don’t fancy to play with the code… • Just execute it!  – java –jar fb_data_collector.jar ./fbCollector.properties – And get the data! ESWC 2014 Social Web: Where are the Semantics? 10