SenSocial is a middleware proposed to simplify the implementation of applications that integrate online social network (OSN) and mobile sensor data streams. It uses a publish-subscribe interaction model to allow applications to subscribe to different data streams. This reduces programming effort and lines of code compared to not using SenSocial. Two prototype applications demonstrated reduced lines of code by 9 and 24 times when using SenSocial. The paper argues that integrating OSNs and sensor data can provide richer contextual information and SenSocial is presented as a solution to simplify building such ubiquitous computing applications.