The code snippet is good. As it works in a console, it shall work anywhere else. How you get the token? Try to debug the token value in your asp.net application. A valid token shall make it work.
↧
The code snippet is good. As it works in a console, it shall work anywhere else. How you get the token? Try to debug the token value in your asp.net application. A valid token shall make it work.