I use the library in my twitter python library. You can view the code for my oauth handler here [1]. The code is pretty simple. The apply_auth method is where I build the headers for the resource request. Let me know if you have any questions.
If you could post a link to your client code using the library I could offer to look at it. Josh [1] http://github.com/joshthecoder/tweepy/blob/master/tweepy/auth.py On Wed, Oct 7, 2009 at 2:10 AM, Oscar Del Ben <[email protected]> wrote: > > Hi Josh and thanks for your reply. Our SP is currently used by another > client application written in ruby and it's actually working. Do you > have any code to share or do you know where I can find an example? I > know about the example in the library itself, but it's not working for > me. > > On Oct 7, 5:54 am, Josh Roesslein <[email protected]> wrote: >> Hi Oscar, >> >> The python library in the OAuth SVN is 1.0a compliant. I have >> successfully used it on Twitter (which uses 1.0a) >> without issues. Has your SP implementation been tested with other >> OAuth libraries? Perhaps there is a bug in your >> SP server code. >> >> Best of luck, >> >> Josh >> >> On Tue, Oct 6, 2009 at 8:04 AM, Oscar Del Ben <[email protected]> wrote: >> >> >> >> >> >> > Hi, I'm using the module oauth which can be found at >> >http://oauth.googlecode.com/svn/code/python/oauth/to build a simple >> > client we built. The problem is that I'm not sure if that library >> > support oauth 1.0a >> >> > I used the example >> > athttp://apiwiki.justin.tv/mediawiki/index.php/Justin.tv_Python_Client_... >> > to develop a first version of my client and I am able to get an access >> > token back from the provider, however when I try to access private >> > data my request does not pass the signature control. >> >> > Since I am in control of the provider server (which is not built in >> > python) I have tried to figure out what was happening but without any >> > result and I would like to know if someone knows of a simple oauth >> > client 1.0a that I can use in my python application. >> >> > Many thanks, >> >> > Oscar > > > -- Josh --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
