Problem:
KeyError: access_token
Error Code:901
Message:
This app is in sandbox mode. Edit the app configuration athttp://developers.facebook.com//apps to make the app publicly visible
Cause:
The sandbox for your website facebook app is enable which prevent user from accessing it in public.
Solution:
Disable your sandbox but make sure you enter the secure page url for your website.