3

User has to Enter a Code?

I've been following the guide at http://nullinfo.wordpress.com/oauth-yahoo/.

However, during the step where the user is directed to the https yahoo URL.ex: https://api.login.yahoo.com/oauth/v2/reques...h_token=etfvcab . They enter their password and allow your application access. The next screen then says: "To complete sharing of Yahoo! info with <apphere>, enter code "5xbatf" into <apphere>."

Does this happen for all initial Yahoo! OAuth requests? Is there a way to automate this step so the user does not need to copy and paste a code?

by
10 Replies
  • That code is the oauth_verifier. Did you use 'oob' as the $callback parameter in step 2? If you instead provide a callback url, the oauth_verifier will be passed to the callback url as a query string parameter, and the user will never see it.

    Try this guide: http://developer.yahoo.com/oauth/guide/oau...w_tutorial.html
    1
  • QUOTE (Shane K @ Jun 8 2010, 07:15 PM) <{POST_SNAPBACK}>
    That code is the oauth_verifier. Did you use 'oob' as the $callback parameter in step 2? If you instead provide a callback url, the oauth_verifier will be passed to the callback url as a query string parameter, and the user will never see it.

    Try this guide: http://developer.yahoo.com/oauth/guide/oau...w_tutorial.html


    Ah, yes Shane I did use oob, rather than a callback url. Thank you very much.
    0
  • is it possible that i can get oauth_verifier when @callback url is oob( object out of bound ) in without user will see it and can use it directly...
    ??
    2
  • No, providing oob is telling yahoo that you want the user to have to copy and paste the verifier into your app (most likely cause your running as a desktop application and don't have a server to process the callback).  If you want to get around this and still use a desktop client you could set up your own server as the callback URL and then push the verfier to your client from your server. 
    0
  • Hi, I am trying to fetch contacts list of a user who logs in to yahoo using my iOS application. When user taps on a button in my app it opens yahoo in safari and user can login there but after the message "To complete sharing of Yahoo! info with , enter code "5xbatf" into ." is displayed it never comes back to my application. The call_back url is set to "oob". Is there any other settings that I need to provide? Please help.

    0
  • http://developer.yahoo.com/oauth/guide/oau...w_tutorial.html is not working please help me

    0
  • That code is the oauth_verifier. Did you use 'oob' as the $callback parameter in step 2? If you instead provide a callback url, the oauth_verifier will be passed to the callback url as a query string parameter, and the user will never see it.

    Try this guide: http://developer.yahoo.com/oauth/guide/oau...w_tutorial.html

    The above url is not working please help me Thank you

    0
  • i have successfully integrate the yahoo mail in my android application , the yahoo login page open and login successfully after next ask to complete the sharing of yahoo info with enter the code yc9ue3 into demo(my project name is demo).

    My question is that , where should i keep the code or enter the code. i

    1
  • opps m also fed up with this prob....any solution....

    0
  • My question is also that , where should i keep the code or enter the code

    0

Recent Posts

in Fantasy Sports API