The FTW middleware platform is a novel framework which supports collecting a variety of sensor data (e.g., accelerometer, microphone, GPS, camera, external environmental sensor devices etc) with minimum energy consumption and cost in order to explore opportunities in three-dimensional domains (user activities, locations/places and social interactions). The data are sent to a server (i.e., Cloud infrastructure) for post-analysis. The proposed framework operates on both mobiles phones and servers providing to third party programmers with little phone programming experience to develop phone sensing applications with social networking capabilities.