SlideShare une entreprise Scribd logo
1  sur  16
Five Steps to Get Facebook
Engagement Indicators
• Created by The Curiosity Bits Blog (curiositybits.com)
• With the support from Dr. Gregory D. Saxton
What are Facebook Engagement Indicators?
• Facebook users interact with content through liking,
sharing and commenting (L-S-C). The L-S-C represents a
hierarchy of user engagement.
commenting
sharing
liking
Content lifespan
Getting ready!
• In this tutorial, you will learn how to get:
• # of likes, shares and comments for all
posts on a Facebook page.
• Content lifecycle: the amount of time for
how long the content can drive user
attention and engagement.
Download the code
https://drive.google.com/file/d/0Bwwg6GLCW
_IPZlpVOHZ2amZJR2c/edit?usp=sharing
Getting ready!
• Please complete all steps in our previous
tutorial: Mining Facebook Fan Page – getting
posts and comments (http://curiositybits.com/python-
for-mining-the-social-web/python-tutorial-mining-
facebook-fan-page-getting-posts-and-comments/)
• From the previous tutorial, you have
generated a SQLite database that includes:
• Posts: all posts on a Facebook page
• Content, posted time, included URLs, mentioned
Facebook friends/pages, etc.
• Comments: comments to the posts
• Sender, content, posted time, etc.
Step 1: Checklist
• Do you know how to install necessary
Python packages? If not, please review pg.8
in http://curiositybits.com/python-for-mining-the-social-
web/python-tutorial-mining-twitter-user-profile/
• Do you know how to browse and edit SQLite
database through SQLite Database
Browser? If not, please review pg.10-14 in
http://curiositybits.com/python-for-mining-the-social-
web/python-tutorial-mining-twitter-user-profile/
Have you installed these necessary
Python libraries?
Step 1: Checklist
Step 2: creating new columns
• In previous tutorial, we have created
various columns in the database. But in this
run, there are THREE columns defined in
the script, but are NOT existent in the
current database. We need to create them
manually through SQLite Database
Browser.
Three columns used in the script,
but are not yet created in SQLite
database.
Step 2: creating new columns
Now let’s create the three columns:
• In SQLite Database Browser, choose [Edit] – [Modify
Table] – [Edit] – [Add Field]
name type
Feed_id Integer
content_cycle String
content_cycle_new String
Step 2: creating new columns
• Final check: make sure all columns defined in the script
are existent in the SQLite database.
All columns defined in the
current script.
Step 2: creating new columns
Step 3: Connecting to the existing DB
Now, Python is asked to connect to the existing database
through the following block of code:
• Use a shorten file path if the current SQLite database is in the same folder
with the Python code. IF NOT, use a full file path such as
sqlite:///C:/xxxx/xxx/xx.sqlite
• Please save the Python code in your default Python folder (e.g.
__AnacondaLibsite-packages)
• Learn how to find your default Python folder? Review page.25-27 in
http://curiositybits.com/python-for-mining-the-social-web/python-tutorial-mining-
twitter-user-profile/
For example
Hit RUN!
Step 4: Confirming the engagement
indicators are generated
Step 5: Learn how the engagement
indicators are calculated
You may wonder how the two engagement indicators -
content_cycle and content_cycle_new – are calculated
Simply put, content_cycle = (the time of last comment posted
– the time of the post published)
Step 5: Learn how the engagement
indicators are calculated
Content_cycle_new is the content lifecycle, after controlling
for the amount of time of the content being live.
Specifically,
content_cycle_new = (the time of last comment posted –
the time of the post published)/time_since_post
where, time_since_post = the time of the data mining – the
time of the post published
Step 5: Learn how the engagement
indicators are calculated

Contenu connexe

Tendances

Android Presentation
Android Presentation Android Presentation
Android Presentation Nik Sharma
 
Corporate Secret Challenge - CyberDefenders.org by Azad
Corporate Secret Challenge - CyberDefenders.org by AzadCorporate Secret Challenge - CyberDefenders.org by Azad
Corporate Secret Challenge - CyberDefenders.org by AzadAzad Mzuri
 
Advanced Search Engine Techniques
Advanced Search Engine TechniquesAdvanced Search Engine Techniques
Advanced Search Engine Techniquesshekhar619
 
Week12presentation
Week12presentationWeek12presentation
Week12presentations1160001
 

