Template for social mining on Twitter