1

YQL call with Oauth

Hi,

I'm trying to call YQL service after being authenticated. How do I need to structure the call with the access tokens?

This is what I'm sending: http://query.yahooapis.com/v1/yql?diagnostics=true&format=json&jsoncompat=new&oauth_consumer_key=dj0yJmk9WGUxTUhxczFneUsxJmQ9WVdrOVRuVmlZVmd6TXpZbWNHbzlNVGd4TlRnMk5ETTJNZy0tJnM9Y29uc3VtZXJzZWNyZXQmeD0yYQ--&oauth_nonce=6CC3B09C1B8C6A257E98CE9701EA7745F7D56486&oauth_signature=Lj3hT%2B%2BOx%2BvNYfg5CBmhVCULXI8%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1358279775&oauth_token=A%253Dgq5IXTHjtxDAJ9obnTeQaxXVb6GXKGIOlPmVMwFUsock67AZfqiX50oQKlynyPWG8a2JiKyjC87cPOyuUHvJI57OIsbVUwblkGN5dm5BdF0ANZzWw2YbtoxSAqc0iLXsv_6PxhWRY0SVIRAW_qlLc6oB4rJwxNADMjX4oEMJFoh5PVtaAt90t8fvEeEszhqKs8y52HPkmc4.8Sa2oAH_3MgQPEqWtDJZuww4J0D7VtjUEC0bE4TnCcuWY.y80MQkzqdmq0ajmqSp2a_Jz2apdok6LES6nnHaJTP3DcNjKdtC6LzHLCqQiU6bQFIt0Oc_iQ6P1kZ70Benk5W7.kBMtIicIv_YS0BO4o2ipv9gVXPpgjV3IiVYZJ8W_8KURseZr0BoLRsVA3mJtNtHAbQI_LXjaMpqkPzVTDKsCf72l2AjOWJlncrOq7YOZWiqO1sp1mL4JxhDg2n2grq8Wzd6J7aU9BhM.qM93K9WfD9dIyHko4HJJdeeFtGkfIPu9z_t9jXox9b8MdUH2goEdZfKQX085vd8EeFINJcBohRfpyOF9CFfndSjZWRJPMobMSWOGhaFpE9a_wkbCp4M578To0bvR.xSlDQBq0MFe8IgKIKZEfwJ6Z_2fXEILWm0SZ710D1RT0_IiUOarlvAHbVnux6JC1ivVuUuyGrJBJu6YxlkYNzjyOr0t_dvz2k90EUUhoL7UTh.YvJTNXrUSg3kJO9a0YYVmAV1kO0nSHadtT1MR2jn6JWgKhuGA_keKWUqEtpIEbdsgPcVVe91AYqufXaWoDeyCQca5ono2IhE._MnJeTw8ZVrKUtyYNcSaYsaUPr8JcBHXFXewQ--&oauth_version=1.0&q=select%2520%252A%2520from%2520geo%252Eplacefinder%2520where%2520text%253D%2522200%2520East%2520Main%2520St%2520Durham%2520North%2520Carolina%252027701%2522&realm=yahooapis.com

The response is a 401: Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_TOKEN_REJECTED_ERROR", realm="yahooapis.com" Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_TOKEN_REJECTED_ERROR", realm="yahooapis.com"

What am I doing wrong?

Thanks in advance!

by
6 Replies

Recent Posts

in OAuth General Discussion YDN SDKs