Comments (3)
here is a sample request response:
Request:
GET /v1/yql?q=select++from+fantasysports.leagues+where+league_key%3D%27249.l.37334%27 HTTP/1.1
Authorization: OAuth oauth_consumer_key="dj0yJmk9bG9aNkswZnZNcG1mJmQ9WVdrOWQyeDBla05KTjJFbWNHbzlNQS0tJnM9Y29uc3VtZXJ
zZWNyZXQmeD0wOA--", oauth_nonce="2d48c42c15614972e99f87bc05d8031e", oauth_signature="48LsFPOtWBmFQGBH%2BS1xxNfhUWw%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1286314620", oauth_token="A%3DGOuiGX3juBHErfO2ovdbwEaWil1KI6Tq28g0LXtbf9_ONf.a8bV1.UT6YLORc5p3roQ9EFeotR6b4l
t9a7pqHiioQsAby8UyEK5tg4U5TzoJEnPjHyOq7JdV764hFN.Sm2ryb86DxcO6FnHJjPQPKF8NdK8XoFS
Kp5PAm6LvTT1Cqup36aGjpzYo585N3RVRSPkrLIqAjQ.mhVf7mzTpFcIhX0ll.kxSWpDm8Uj6sSfYr3u5
vLntGiR27wxQnS2dz9Mry0aIN9OJANVzTbdVC98wcatLq.JZDVyw9HAiOhc1C8D6qKfn1y8OYZqEK3nCE
JmhO0XrV7Ly.d_UUKHk1g0HU1I25o5Wy6LFUS3Fl21z8bu6fJ1fIrIEC7ABVPktBlpTf1WFl4ryFDt24C
SQMNh_nOQnh3rC6dRhN25VIuUnWeis7ytfW1O5hXN5ZipcfnU6sCT4Pjyov0wg4Y24u7QQ.2.q_7kPvSt
EPONQKGn_Ny5YL0hLx.oENUJFiq.IyjiE29kHVMs6VioIFMECxN3WMIIuLaZ.9VtMAfqUHdLtodJ88nc4
zxTxyjV9kiAMykXVslnqyfw.8VCLb_MKJWPuV_Ii6.FcKolRa52Gm1hcIl4SYiT2OayGaUvkX33DgK2.9
wFogP3VR41xarN5SusvRaO32WoTfkJsaDRxmglz4K6txtn0k_F6", oauth_version="1.0", realm="yahooapis.com"
User-Agent: Java/1.6.0_21
Host: query.yahooapis.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */; q=.2
Connection: keep-alive
Response:
HTTP/1.1 401 Authorization Required
Date: Tue, 05 Oct 2010 21:37:01 GMT
WWW-Authenticate: OAuth oauth_problem="signature_invalid", realm="yahooapis.com"
Content-Type: application/xml
Cache-Control: private
Age: 0
Transfer-Encoding: chunked
Connection: keep-alive
Server: YTS/1.17.21
16a
<yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng'
xml:lang='en-US'>
yahoo:descriptionPlease provide valid credentials. OAuth oauth_problem="signature_invalid", realm="yahooapis.com"/yahoo:description
/yahoo:error
from scribejava.
People had no problem connecting to Yahoo's api AFAIK.
It's probably a bug in your code and they are more likely to help you carve the correct request.
from scribejava.
Based on you query string I can say that this is probably due to an encoding problem in scribe.
Your query string contains a paramater value that includes spaces.
There is encoding bugs in scribe including in version 1.1.0.
from scribejava.
Related Issues (20)
- Device authorization codes request should include client_secret
- Use better default Accept-header for JDKHttpClient
- scribejava-core dependency on jackson-databind affected by CVE-2020-36518 HOT 2
- BoxApi20 can't obtain access_token
- Unmaintained? HOT 2
- LinkedIn API v2 access-/refresh-token new rules header Content-Type: x-www-form-urlencoded HOT 3
- I want to know how to get the code automatically HOT 1
- How to build a Oauth2 server use scribejava HOT 1
- Example using streaming HOT 1
- PKCE example uses "clientSecret" HOT 1
- Device Flow HOT 1
- File payloads not working (for Linkedin)
- Linkedin: Migrate to versioned APIs HOT 1
- Support for OAuth2 Adobe developer console
- Add Zendesk Oauth 2.0 Support
- OAuth 1.0 Trello issue HOT 1
- Requests are not processed and can see them stuck in requestQueue HOT 2
- How to use with Retrofit
- oauth_timestamp missing or invalid (suggestion for improvement with code)
- KeycloakApi doesn't work with Keycloak version >= 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribejava.