[web2py] Re: OAUTH - FACEBOOK - IMAGE PROFILE ACCOUNT

2014-08-25 Thread Leonel Câmara
What I use in my applications is to simply fetch the image from here: "http://graph.facebook.com/%(user_id)s/picture?width=%(width)s&height=%(height)s" Replacing the templated variables accordingly. Then you can do something like this: import urllib2 picrequest = urllib2.Request(PROPER_

[web2py] Re: OAuth login and creating new user info

2013-04-09 Thread Massimo Di Pierro
I agree. It should. We have oauth2 but perhaps we should make it easier. Any volunteer to help? Anybody has done it alreday? On Tuesday, 9 April 2013 07:21:40 UTC-5, Sean Murphy wrote: > > Hi, > > I'd like to use w2p to support facebook login. When a new user > signs up to the system, obviously,

Re: [web2py] Re: oauth 2.0 and facebook "expires" parameter

2012-03-01 Thread Michele Comitini
Il 01 marzo 2012 11:23, Can Candan ha scritto: > I think if the user grants offline_access permission to the facebook > app , facebook does not send the expires parameter after that. That could be a problem, anyway it should be easy to add a default expiration time. > > Is there an example for u

[web2py] Re: oauth 2.0 and facebook "expires" parameter

2012-03-01 Thread Can Candan
I think if the user grants offline_access permission to the facebook app , facebook does not send the expires parameter after that. Is there an example for using multiple authentication schemes in addition to web2py's? I have found this one below, do you think its in good shape? http://code.googl

Re: [web2py] Re: oauth

2010-07-23 Thread Michele Comitini
the draft: http://tools.ietf.org/html/draft-ietf-oauth-v2-10 has some dark corners, for instance and seems that facebook has some slight incompatibilities: 1) "expires" instead of "expires_in" 2) support for POST besides GET? 3) support for Basic Auth? 4) returns "application/www-url-encoded" data

[web2py] Re: oauth

2010-07-14 Thread ChrisM
sorry for posting my dumb comment, just read oauth documents, didn't realise it was api specific. I like the look of geo social apps gowalla and foursquare, they also use oauth to connect to their api's. chrism On Jul 13, 6:12 pm, ChrisM wrote: > +1 > I am still using web2py1.73 as when I try an

Re: [web2py] Re: oauth

2010-07-13 Thread Michele Comitini
:O ok i put myself into troubles ;-) 2010/7/13 mdipierro > I'll wait for a patch then. ;-) > > On 13 Lug, 15:54, Michele Comitini wrote: > > Hi Massimo, > > > > From my experience with facebook auth, I am quite confident that a login > > method can made a generic OAuth 2.0 without introducing

[web2py] Re: oauth

2010-07-13 Thread mdipierro
I'll wait for a patch then. ;-) On 13 Lug, 15:54, Michele Comitini wrote: > Hi Massimo, > > From my experience with facebook auth,  I am quite confident that a login > method can made a generic OAuth 2.0 without introducing dependencies on > httplib and oauth as the pointed in the article.  Web2p

[web2py] Re: oauth

2010-07-13 Thread ChrisM
+1 I am still using web2py1.73 as when I try and upgrade web2py the rpxauth.py module i am using throws an error because storage.py and restricted.py must have changed. error: self.setting.rpx_key does not exist It would be good to have a module that allowed for users to log in from social apps

Re: [web2py] Re: OAuth and Web2Py Tutorial

2010-06-30 Thread Albert Abril
Nice :) In the article you used python-oauth2. As an alternative, if you want to use it with twitter, you can use tweepy. It adds client functions. http://joshthecoder.github.com/tweepy/docs/index.html Regards! On Tue, Jun 22, 2010 at 10:2

Re: [web2py] Re: OAuth and Web2Py Tutorial

2010-06-22 Thread Mathieu Clabaut
Nice.. Thank you for sharing! On Mon, Jun 21, 2010 at 18:45, mdipierro wrote: > +1 > > On Jun 21, 10:44 am, Doug Warren wrote: > > I wrote a small tutorial on how to use OAuth with web2py by linking a > > session with a Twitter account. A future update will include > > embedding the access tok

[web2py] Re: OAuth and Web2Py Tutorial

2010-06-21 Thread mdipierro
+1 On Jun 21, 10:44 am, Doug Warren wrote: > I wrote a small tutorial on how to use OAuth with web2py by linking a > session with a Twitter account.  A future update will include > embedding the access token with auth and creating an oauth > login_method class.  It can be found > athttp://dougwa

[web2py] Re: OAuth, LinkedIn and Web2py

2010-02-22 Thread PanosJee
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 wrote: > Can yo