Opinion Leader Detection in Online Social Networks Based on Output and Input Links