Take a look at this thread to know how to get the access_token from session token. It also has sample code in javascript & .net -