SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Mais de Weiai Wayne Xu

Mais 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
 

Último

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
PECB
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
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
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

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