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

5247Re: API help

Expand Messages
  • ucosmic@ymail.com
    Apr 19, 2013
      Correction to below. When I said "I really don't think GeoPlanet is an appropriate use case for OAuth", I meant to say "I really don't think PlaceFinder is an appropriate use case for OAuth." Why is there no option to edit a post here?

      --- In ysearchboss@yahoogroups.com, "ucosmic@..." <dan.ludwig@...> wrote:
      >
      > Dear mrbronz1,
      >
      > I have developed a PlaceFinder API client for C# / .NET. It is called NGeo. It is open source, you can find the source code at github, and there is also a nuget package for it.
      >
      > https://github.com/danludwig/NGeo
      > http://nuget.org/packages/NGeo/
      >
      > You can browse the source code in the github project to see how it works. If you want to fork the project and try running its tests on your local machine, just replace the App.config appSettings keys for the consumer key and secret.
      >
      > I too found this confusing and difficult to grasp, compared to the old PlaceFinder service. I really don't think GeoPlanet is an appropriate use case for OAuth. Usually with OAuth you have to use the consumer key and secret to obtain an access token, then in subsequent requests, you send the access token and secret with your API requests (not the consumer key). However in PlaceFinder, Y! makes you send the consumer key and secret with every request. This made it impossible to use a common library like DotNetOpenAuth, because that library does not allow you to send a null or empty access token for an OAuth request.
      >
      > You can read more about my opinions on this code smell at stackoverflow.
      >
      > http://stackoverflow.com/q/15164092/304832
      >
      > --- In ysearchboss@yahoogroups.com, "mrbronz1" <gregson61@> wrote:
      > >
      > > What???
      > >
      > > I have no idea what you are talking about!!!!
      > >
      > > There is only one discussion and that is how to use these yBoss API's
      > >
      > > which looks like no one knows!
      > >
      >
    • Show all 12 messages in this topic