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

Re: PlaceFinder Return 401

Expand Messages
  • masterofpuppets117
    The oAuth signature, as in tR3+Ty81lMeYAr/Fid0kMTYa/WM= is the signature generated. Examples i have seen change it to tR3%2BTy81lMeYAr%2FFid0kMTYa%2FWM%3D
    Message 1 of 24 , Apr 4, 2013
    • 0 Attachment
      The oAuth signature, as in 'tR3+Ty81lMeYAr/Fid0kMTYa/WM=' is the signature generated. Examples i have seen change it to tR3%2BTy81lMeYAr%2FFid0kMTYa%2FWM%3D somehow.

      --- In ysearchboss@yahoogroups.com, Paymon <paymon_a@...> wrote:
      >
      > I'm sorry, not sure I follow ; '=' at the end of what exactly ?
      >
      >
      > On Apr 4, 2013, at 11:43 AM, "masterofpuppets117" <masterofpuppets117@...> wrote:
      >
      > > My oAuth vb file was worng, thank you for that. However I am still receiving the same error. Does the signature have to have any characters replaced? Why would there be an '=' at the end?
      > >
      > > --- In ysearchboss@yahoogroups.com, Paymon <paymon_a@> wrote:
      > >>
      > >> Please have a look at this earlier thread: http://tech.groups.yahoo.com/group/ysearchboss/message/3507
      > >> It maybe that you're oAuth lib that you're using is problematic.
      > >>
      > >> hope this helps.
      > >>
      > >>
      > >> ________________________________
      > >> From: masterofpuppets117 <masterofpuppets117@>
      > >> To: ysearchboss@yahoogroups.com
      > >> Sent: Thursday, April 4, 2013 10:48 AM
      > >> Subject: [ysearchboss] Re: PlaceFinder Return 404
      > >>
      > >> My key has already been checked and verified through your support. I need to know why my signature is invalid. %20 just creates a space in the url when it is converted from a string. Does your end receive the response and automatically convert spaces to %20 or do we have to handle everything?
      > >>
      > >> --- In ysearchboss@yahoogroups.com, Rahul Hampole <rhampole@> wrote:
      > >>>
      > >>> As I indicated earlier, try using a %20 instead of the +. If you still have problems, please feel free to open a support ticket and we can check your specific key. See instructions (http://developer.yahoo.com/boss/search/bOSS_support_Form_F.pdf) on opening up a support issue
      > >>> Thanks
      > >>> BOSS Team
      > >>>
      > >>>
      > >>> From: masterofpuppets117 <masterofpuppets117@<mailto:masterofpuppets117@>>
      > >>> Reply-To: "ysearchboss@yahoogroups.com<mailto:ysearchboss@yahoogroups.com>" <ysearchboss@yahoogroups.com<mailto:ysearchboss@yahoogroups.com>>
      > >>> Date: Wednesday, April 3, 2013 10:57 AM
      > >>> To: "ysearchboss@yahoogroups.com<mailto:ysearchboss@yahoogroups.com>" <ysearchboss@yahoogroups.com<mailto:ysearchboss@yahoogroups.com>>
      > >>> Subject: [ysearchboss] Re: PlaceFinder Return 404
      > >>>
      > >>>
      > >>>
      > >>> I am synced with internet time. Does my Signature Method below look correct. The example only provided C#, and I am curious if the out url, out param got translated correctly?
      > >>>
      > >>> --- In ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com>, Paymon <paymon_a@> wrote:
      > >>>>
      > >>>> You can also try and see if the system clock on the machine you're using, has the proper time.
      > >>>> oAuth will complain if the system clock is off....
      > >>>>
      > >>>> --Paymon
      > >>>>
      > >>>>
      > >>>> ________________________________
      > >>>> From: masterofpuppets117 <masterofpuppets117@>
      > >>>> To: ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com>
      > >>>> Sent: Wednesday, April 3, 2013 10:41 AM
      > >>>> Subject: [ysearchboss] Re: PlaceFinder Return 404
      > >>>>
      > >>>> Yes, the result is the same, xml is returned as this.
      > >>>>
      > >>>> Please provide valid credentials. OAuth oauth_problem="signature_invalid", realm="yahooapis.com"
      > >>>>
      > >>>> --- In ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com>, Rahul Hampole <rhampole@> wrote:
      > >>>>>
      > >>>>> This might be a hunch but have you tried using %20 instead of + ?
      > >>>>>
      > >>>>> ~Rahul
      > >>>>>
      > >>>>>
      > >>>>> From: masterofpuppets117 <masterofpuppets117@<mailto:masterofpuppets117@>>
      > >>>>> Reply-To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com>>" <ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com>>>
      > >>>>> Date: Wednesday, April 3, 2013 10:04 AM
      > >>>>> To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com>>" <ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com>>>
      > >>>>> Subject: [ysearchboss] Re: PlaceFinder Return 404
      > >>>>>
      > >>>>>
      > >>>>>
      > >>>>> Ok, I got the class file installed and the parameters set up however now the address still returns with a 401 unauthorized error, and when input in the browser, a message comes up saying invalid signature. How do i build a proper signature? This is my code atm.
      > >>>>>
      > >>>>> Dim consumerKey As String = "..."
      > >>>>> Dim consumerSecret As String = "..."
      > >>>>> Dim uri = New Uri("http://yboss.yahooapis.com/geo/placefinder")
      > >>>>> Dim addressStr = issue.Address.Replace(" ", "+").Replace("#", "%23") + "+" + issue.City.Replace(" ", "+") + "+" + issue.State.Replace(" ", "+") + "+" + issue.Zip
      > >>>>> Dim url As String, param As String
      > >>>>> Dim oAuth = New OAuthBase()
      > >>>>> Dim nonce = oAuth.GenerateNonce()
      > >>>>> Dim timeStamp = oAuth.GenerateTimeStamp()
      > >>>>> Dim signature = oAuth.GenerateSignature(uri, consumerKey, consumerSecret, String.Empty, String.Empty, "GET", _
      > >>>>> timeStamp, nonce, OAuthBase.SignatureTypes.HMACSHA1, url, param)
      > >>>>> Dim sendAddress = String.Format("{0}?{1}&oauth_signature={2}&oauth_consumer_key={3}&oauth_signature_method={4}&oauth_timestamp={5}&oauth_version=1.0&oauth_nonce={6}", url, addressStr, signature, consumerKey, "HMAC-SHA1", timeStamp, nonce)
      > >>>>>
      > >>>>> Why would signature be wrong? this is exactly how the example is listed.
      > >>>>>
      > >>>>> --- In ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>, Rahul Hampole <rhampole@> wrote:
      > >>>>>>
      > >>>>>> Hello
      > >>>>>> BOSS uses oAuth which is very different from BB Auth. This is done so as to minimize any abuse associated with a key. Each request needs a Consumer Key and secret that is signed.
      > >>>>>>
      > >>>>>> I would recommend using the oAuth guide (http://developer.yahoo.com/boss/geo/docs/oauth_model_geo.html) and the Code Samples (http://developer.yahoo.com/boss/geo/docs/codeexamples.html) .
      > >>>>>>
      > >>>>>> Thanks
      > >>>>>> BOSS Team
      > >>>>>>
      > >>>>>>
      > >>>>>> From: masterofpuppets117 <masterofpuppets117@<mailto:masterofpuppets117@>>
      > >>>>>> Reply-To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>" <ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>
      > >>>>>> Date: Tuesday, April 2, 2013 11:41 AM
      > >>>>>> To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>" <ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>
      > >>>>>> Subject: [ysearchboss] Re: PlaceFinder Return 404
      > >>>>>>
      > >>>>>>
      > >>>>>>
      > >>>>>> I got everything set up, request is still returning a 401 error. I this where we have to have a day or so for it to be activated on the server? Also, I include this site http://yboss.yahooapis.com/geo/placefinder?location= plus my '&appid=' plus my '&key=' correct? Which key do I use? Consumer key or secret?
      > >>>>>>
      > >>>>>> --- In ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>, Rahul Hampole <rhampole@> wrote:
      > >>>>>>>
      > >>>>>>> Hello Jake
      > >>>>>>> We continue to offer a free rate limited version for non commercial usage. Please review the non-commercial section of the BOSS Page http://developer.yahoo.com/boss/geo/#noncomm
      > >>>>>>>
      > >>>>>>> The BOSS service requires an oAuth key and secret that is tied to a payment instrument. I am not sure how your previous key was created but I would go through the sign up process, create a BOSS specific key. Instructions are available on the BOSS Page on how to sign up.
      > >>>>>>>
      > >>>>>>> Regards
      > >>>>>>> BOSS Team
      > >>>>>>>
      > >>>>>>> From: Jake Cox <masterofpuppets117@<mailto:masterofpuppets117@>>
      > >>>>>>> Reply-To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>
      > >>>>>>> Date: Tuesday, April 2, 2013 9:26 AM
      > >>>>>>> To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>
      > >>>>>>> Subject: Re: [ysearchboss] PlaceFinder Return 404
      > >>>>>>>
      > >>>>>>>
      > >>>>>>>
      > >>>>>>> Is there any free option or is payment required? Also, the examples show the new URI so I tried that paired with the AppID and got an unauthorized (401) error from remote server. The context also said that your key is needed so I tried to add the key in the HTTP GET like so '&key=' but got the same 401 error. Is this where the payment comes in? These keys are given to us before hand, but not activated until we 'pay' for them? Is this correct? Or is another parameter needed?
      > >>>>>>>
      > >>>>>>> From: Rahul Hampole <rhampole@<mailto:rhampole@>>
      > >>>>>>> To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>
      > >>>>>>> Sent: Tuesday, April 2, 2013 8:30 AM
      > >>>>>>> Subject: Re: [ysearchboss] PlaceFinder Return 404
      > >>>>>>>
      > >>>>>>> Hello Jake
      > >>>>>>> You can find the Base URI at http://developer.yahoo.com/boss/geo/docs/requests-pf.html. Please note that BOSS uses oAuth and you may need to update your code to call the service. We have code samples available for you at http://developer.yahoo.com/boss/geo/docs/codeexamples.html
      > >>>>>>> Thanks
      > >>>>>>> BOSS Team
      > >>>>>>>
      > >>>>>>>
      > >>>>>>> From: Jake Cox <masterofpuppets117@<mailto:masterofpuppets117@>>Reply-To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>Date: Tuesday, April 2, 2013 8:20 AMTo:
      > >> "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>ysearchboss@yahoogrou!
      > >>>> ps.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>Subject: Re: [ysearchboss] PlaceFinder Return 404
      > >>>>>>>
      > >>>>>>>
      > >>>>>>> I just need to know the new URL to use, my AppID and I are ready to go and am having a hard time finding it in the documentation.
      > >>>>>>>
      > >>>>>>> From: Rahul Hampole <rhampole@<mailto:rhampole@>>
      > >>>>>>> To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>
      > >>>>>>> Sent: Tuesday, April 2, 2013 8:16 AM
      > >>>>>>> Subject: Re: [ysearchboss] PlaceFinder Return 404
      > >>>>>>>
      > >>>>>>> Hello
      > >>>>>>> Yes the old placefinder service has been shutdown permanently. Please use the BOSS Geo site http://developer.yahoo.com/boss/geo/ to learn more about commercial and non-commercial usage.
      > >>>>>>>
      > >>>>>>> Thanks
      > >>>>>>> BOSS Team
      > >>>>>>>
      > >>>>>>>
      > >>>>>>> From: Jake Cox <masterofpuppets117@<mailto:masterofpuppets117@>>Reply-To: "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>Date: Tuesday, April 2, 2013 8:14 AMTo:
      > >> "ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>ysearchboss@yahoogrou!
      > >>>> ps.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>>Subject: Re: [ysearchboss] PlaceFinder Return 404
      > >>>>>>>
      > >>>>>>>
      > >>>>>>> That is what I am using, what is the new site?
      > >>>>>>>
      > >>>>>>> From: Andy Gomps <agomps@<mailto:agomps@>>
      > >>>>>>> To: ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss@yahoogroups.com<mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com><mailto:ysearchboss%40yahoogroups.com>>
      > >>>>>>> Sent: Tuesday, April 2, 2013 6:19 AM
      > >>>>>>> Subject: [ysearchboss] PlaceFinder Return 404
      > >>>>>>>
      > >>>>>>> Hi, I was wondering is the PlaceFinder has been taken down, or if it is temporarily down. the old url that we were using is "http://where.yahooapis.com/geocode" Sincerely
      > >>>>
      > >>>>
      > >>>>
      > >>>> ------------------------------------
      > >>>>
      > >>>> Yahoo! Groups Links
      > >>>>
      > >>>>
      > >>>>
      > >>>> http://docs.yahoo.com/info/terms/
      > >>
      > >>
      > >>
      > >>
      > >> ------------------------------------
      > >>
      > >> Yahoo! Groups Links
      > >>
      > >>
      > >>
      > >> http://docs.yahoo.com/info/terms/
      > >
      > >
      > >
      > >
      > > ------------------------------------
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.