Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/easonlai/facebook_post_scraping_and_text_analytics
This is demo repo to demostrate how to scrape post data from Facebook by Python with library facebook_scraper. And then use Azure Text Analytics to perform sentiment analysis for post text content.
https://github.com/easonlai/facebook_post_scraping_and_text_analytics
azure azure-text-analysis azure-text-analytics data-scraping facebook facebook-post facebook-scraper facebook-scraping key-phrase-extraction microsoft-azure microsoft-cognitive-services pandas python python3 scraping-python seaborn text-analytics wordcloud
Last synced: 2 months ago
JSON representation
This is demo repo to demostrate how to scrape post data from Facebook by Python with library facebook_scraper. And then use Azure Text Analytics to perform sentiment analysis for post text content.
- Host: GitHub
- URL: https://github.com/easonlai/facebook_post_scraping_and_text_analytics
- Owner: easonlai
- Created: 2021-10-09T16:59:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-12T15:50:39.000Z (about 3 years ago)
- Last Synced: 2024-04-28T05:09:40.017Z (9 months ago)
- Topics: azure, azure-text-analysis, azure-text-analytics, data-scraping, facebook, facebook-post, facebook-scraper, facebook-scraping, key-phrase-extraction, microsoft-azure, microsoft-cognitive-services, pandas, python, python3, scraping-python, seaborn, text-analytics, wordcloud
- Language: Jupyter Notebook
- Homepage:
- Size: 1.98 MB
- Stars: 14
- Watchers: 1
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Facebook post scraping and Text Analytics (Sentiment Analysis)
This is demo repo to demostrate how to scrape post data from Facebook by Python with library [facebook_scraper](https://pypi.org/project/facebook-scraper/). And then use [Azure Text Analytics](https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview) to perform [sentiment analysis](https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview#sentiment-analysis) for post text content.
Line Chart to visualize post datetime vs Like, Love, Ha Ha, Wow, Sad, Angry, Care, Shares and Comments.
![alt text](https://github.com/easonlai/facebook_post_scraping_and_text_analytics/blob/main/git-images/git-image-1.png)
Plotting sentiment & Like columns relationship by Seaborn
![alt text](https://github.com/easonlai/facebook_post_scraping_and_text_analytics/blob/main/git-images/git-image-2.png)
Plotting WordCloud from extracted key phrase
![alt text](https://github.com/easonlai/facebook_post_scraping_and_text_analytics/blob/main/git-images/git-image-3.png)