Loading ...
Sorry, an error occurred while loading the content.

Re: How to call the API with oAuth token in .NET

Expand Messages
  • Vachooho
    you need to override one of the methods GetWebRequest or GetWebResponse in the generated proxy class to include Authorization header.
    Message 1 of 2 , Apr 21 2:46 PM
    View Source
    • 0 Attachment
      you need to override one of the methods GetWebRequest or GetWebResponse in the generated proxy class to include Authorization header.

      --- In ydn-mail@yahoogroups.com, "hdavy1986" <hdavy1986@...> wrote:
      >
      > Hi all,
      >
      > I have found that the sample code in .NET is use BBAuth. But in my application I need oAuth. I have followed the instructions to get the access token. But I don't know how to make use of the token to make the API call in .NET. I created the proxy object but it does not include any oauth token properties. So how can I pass the with the request?
      > Can some one provide sample code to do that?
      > Thanks for help.
      >
      > Zen
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.