Tendances (6)

Android Presentation
Android Presentation Android Presentation
Android Presentation
 
Corporate Secret Challenge - CyberDefenders.org by Azad
Corporate Secret Challenge - CyberDefenders.org by AzadCorporate Secret Challenge - CyberDefenders.org by Azad
Corporate Secret Challenge - CyberDefenders.org by Azad
 
Browser Extensions
Browser ExtensionsBrowser Extensions
Browser Extensions
 
Advanced Search Engine Techniques
Advanced Search Engine TechniquesAdvanced Search Engine Techniques
Advanced Search Engine Techniques
 
Week12presentation
Week12presentationWeek12presentation
Week12presentation
 
Week12presentation
Week12presentationWeek12presentation
Week12presentation
 

En vedette

Bianca Maria Martelli - Modelli comportamentali dei consumatori
Bianca Maria Martelli - Modelli comportamentali dei consumatoriBianca Maria Martelli - Modelli comportamentali dei consumatori
Bianca Maria Martelli - Modelli comportamentali dei consumatoriSegnalazionIT
 
Presentazione Mastretta III Forum Car Sharing 2007
Presentazione Mastretta III Forum Car Sharing 2007Presentazione Mastretta III Forum Car Sharing 2007
Presentazione Mastretta III Forum Car Sharing 2007IoGuido CarSharing
 
Il comportamento del consumatore di oggi: modifiche strutturali e influenza d...
Il comportamento del consumatore di oggi: modifiche strutturali e influenza d...Il comportamento del consumatore di oggi: modifiche strutturali e influenza d...
Il comportamento del consumatore di oggi: modifiche strutturali e influenza d...G&P communication srl
 
Appunti di Marketing: comportamento consumatore
Appunti di Marketing: comportamento consumatoreAppunti di Marketing: comportamento consumatore
Appunti di Marketing: comportamento consumatoreprofman
 
Collaborative Economy Revenue Models
Collaborative Economy Revenue ModelsCollaborative Economy Revenue Models
Collaborative Economy Revenue ModelsCollaborative Lab
 
Sharing Economy e Consumo Collaborativo
Sharing Economy e Consumo CollaborativoSharing Economy e Consumo Collaborativo
Sharing Economy e Consumo CollaborativoMarco Galvagno, Ph.D.
 

En vedette (8)

Bianca Maria Martelli - Modelli comportamentali dei consumatori
Bianca Maria Martelli - Modelli comportamentali dei consumatoriBianca Maria Martelli - Modelli comportamentali dei consumatori
Bianca Maria Martelli - Modelli comportamentali dei consumatori
 
Presentazione Mastretta III Forum Car Sharing 2007
Presentazione Mastretta III Forum Car Sharing 2007Presentazione Mastretta III Forum Car Sharing 2007
Presentazione Mastretta III Forum Car Sharing 2007
 
L'altra mobilità
L'altra mobilitàL'altra mobilità
L'altra mobilità
 
Il Nuovo Consumatore
Il Nuovo ConsumatoreIl Nuovo Consumatore
Il Nuovo Consumatore
 
Il comportamento del consumatore di oggi: modifiche strutturali e influenza d...
Il comportamento del consumatore di oggi: modifiche strutturali e influenza d...Il comportamento del consumatore di oggi: modifiche strutturali e influenza d...
Il comportamento del consumatore di oggi: modifiche strutturali e influenza d...
 
Appunti di Marketing: comportamento consumatore
Appunti di Marketing: comportamento consumatoreAppunti di Marketing: comportamento consumatore
Appunti di Marketing: comportamento consumatore
 
Collaborative Economy Revenue Models
Collaborative Economy Revenue ModelsCollaborative Economy Revenue Models
Collaborative Economy Revenue Models
 
Sharing Economy e Consumo Collaborativo
Sharing Economy e Consumo CollaborativoSharing Economy e Consumo Collaborativo
Sharing Economy e Consumo Collaborativo
 

Similaire à Five Steps to Get Facebook Engagement Indicators

Gutenberg (WidgiLabs Training Sessions)
Gutenberg  (WidgiLabs Training Sessions)Gutenberg  (WidgiLabs Training Sessions)
Gutenberg (WidgiLabs Training Sessions)Nuno Morgadinho
 
