helper in scala for sina weibo api access