You need to set the URL endpoint that I have in $config['request_uri']. Looking at their docs (http://developer.yahoo.com/oauth/guide/about.html) I think that will be https://api.login.yahoo.com/oauth/v2/get_request_token - hope that helps