Blogging Workshop
Blogging WorkshopBlogging Workshop
Blogging WorkshopLisa Harris
 
twitter ppt .pptx
twitter ppt                                  .pptxtwitter ppt                                  .pptx
twitter ppt .pptxKAnurag2
 
Untangling spring week5
Untangling spring week5Untangling spring week5
Untangling spring week5Derek Jacoby
 
Stupid Index Block Tricks
Stupid Index Block TricksStupid Index Block Tricks
Stupid Index Block Trickshannonhill
 
SharePoint solution developer exam 70-488
SharePoint solution developer exam 70-488SharePoint solution developer exam 70-488
SharePoint solution developer exam 70-488Ahmed Tawfik
 
Using Social Software: Blogs, Wikis, Social Bookmarking
Using Social Software: Blogs, Wikis, Social BookmarkingUsing Social Software: Blogs, Wikis, Social Bookmarking
Using Social Software: Blogs, Wikis, Social BookmarkingIan Calder
 
A day in the life of an office 365 power user
A day in the life of an office 365 power userA day in the life of an office 365 power user
A day in the life of an office 365 power userSerge Tremblay
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry universityCIS363A
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry universityjkkjhdy798iyi
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry universityCIS363A
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry universityCIS363A
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu
 
LibGuides and Evolving Learning Spaces
LibGuides and Evolving Learning SpacesLibGuides and Evolving Learning Spaces
LibGuides and Evolving Learning SpacesKenneth Ronkowitz
 
Keeping Up with the Jetsons, Teaching with Emerging Technologies
Keeping Up with the Jetsons, Teaching with Emerging TechnologiesKeeping Up with the Jetsons, Teaching with Emerging Technologies
Keeping Up with the Jetsons, Teaching with Emerging TechnologiesMichael Greene
 
Lecture2 - Writing and collaboration via Web 2.0 and Social Networking
Lecture2 - Writing and collaboration via Web 2.0 and Social NetworkingLecture2 - Writing and collaboration via Web 2.0 and Social Networking
Lecture2 - Writing and collaboration via Web 2.0 and Social NetworkingVance Stevens
 
Building Facebook Apps
Building Facebook AppsBuilding Facebook Apps
Building Facebook AppsDavid Keener
 

Similaire à Five Steps to Get Facebook Engagement Indicators (20)

Gutenberg (WidgiLabs Training Sessions)
Gutenberg  (WidgiLabs Training Sessions)Gutenberg  (WidgiLabs Training Sessions)
Gutenberg (WidgiLabs Training Sessions)
 
Blogging Workshop
Blogging WorkshopBlogging Workshop
Blogging Workshop
 
twitter ppt .pptx
twitter ppt                                  .pptxtwitter ppt                                  .pptx
twitter ppt .pptx
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Read my blog
Read my blog Read my blog
Read my blog
 
Untangling spring week5
Untangling spring week5Untangling spring week5
Untangling spring week5
 
Getting to grips with Wikipedia - Brian Kelly & Nancy Graham
Getting to grips with Wikipedia - Brian Kelly & Nancy GrahamGetting to grips with Wikipedia - Brian Kelly & Nancy Graham
Getting to grips with Wikipedia - Brian Kelly & Nancy Graham
 
Stupid Index Block Tricks
Stupid Index Block TricksStupid Index Block Tricks
Stupid Index Block Tricks
 
SharePoint solution developer exam 70-488
SharePoint solution developer exam 70-488SharePoint solution developer exam 70-488
SharePoint solution developer exam 70-488
 
Using Social Software: Blogs, Wikis, Social Bookmarking
Using Social Software: Blogs, Wikis, Social BookmarkingUsing Social Software: Blogs, Wikis, Social Bookmarking
Using Social Software: Blogs, Wikis, Social Bookmarking
 
A day in the life of an office 365 power user
A day in the life of an office 365 power userA day in the life of an office 365 power user
A day in the life of an office 365 power user
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry university
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry university
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry university
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry university
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For Beginners
 
LibGuides and Evolving Learning Spaces
LibGuides and Evolving Learning SpacesLibGuides and Evolving Learning Spaces
LibGuides and Evolving Learning Spaces
 
