Facebook连接| Django例外

时间:2010-04-16 04:48:19

标签: django facebook

this问题继续。运行应用程序时出现此错误

Caught an exception while rendering: Tried xd_receiver in module myfirstapp.fbapp.views. Error was: 'module' object has no attribute 'xd_receiver'
   <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script>
   <script type="text/javascript">
        FB_RequireFeatures(["XFBML"],
            function() {
        FB.Facebook.init("{{ facebook_api_key }}", " {% url facebook_xd_receiver %} ")
            }
        );
        function facebookConnect(form){
            FB.Connect.requireSession();
            FB.Facebook.get_sessionState().waitUntilReady(
                function(){
                    form.submit();
                }
            );
        }
PS:有人可以告诉我关于django socialregistration的一个很好的教程(涵盖所有基本步骤)我是一个新手,我试过facebook dev tutorial但是这也没有用..

0 个答案:

没有答案