This is very important to extract verdict or opinion of others about any product, topic or about some person. The rich sources of this opinion rich data are blogs, online review sites and social networking sites. Among the social networking sites, twitter one of such largest source of microblog has gained popularity with more than 500 million tweets per day. Because of this Twitter has become a primary source for opinion mining. Twitter messages called tweets, are much focused because of the restricted characters size of 140 characters. Social network data is one of the most effective and accurate indicators of public sentiment. In this paper, twitter data is analyzed to determine the opinion of public. Twitter data about iPhone 6 is collected for analysis using the Twitter public API which allows developers to extract tweets from twitter programmatically. In this paper, Naïve Bayes classifier is used to calculate the sentiments of tweets and compared with baseline algorithms.
 K. Ravi and V. Ravi, A survey on opinion mining and sentiment analysis: tasks, approaches and applications. Knowledge-Based Systems, vol. 89, pp. 14–46, 2015.
 S. Asur and B. A. Huberman, Predicting the future with social media, in Web Intelligence and Intelligent Agent Technology (WI-IAT), 2010 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology vol. 1. IEEE, 2010, pp. 492–499.
 K. Denecke, Using SentiWordNet for multilingual sentiment analysis, in Data Engineering Workshop, 2008. ICDEW 2008. IEEE 24th International Conference on Data Engineering Workshop, IEEE, 2008, pp. 507–512.
Financed by the National Centre for Research and Development under grant No. SP/I/1/77065/10 by the strategic scientific research and experimental development program:
SYNAT - “Interdisciplinary System for Interactive Scientific and Scientific-Technical Information”.