Add a profile name and find this social profile on Facebook, Instagram, and TikTok, scrape its recent posts and comments, and perform sentiment analysis for each comment. All in one go. Export results in JSON, CSV, HTML, use API, schedule runs, integrate with other tools.
Social Media Sentiment Analysis Tool is an Apify Actor designed to scrape and analyze social media comments from Facebook, Instagram, and TikTok. It is an Actor Bundle created by combining seven most popular social media scrapers (see the detailed list ⬇️) and a text analysis tool.
👤 Identifies the same profile on Facebook, Instagram and TikTok → 📝 Scrapes their posts on Facebook, Instagram and TikTok → 💬 Scrapes comments under each post → 🤔 Gives each comment a sentiment score
Armed with this unique and powerful data extraction and analysis tool, you can:
Note that you can always opt out of the sentiment analysis part and simply scrape and export the comments without analyzing them.
When you use this data extraction and analysis tool, you will receive a dataset in multiple formats containing the following data:
👤 Profile name | 🔗 Profile URL | 👥 Profile followers |
📝 Post description | 📅 Post timestamp | 🔗 Post URL |
💬 Post comments count | 👍 Post likes count | 👍 Comment likes count |
👤 Comment author | 💬 Comment text | 📅 Comment timestamp |
❤️ Comment sentiment | 📌 Sentiment classification per comment | 💡 Sentiment scores per comment |
Yes. Apify provides you with $5 free usage credits every month on the Apify Free plan, allowing you to scrape and analyze 1,000 comments from social media profiles for free.
For regular and extensive comment data extraction, consider getting an Apify subscription. We recommend our $49/month subscription for scalable scraping.
It's easy to scrape and analyze social media profiles with Social Media Sentiment Analysis Tool. Follow these steps:
To analyze social media comments, the input for Social Media Sentiment Analysis Tool should be the a person's name and the number of posts and comments to analyze. Note that you can target only one profile at a time.
You can input data by filling out fields like in the example above, using JSON, or programmatically via an API. For more details on how to configure input in JSON, see the input tab.
The results will be wrapped into a dataset which you can find in the Output tab. The full information about each comment comes from the target social media platform.
You can preview all the fields in the Storage tab and choose the format in which to export the posts, comments and sentiment score: JSON, CSV, Excel, XML, or HTML table. Here below is the same sample dataset in JSON:
1[{ 2 "targetPlatform": "facebook", 3 "profileName": "Arnold Schwarzenegger", 4 "profileUrl": "https://www.facebook.com/arnold", 5 "postDescription": "We say we have a pollution emergency - it’s time to act like it. Tune in to my summit now. Link is in my story.", 6 "postTimestamp": "2024-06-20T07:33:08.000Z", 7 "commentText": "Sir what you have achieved is absolutely impossible for an ordinary and common man Arnold Schwarzenegger sir. You are truly an amazing and awesome and fantastic and extremely extraordinary and talented man Arnold Schwarzenegger sir. There is no one else like you sir. You are truly incredible and unbelievable.", 8 "commentAuthor": "Sudeb Banerjee", 9 "postUrl": "https://www.facebook.com/arnold/posts/pfbid0yYKhqUZNJEZJq8zhnJ8gD1PkCFpzpJL2ckj2y4KyF8n71fnRFD2gH5zPrqEjsskYl", 10 "commentTimestamp": "2024-07-24T01:49:59.000Z", 11 "profileDescription": "", 12 "profileFollowers": 25002281, 13 "postCommentsCount": 1440, 14 "postLikesCount": 2894, 15 "commentLikesCount": 4, 16 "sentiment": { 17 "finalClassification": "positive", 18 "finalScore": 0.9750254154205322, 19 "negativeScore": 0.005801178049296141, 20 "neutralScore": 0.019173355773091316, 21 "positiveScore": 0.9750254154205322 22 } 23}, 24{ 25 "targetPlatform": "facebook", 26 "profileName": "Arnold Schwarzenegger", 27 "profileUrl": "https://www.facebook.com/arnold", 28 "postDescription": "We say we have a pollution emergency - it’s time to act like it. Tune in to my summit now. Link is in my story.", 29 "postTimestamp": "2024-06-20T07:33:08.000Z", 30 "commentText": "Sir you are the best and greatest icon and idol and inspiration and motivation for everyone around the world. You always state that you are not a self made man Arnold Schwarzenegger sir but still I believe you have achieved so much sir. You are really one of the most important and inspiring and motivating and empowering and encouraging and powerful and prominent and permanent and popular personality throughout the whole wide world sir.", 31 "commentAuthor": "Sudeb Banerjee", 32 "postUrl": "https://www.facebook.com/arnold/posts/pfbid0yYKhqUZNJEZJq8zhnJ8gD1PkCFpzpJL2ckj2y4KyF8n71fnRFD2gH5zPrqEjsskYl", 33 "commentTimestamp": "2024-07-24T01:46:49.000Z", 34 "profileDescription": "", 35 "profileFollowers": 25002281, 36 "postCommentsCount": 1440, 37 "postLikesCount": 2894, 38 "commentLikesCount": 4, 39 "sentiment": { 40 "finalClassification": "positive", 41 "finalScore": 0.969575047492981, 42 "negativeScore": 0.005614493973553181, 43 "neutralScore": 0.0248104315251112, 44 "positiveScore": 0.969575047492981 45 } 46}, 47 48{ 49 "targetPlatform": "instagram", 50 "profileName": "schwarzenegger", 51 "profileUrl": "https://www.instagram.com/schwarzenegger", 52 "profileDescription": "Bodybuilder, Conan, Terminator, and former Governor of California. I killed the Predator. I’m here to pump you up.", 53 "commentText": "OS CARA DA AMERICA 😉👉🏿", 54 "postDescription": "Happy birthday my friend, @officialslystallone. You are a champion and a legend. You inspire me and billions of people around the world.", 55 "postUrl": "https://www.instagram.com/p/C9FWWezxxQJ/", 56 "postTimestamp": "2024-07-06T13:52:01.000Z", 57 "commentAuthor": "coringa_157_12", 58 "commentTimestamp": "2024-07-19T20:15:25.000Z", 59 "profileFollowers": 26252962, 60 "profileFollows": 267, 61 "postCommentsCount": 6074, 62 "postLikesCount": 872809, 63 "commentLikesCount": 2, 64 "sentiment": { 65 "finalClassification": "neutral", 66 "finalScore": 0.7442860007286072, 67 "negativeScore": 0.03667657822370529, 68 "neutralScore": 0.7442860007286072, 69 "positiveScore": 0.21903735399246216 70 } 71}, 72{ 73 "targetPlatform": "instagram", 74 "profileName": "schwarzenegger", 75 "profileUrl": "https://www.instagram.com/schwarzenegger", 76 "profileDescription": "Bodybuilder, Conan, Terminator, and former Governor of California. I killed the Predator. I’m here to pump you up.", 77 "commentText": "@coringa_157_12 ESTOU CHEGANDO, AINDA SOU 100% ORGANICO 🥵", 78 "postDescription": "Happy birthday my friend, @officialslystallone. You are a champion and a legend. You inspire me and billions of people around the world.", 79 "postUrl": "https://www.instagram.com/p/C9FWWezxxQJ/", 80 "postTimestamp": "2024-07-06T13:52:01.000Z", 81 "commentAuthor": "coringa_157_12", 82 "commentTimestamp": "2024-07-19T20:16:01.000Z", 83 "profileFollowers": 26252962, 84 "profileFollows": 267, 85 "postCommentsCount": 6074, 86 "postLikesCount": 872809, 87 "commentLikesCount": 0, 88 "sentiment": { 89 "finalClassification": "neutral", 90 "finalScore": 0.7158809304237366, 91 "negativeScore": 0.046696025878190994, 92 "neutralScore": 0.7158809304237366, 93 "positiveScore": 0.23742306232452393 94 } 95}, 96{ 97 "targetPlatform": "instagram", 98 "profileName": "schwarzenegger", 99 "profileUrl": "https://www.instagram.com/schwarzenegger", 100 "profileDescription": "Bodybuilder, Conan, Terminator, and former Governor of California. I killed the Predator. I’m here to pump you up.", 101 "commentText": "Lance Bean and Bill Rizer itl", 102 "postDescription": "Happy birthday my friend, @officialslystallone. You are a champion and a legend. You inspire me and billions of people around the world.", 103 "postUrl": "https://www.instagram.com/p/C9FWWezxxQJ/", 104 "postTimestamp": "2024-07-06T13:52:01.000Z", 105 "commentAuthor": "gimbap2001", 106 "commentTimestamp": "2024-07-19T22:16:41.000Z", 107 "profileFollowers": 26252962, 108 "profileFollows": 267, 109 "postCommentsCount": 6074, 110 "postLikesCount": 872809, 111 "commentLikesCount": 0, 112 "sentiment": { 113 "finalClassification": "neutral", 114 "finalScore": 0.8724797964096069, 115 "negativeScore": 0.011924650520086288, 116 "neutralScore": 0.8724797964096069, 117 "positiveScore": 0.11559554934501648 118 } 119}, 120 121{ 122 "targetPlatform": "tiktok", 123 "profileName": "arnoldschnitzel", 124 "profileUrl": "https://www.tiktok.com/@arnoldschnitzel", 125 "profileDescription": "Bodybuilder, Conan, Terminator, and Governor of California.", 126 "commentText": "Two Legends 🔥🔥", 127 "commentAuthor": "immortaljewellerytv", 128 "postDescription": "Don’t miss me and @sylvesterstallone tonight on Fox.", 129 "postUrl": "https://www.tiktok.com/@arnoldschnitzel/video/7361086437766319402", 130 "postTimestamp": "2024-04-23T15:35:05.000Z", 131 "commentTimestamp": "2024-04-23T23:55:57.000Z", 132 "profileFollowers": 6600000, 133 "profileFollows": 20, 134 "postCommentsCount": 370, 135 "postLikesCount": 7082, 136 "commentLikesCount": 48, 137 "sentiment": { 138 "finalClassification": "positive", 139 "finalScore": 0.9582542777061462, 140 "negativeScore": 0.003348211757838726, 141 "neutralScore": 0.038397472351789474, 142 "positiveScore": 0.9582542777061462 143 } 144}, 145{ 146 "targetPlatform": "tiktok", 147 "profileName": "arnoldschnitzel", 148 "profileUrl": "https://www.tiktok.com/@arnoldschnitzel", 149 "profileDescription": "Bodybuilder, Conan, Terminator, and Governor of California.", 150 "commentText": "Hello Arnold and Sylvester and Tom Cruise.Best Inspiration Person Ever.", 151 "commentAuthor": "tisto758", 152 "postDescription": "Don’t miss me and @sylvesterstallone tonight on Fox.", 153 "postUrl": "https://www.tiktok.com/@arnoldschnitzel/video/7361086437766319402", 154 "postTimestamp": "2024-04-23T15:35:05.000Z", 155 "commentTimestamp": "2024-04-27T07:08:53.000Z", 156 "profileFollowers": 6600000, 157 "profileFollows": 20, 158 "postCommentsCount": 370, 159 "postLikesCount": 7082, 160 "commentLikesCount": 31, 161 "sentiment": { 162 "finalClassification": "positive", 163 "finalScore": 0.9773502349853516, 164 "negativeScore": 0.003464324865490198, 165 "neutralScore": 0.019185440614819527, 166 "positiveScore": 0.9773502349853516 167 } 168}, 169{ 170 "targetPlatform": "tiktok", 171 "profileName": "arnoldschnitzel", 172 "profileUrl": "https://www.tiktok.com/@arnoldschnitzel", 173 "profileDescription": "Bodybuilder, Conan, Terminator, and Governor of California.", 174 "commentText": "awesome! i happened to have purchased an Arnold body building encyclopedia ! Two awesome men ! They are truly inspirational!😇😇", 175 "commentAuthor": "kendrahall38", 176 "postDescription": "Don’t miss me and @sylvesterstallone tonight on Fox.", 177 "postUrl": "https://www.tiktok.com/@arnoldschnitzel/video/7361086437766319402", 178 "postTimestamp": "2024-04-23T15:35:05.000Z", 179 "commentTimestamp": "2024-04-23T23:40:38.000Z", 180 "profileFollowers": 6600000, 181 "profileFollows": 20, 182 "postCommentsCount": 370, 183 "postLikesCount": 7082, 184 "commentLikesCount": 31, 185 "sentiment": { 186 "finalClassification": "positive", 187 "finalScore": 0.9876835942268372, 188 "negativeScore": 0.00378438550978899, 189 "neutralScore": 0.008531990461051464, 190 "positiveScore": 0.9876835942268372 191 } 192}, 193...
This scraper is an Actor Bundle, named so because it combines the capabilities of eight different Actors into one. You can of course scrape each social media site separately by using each scraping tool by itself. Social Media Sentiment Analysis Tool combines the results of scrapers from the following social media:
Social Media Platform | Scraper |
---|---|
Facebook Posts Scraper Facebook Comments Scraper Facebook Page Contact Information Scraper | |
Instagram Scraper Instagram Comments Scraper | |
🎵 TikTok |
TikTok Comments Scraper TikTok Profile Scraper |
🤖 Text Analysis | Sentiment Analysis Online Tool |
If you want to check out more Power Actors, you might be interested in 🍽 Restaurant Review Aggregator and 📱 Social Media Finder.
Social Media Sentiment Analysis Tool extracts recent posts and comments from a given profile and performs sentiment analysis on each comment. Sentiments are classified as "positive"
, "neutral"
, or "negative"
with a confidence score from 0 to 1. The highest score determines the finalClassification
.
Our scrapers are ethical and do not extract any private user data. They only extract publicly available information. However, you should be aware that your results could contain personal data such as names. Ensure you have a legitimate reason to scrape personal data.
For more information on web scraping legality, check out our blog post: is web scraping legal?
Yes, you can use the Apify API to access data scraped by Social Media Sentiment Analysis Tool programmatically. The API allows you to manage, schedule, and run Apify Actors, access datasets, monitor performance, get results, create and update Actor versions, and more.
To access the API using Node.js or Python, you can use the apify-client
in the NPM package or PyPI package. For detailed information and code examples, refer to the Apify API documentation.
Yes. Social Media Sentiment Analysis Tool can be connected with almost any cloud service or web app thanks to the integrations available on the Apify platform. You can integrate your data with Zapier, Slack, Make, Airbyte, GitHub, Google Drive, LangChain, and more.
You can also use webhooks to carry out an action whenever an event occurs, e.g., get a notification whenever Social Media Sentiment Analysis Tool successfully finishes a run.
We’re always working on improving the performance of our Actors. If you have any technical feedback for this tool or found a bug, please create an issue on the Actor’s Issues tab.
Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.
No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.
It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.
Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.
You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!