catch snsapi version