I was able to manage this issue. Tweepy was the one I used and used redirect to get tokens from callback. I guess it's better to leave login_form function as is. :) Have a nice day!
On Tuesday, March 26, 2013 8:51:09 AM UTC-5, Kenny wrote: > > Yesterday, I wanted to get the tokens from Facebook and Twitter for users > and using the Web2py normal login system at same time. I only wanted to use > their APIs not for implementing oauth login into my website. > I was able to get tokens from Facebook API by using Facebook JavaScript > SDK. I chose this route since I don't know how to separate the Web2py given > library(login_form) for getting only tokens instead of creating auth users > and signing in. > If I can separate the login_form, how should I do it? Or is there any > other way around? > > Thank you! > -- --- 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.