SlideShare a Scribd company logo
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

More Related Content

What's hot (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
 

Viewers also liked

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
SegnalazionIT
 

Viewers also liked (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
 

Similar to Five Steps to Get Facebook Engagement Indicators

Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry university
CIS363A
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry university
jkkjhdy798iyi
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry university
CIS363A
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry university
CIS363A
 

Similar to 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
 

More from Weiai Wayne Xu

More from 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
 

Recently uploaded

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 

Recently uploaded (20)

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 

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