The error is self explanatory: it's an obsolete method and it shouldn't be used in new applications.
Why you get the error may be more complex - most likely you are trying to use code written for an earlier version of the API. Bue we can't tell you what to do, you need to talk to the people who wrote the code or "tutorial" you are following, and probably the API authors as well. They are easy to find:
Nemiro.OAuth - Table of Content[
^] - look on the left and there is a "feedback" link, or you may find a more up to date tutorial elsewhere on their site.