Android vs. iPhone on Twitter

Which smartphone is the most loved online?

Key findings

  • 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 tweets53,55257,1233,571
% positive33.3%31.8%1.5%
% negative8.4%26.7%18.3%
% neutral58.3%41.5%16.8%
Positive: negative ratio3.9 : 11.2 : 12.7 : 1
Tweets per minute15320249
Tweets per day220,000290,00070,000

Let’s break it down by smartphone

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%.
iPhone 8iPhone XGalaxy Note 8Galaxy S8Pixel 2OnePlus 5
% positive14.0%39.8%38.3%8.5%15.0%62.7%
% negative56.0%5.1%5.0%0.9%14.9%3.2%
% neutral30.0%55.2%56.7%90.6%70.1%34.1%
Positive : negative ratio0.2 : 17.8 : 17.7 : 19.7 : 11 : 119.8 : 1


We used Twitter’s search API to collect tweets, in English only, containing matches for the following keywords:

  • iPhone
  • Android
  • 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).

Ask an Expert

You must be logged in to post a comment.

Go to site