Hello, Thanks for the answer. I have spent lots more time reading and testing but I am still having problems. The code example you link to is very old. It is very different from the most recent code found here. https://github.com/pythonforfacebook/facebook-sdk
I have read the online book here regarding OAuth and Facebook. I tried getting something to work with this code but have not as well. http://web2py.com/books/default/chapter/29/9?search=facebook#Integration-with-OpenID,-Facebook,-etc. Looking here. http://code.google.com/p/web2py/source/browse/gluon/contrib/login_methods/oauth20_account.py The comments in the code say to override the get_user() method. I have tried this using the code in the online book with no luck either. Pedro's answer on this page seems like the most sensible way to go about things but I have not got it working either. http://stackoverflow.com/questions/2727118/getting-facebook-oauth-access-token-through-python-sdk-does-not-seem-to-be-worki I had something working in PHP in no time but have spent days trying to get a user id from facebook with web2py and still nothing. Very frustrating. :( Any more suggestions? links or examples that might help me?