I don t get an exception in web2py cos the linkedin library catches it so i just get a false. LinkedIn returns a bad signature error when i try to request the token (when calling the url via browser) If i write the code in console everything is fine
On 22 Φεβ, 20:11, Tiago Almeida <[email protected]> wrote: > Can you post the exception you're getting? It might help to determine what's > wrong... > > > > On Mon, Feb 22, 2010 at 4:18 PM, PanosJee <[email protected]> wrote: > > Hi everyone, i am new to Python and Web2py and i am developing an app > > that will use the LinkedIn api > > > I use this libraryhttp://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 console i get a request > > Token. When i do it inside a HTTP request i have a signature invalid > > exception. > > The code i use is quite simple: > > > li = LinkedIn(LINKEDIN_API_KEY, LINKEDIN_SECRET_KEY, > > URL(r=request, > > c='default',f='import_accounts')) > > li.requestToken() > > > Thanx a lot for your time > > > -- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<web2py%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en.

