catch snsapi version: twitter fix
support hooks
SQLite optimize: index for message digest