Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)