Keeping Up with the Jetsons, Teaching with Emerging Technologies
Keeping Up with the Jetsons, Teaching with Emerging TechnologiesKeeping Up with the Jetsons, Teaching with Emerging Technologies
Keeping Up with the Jetsons, Teaching with Emerging Technologies
 
Lecture2 - Writing and collaboration via Web 2.0 and Social Networking
Lecture2 - Writing and collaboration via Web 2.0 and Social NetworkingLecture2 - Writing and collaboration via Web 2.0 and Social Networking
Lecture2 - Writing and collaboration via Web 2.0 and Social Networking
 
Building Facebook Apps
Building Facebook AppsBuilding Facebook Apps
Building Facebook Apps
 

Plus de Weiai Wayne Xu

Big data, small data and everything in between
Big data, small data and everything in betweenBig data, small data and everything in between
Big data, small data and everything in betweenWeiai Wayne Xu
 
Say search and sales e-cigar and big data
Say search and sales   e-cigar and big data Say search and sales   e-cigar and big data
Say search and sales e-cigar and big data Weiai Wayne Xu
 
Predicting Social Capital in Nonprofits’ Stakeholder Engagement on Social Media
Predicting Social Capital in Nonprofits’ Stakeholder Engagement on Social MediaPredicting Social Capital in Nonprofits’ Stakeholder Engagement on Social Media
Predicting Social Capital in Nonprofits’ Stakeholder Engagement on Social MediaWeiai Wayne Xu
 
The Networked Creativity in the Censored Web 2.0
The Networked Creativity in the Censored Web 2.0The Networked Creativity in the Censored Web 2.0
The Networked Creativity in the Censored Web 2.0Weiai Wayne Xu
 
The Networked Cultural Diffusion of Kpop on YouTube
The Networked Cultural Diffusion of Kpop on YouTubeThe Networked Cultural Diffusion of Kpop on YouTube
The Networked Cultural Diffusion of Kpop on YouTubeWeiai Wayne Xu
 
Network Structures For A Better Twitter Community
Network Structures For A Better Twitter CommunityNetwork Structures For A Better Twitter Community
Network Structures For A Better Twitter CommunityWeiai Wayne Xu
 
How Do We Fight Email Phishing? (ICA2015 - San Juan, PR)
How Do We Fight Email Phishing? (ICA2015 - San Juan, PR) How Do We Fight Email Phishing? (ICA2015 - San Juan, PR)
How Do We Fight Email Phishing? (ICA2015 - San Juan, PR) Weiai Wayne Xu
 
What makes an image worth a thousand words NCA2014
What makes an image worth a thousand words   NCA2014What makes an image worth a thousand words   NCA2014
What makes an image worth a thousand words NCA2014Weiai Wayne Xu
 
Predicting opinion leadership on twitter
Predicting opinion leadership on twitter   Predicting opinion leadership on twitter
Predicting opinion leadership on twitter Weiai Wayne Xu
 

Plus de Weiai Wayne Xu (10)

Big data, small data and everything in between
Big data, small data and everything in betweenBig data, small data and everything in between
Big data, small data and everything in between
 
Say search and sales e-cigar and big data
Say search and sales   e-cigar and big data Say search and sales   e-cigar and big data
Say search and sales e-cigar and big data
 
Predicting Social Capital in Nonprofits’ Stakeholder Engagement on Social Media
Predicting Social Capital in Nonprofits’ Stakeholder Engagement on Social MediaPredicting Social Capital in Nonprofits’ Stakeholder Engagement on Social Media
Predicting Social Capital in Nonprofits’ Stakeholder Engagement on Social Media
 
Xu talk 3-17-2015
Xu talk 3-17-2015Xu talk 3-17-2015
Xu talk 3-17-2015
 
The Networked Creativity in the Censored Web 2.0
The Networked Creativity in the Censored Web 2.0The Networked Creativity in the Censored Web 2.0
The Networked Creativity in the Censored Web 2.0
 
The Networked Cultural Diffusion of Kpop on YouTube
The Networked Cultural Diffusion of Kpop on YouTubeThe Networked Cultural Diffusion of Kpop on YouTube
The Networked Cultural Diffusion of Kpop on YouTube
 
Network Structures For A Better Twitter Community
Network Structures For A Better Twitter CommunityNetwork Structures For A Better Twitter Community
Network Structures For A Better Twitter Community
 
