The Social Internet of Things (SIoT) is a novel communication paradigm according to which the objects connected to the Internet create a dynamic social network that is mostly used to implement the following processes: route information and service requests, disseminate data, and evaluate the trust level of each member of the network. In this paper, the SIoT paradigm is applied to a scenario where geolocated sensing tasks are assigned to fixed and mobile devices, providing the following major contributions. The SIoT model is adopted to find the objects that can contribute to the application by crawling the social network through the nodes profile and trust level. A new algorithm to address the resource management issue is proposed so that sensing tasks are fairly assigned to the objects in the SIoT. To this, an energy consumption profile is created per device and task, and shared among nodes of the same category through the SIoT. The resulting solution is also implemented in the SIoTbased Lysis platform. Emulations have been performed, which showed an extension of the time needed to completely deplete the battery of the first device of more than 40% with respect to alternative approaches. Index Terms-Social Internet of Things; Mobile CrowdSensing; resource allocation LIST OF MAIN SYMBOLS AND ACRONYMS D G Geofence size E i,k Energy consumption for task k in node i E res i Residual energy for node i f i,k Frequency at which node i performs task k F M SF k Minimum Sampling Frequency for task k G Reference geofence P drain i