I am new to Python and Web2py and I am developing an app that will use the LinkedIn API.
I use this library http://code.google.com/p/python-linkedin/ (it includes OAuth). My problem is very strange and that's why I am writing to the list.
When I try to connect to LinkedIn from the web2py console I get a request Token. When I do it inside a HTTP request I get a signature invalid exception.
The code I use in both cases is quite simple:
li = LinkedIn(LINKEDIN_API_KEY, LINKEDIN_SECRET_KEY, URL(r=request, c='default',f='import_accounts'))
li.requestToken()