How Do We Fight Email Phishing? (ICA2015 - San Juan, PR)
How Do We Fight Email Phishing? (ICA2015 - San Juan, PR) How Do We Fight Email Phishing? (ICA2015 - San Juan, PR)
How Do We Fight Email Phishing? (ICA2015 - San Juan, PR)
 
What makes an image worth a thousand words NCA2014
What makes an image worth a thousand words   NCA2014What makes an image worth a thousand words   NCA2014
What makes an image worth a thousand words NCA2014
 
Predicting opinion leadership on twitter
Predicting opinion leadership on twitter   Predicting opinion leadership on twitter
Predicting opinion leadership on twitter
 

Dernier

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 

Dernier (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 

Five Steps to Get Facebook Engagement Indicators

  • 1. Five Steps to Get Facebook Engagement Indicators • Created by The Curiosity Bits Blog (curiositybits.com) • With the support from Dr. Gregory D. Saxton
  • 2. What are Facebook Engagement Indicators? • Facebook users interact with content through liking, sharing and commenting (L-S-C). The L-S-C represents a hierarchy of user engagement. commenting sharing liking Content lifespan
  • 3. Getting ready! • In this tutorial, you will learn how to get: • # of likes, shares and comments for all posts on a Facebook page. • Content lifecycle: the amount of time for how long the content can drive user attention and engagement. Download the code https://drive.google.com/file/d/0Bwwg6GLCW _IPZlpVOHZ2amZJR2c/edit?usp=sharing
  • 4. Getting ready! • Please complete all steps in our previous tutorial: Mining Facebook Fan Page – getting posts and comments (http://curiositybits.com/python- for-mining-the-social-web/python-tutorial-mining- facebook-fan-page-getting-posts-and-comments/) • From the previous tutorial, you have generated a SQLite database that includes: • Posts: all posts on a Facebook page • Content, posted time, included URLs, mentioned Facebook friends/pages, etc. • Comments: comments to the posts • Sender, content, posted time, etc.
  • 5. Step 1: Checklist • Do you know how to install necessary Python packages? If not, please review pg.8 in http://curiositybits.com/python-for-mining-the-social- web/python-tutorial-mining-twitter-user-profile/ • Do you know how to browse and edit SQLite database through SQLite Database Browser? If not, please review pg.10-14 in http://curiositybits.com/python-for-mining-the-social- web/python-tutorial-mining-twitter-user-profile/
  • 6. Have you installed these necessary Python libraries? Step 1: Checklist
  • 7. Step 2: creating new columns • In previous tutorial, we have created various columns in the database. But in this run, there are THREE columns defined in the script, but are NOT existent in the current database. We need to create them manually through SQLite Database Browser.
  • 8. Three columns used in the script, but are not yet created in SQLite database. Step 2: creating new columns
  • 9. Now let’s create the three columns: • In SQLite Database Browser, choose [Edit] – [Modify Table] – [Edit] – [Add Field] name type Feed_id Integer content_cycle String content_cycle_new String Step 2: creating new columns
  • 10. • Final check: make sure all columns defined in the script are existent in the SQLite database. All columns defined in the current script. Step 2: creating new columns
  • 11. Step 3: Connecting to the existing DB Now, Python is asked to connect to the existing database through the following block of code: • Use a shorten file path if the current SQLite database is in the same folder with the Python code. IF NOT, use a full file path such as sqlite:///C:/xxxx/xxx/xx.sqlite • Please save the Python code in your default Python folder (e.g. __AnacondaLibsite-packages) • Learn how to find your default Python folder? Review page.25-27 in http://curiositybits.com/python-for-mining-the-social-web/python-tutorial-mining- twitter-user-profile/ For example
  • 13. Step 4: Confirming the engagement indicators are generated
  • 14. Step 5: Learn how the engagement indicators are calculated You may wonder how the two engagement indicators - content_cycle and content_cycle_new – are calculated
  • 15. Simply put, content_cycle = (the time of last comment posted – the time of the post published) Step 5: Learn how the engagement indicators are calculated
  • 16. Content_cycle_new is the content lifecycle, after controlling for the amount of time of the content being live. Specifically, content_cycle_new = (the time of last comment posted – the time of the post published)/time_since_post where, time_since_post = the time of the data mining – the time of the post published Step 5: Learn how the engagement indicators are calculated