Code Monkey home page Code Monkey logo

Comments (12)

fernandezpablo85 avatar fernandezpablo85 commented on May 22, 2024

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.

HashbangGames avatar HashbangGames commented on May 22, 2024

Thanks for the quick reply.

from scribejava.

fernandezpablo85 avatar fernandezpablo85 commented on May 22, 2024

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.

iordanis avatar iordanis commented on May 22, 2024

@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.

fernandezpablo85 avatar fernandezpablo85 commented on May 22, 2024

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:

  1. Does not require the dependency if you don't want to

  2. Uses HttpComponents (not by default)

from scribejava.

fernandezpablo85 avatar fernandezpablo85 commented on May 22, 2024

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.

iordanis avatar iordanis commented on May 22, 2024

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.

HashbangGames avatar HashbangGames commented on May 22, 2024

Okay, so how do i go about this.

  1. where do i open a ticket for this?
  2. 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.

fernandezpablo85 avatar fernandezpablo85 commented on May 22, 2024
  1. I'll create the ticket don't worry

  2. You can start by forking the code :)

from scribejava.

HashbangGames avatar HashbangGames commented on May 22, 2024

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.

HashbangGames avatar HashbangGames commented on May 22, 2024

Update: I just added You ( fernandezpablo85 ) and iordanis as contributors.

from scribejava.

fernandezpablo85 avatar fernandezpablo85 commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.