Internet of Things (IoT) emerges as a possible solution to realize a smart life in the modern age. However, how to provide a transparent IoT service to fit users' needs and how to quickly develop smart services with flexibility and scalability are still problems. In this article, we present a novel NFC-driven home automation framework for IoT, which integrates the Wireless Sensor Network (WSN), Social Networks, and the Cloud Computing. Near Field Communication (NFC) technology provides a way for users to exchange information between them and the system by simply contacting. So, we propose to use NFC as the system drive in the framework, such that users can intuitively interact with the system and deliver their intentions. Then, the corresponding service over the framework will control or adjust the 'things' at home to fit users' needs. Furthermore, the proposed framework provides a platform for developers to easily and rapidly implement their home automation related services. In the framework, WSN sensing and control, NFC communications and identification, user profile management and preference analysis, and social network integration are all provide as platform services. Application developers are allowed to skip these details. The framework can be applied on Home Automation and Elderly Care. Take Home Automation as an example, we will show how the framework works for home automation, secure house, and social network sharing.