Comments (12)
They are probably unrelated.
FatSecret API is not currently supported, for the look of the error seems that those guys are not using the Authorization header type of authentication but querystring or something else...
from scribejava.
Thanks for the quick reply.
from scribejava.
No problem dude.
If you really want to work with FatSecret, let's create a ticket for a FatSecretApi.class
I'm not sure when I'll be able to tackle it, but it's good to keep it in the backlog as a reminder
from scribejava.
@somethingjava Regardless of the API you're using, I believe the library won't work as it is.
The Android implementation of HttpUrlConnection is buggy. The only way I could make it work was to swap the connection parts with HttpClient (Android has an implementation of HttpClient, called DefaultHttpClient. I'm going to incorporate that change in my fork, for those who need it.
@fernandezpablo85 I know you probably want to avoid any dependencies, but I can''t see how to avoid this for Android. Please, let me know if you're aware of the issue or any other ways to solve this without HttpClient.
Thanks!
from scribejava.
We could add it as a runtime dependency...
HttpUrlConnection is a bitch, probably one of the worst parts of the JVM indeed, and I would be happy to find a solution that:
-
Does not require the dependency if you don't want to
-
Uses HttpComponents (not by default)
from scribejava.
You are indeed very welcome to fork scribe and made the changes that work for you, please ping me at fernandezpablo85 at gmail dot com if you need help with that
from scribejava.
Yep, that was my first thought, probably the logic and the actual action of sending requests have to be separated (then using whatever implementation to perform the actual requests).
from scribejava.
Okay, so how do i go about this.
- where do i open a ticket for this?
- I am fairly new to Java programming, but I would love to help out. I can read and understand everything, I am at that breaking point where I have trouble coming up with the idea of how to do things.
I've downloaded the source to this project and gone though a better part of the code. BTW - Damn this code is clean! lol good job :)
from scribejava.
-
I'll create the ticket don't worry
-
You can start by forking the code :)
from scribejava.
Okay, it's forked :D.. that took me a whole 3 seconds to figure out.. yay! considering I didn't even know what forking was.. haha.. but i do now.. and amazed by it.
https://github.com/somethingjava/scribe-java
Do i have to setup any sort of permissions for you guys to be able to use it? Sorry for my newb questions. :)
from scribejava.
Update: I just added You ( fernandezpablo85 ) and iordanis as contributors.
from scribejava.
No permissions needed (and no need to be sorry either).
Use it at will and ask any questions you have.
Cheers
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.