fix display 'code' for weibo callback
add api doc