getExtendedAccessToken function

I added getExtendedAccessToken function to get exchange_token
oAuth operation's result direcly. This function helps to developers
get extended access token and expire time to store anywhere to use
later.