Almost same as SocialBeam application by RayCoding.net