thanx for ur answer Michele. but i cant run oauth1.0a and oauth2.0 that comes with web2py for twitter login. but i found rauth ( https://github.com/litl/rauth ) it works pretty good. and it s integrated with my db. but i cant run login process.. thanx for ur opinion..
30 Nisan 2013 Salı 12:34:09 UTC+3 tarihinde Michele Comitini yazdı: > > You can use oauth1.0a or oauth2 authentication that comes with web2py; see > in gluon/contrib/login_methods and the web2py book. > > mic > > > 2013/4/30 Giuseppe Marchetti <singforb...@gmail.com <javascript:>> > >> hi all.. i m new on web2py. i try to get some values from twitter to my >> database.. the problem is "i got all values like twitter id, profil pic, >> background pic url, friends, fallowers etc. but i cant login" >> how can i rise the flag (if there s) auth_user.id_logged_in ? >> i mean how can i do that? : >> if db.auth_user.id(id) == twitter_id: >> print "logged in" >> (rise login flag) >> else: >> redirect('register') >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.