On Fri, Jul 24, 2009 at 6:49 PM, John Kristian<[email protected]> wrote:
>
> The third parameter to getRequestToken is sent to the server, not
> passed to the HTTP client library.  This should work better:
>
> OAuthClient client = ...
> client.getHttpParameters().put(HttpClient.CONNECT_TIMEOUT, 3*1000);
> client.getHttpParameters().put(HttpClient.READ_TIMEOUT, 6*1000);
> client.getRequestToken(accessor, null, null);
>

Yes, that's the technique I'm using in jfireeagle and jpoco:

http://code.google.com/p/jfireeagle/source/browse/trunk/jfireeagle/src/main/jfireeagle/FireEagleClient.java

http://code.google.com/p/jpoco/source/browse/trunk/jpoco/src/main/jpoco/client/Client.java

Sean

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to