Requirements
Need phantomjs to run it, so you have to install phantomjs first
Usage
run:
phantomjs "weiboAccessToken.js" "app_url" "account" "password"
then, returns like
{"access_token":"2.00eID2zAwusBxB5d132264fc0Li1F_","remind_in":"157679999","expires_in":"157679999","uid":"0123456789"}