Sample code of such SNS like Twitter