- iPhone tweeted about 1.3 times as much as Android but had 3 times the number of negative tweets
- The iPhone 8 had the highest proportion of negative tweets at 56%
- The OnePlus 5 received the largest percentage of positive tweets at 63%
- The Samsung Galaxy S8 scored the lowest percentage of negative and positive tweets
What can Twitter teach us about smartphones? We analyzed over 220,000 tweets about iPhones and Android phones, and used sentiment analysis software to find out which brand is actually winning over the masses.
For our first analysis, we collected 110,675 tweets containing “iPhone” or “Android” to calculate how people actually feel about major phone brands like Samsung, OnePlus, Pixel and Apple. Although the iPhone was tweeted about a third more than Android, proportionally it had three times the number of negative tweets – 26.7% compared to 8.4%.
|Total no. of tweets
|Positive: negative ratio
||3.9 : 1
||1.2 : 1
||2.7 : 1
|Tweets per minute
|Tweets per day
Next, we gathered tweets about six of 2017’s most talked-about smartphones. If you’re trying to decide on a new phone, consulting these 110,890 opinions could help you.
- The OnePlus 5 received the largest percentage of positive tweets – 63%.
- The Samsung Galaxy S8 received the lowest percentage of negative and positive tweets. Basically, people have no strong feelings one way or the other.
- The iPhone X and the Samsung Galaxy Note 8 got uncannily similar sentiment scores.
- The iPhone 8 had, by far, the highest proportion of negative tweets – coming in at 56%.
||Galaxy Note 8
|Positive : negative ratio
||0.2 : 1
||7.8 : 1
||7.7 : 1
||9.7 : 1
||1 : 1
||19.8 : 1
We used Twitter’s search API to collect tweets posted between 27 September and 4 October 2017, in English only, containing matches for the following keywords:
- iPhone X
- iPhone 8
- Galaxy Note 8
- Galaxy S8
- Pixel 2
- OnePlus 5
These tweets were then analyzed using nltk.sentiment.vader – a sentiment analysis software package specifically designed for social media. This program returned a compound polarity score for each tweet between -1 and 1, where a positive result indicates an overall positive sentiment, and a negative result indicates an overall negative sentiment.
Tweets scoring 0.3 and above were considered positive, those scoring -0.3 and below were considered negative, and tweets that fell in the middle were counted as neutral. For each keyword, the number of tweets in each category was divided by the total number of tweets containing that keyword, to give the percentage of tweets about each phone/brand which expressed each sentiment.
Since Twitter does not index every single tweet for search, the figures for the number of tweets per minute were obtained via the streaming API which collects tweets in real-time. Every time a tweet occurred (in any language) mentioning either Android or iPhone, its creation time was recorded. This was run for over sixteen hours from 15:51 on 5 October to 8:06 on 6 October. The total number of tweets gathered was divided by the total number of minutes to get the average tweets per minute. This was then multiplied by the number of minutes in a day, 1440, to get the average tweets per day (rounded to the nearest thousand).
Consumer advocate helping people improve their personal finances.