javascript - Facebook Library: Uncaught RangeError: Maximum call stack size exceeded - Stack Overflow

I have an error at the page:.phpThe Chromium browser says: Uncaught RangeError: Maximum call stack size

I have an error at the page:

.php

The Chromium browser says: Uncaught RangeError: Maximum call stack size exceeded

And the Facebook Connect button does not work any longer..

Any clue ?

I have an error at the page:

http://www.thalasoft./engine/modules/user/login.php

The Chromium browser says: Uncaught RangeError: Maximum call stack size exceeded

And the Facebook Connect button does not work any longer..

Any clue ?

Share Improve this question edited Jun 11, 2022 at 10:32 Potherca 14.7k5 gold badges84 silver badges105 bronze badges asked Sep 22, 2011 at 6:03 StephaneStephane 12.8k27 gold badges123 silver badges184 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

You have both the deprecated Facebook javascript library loaded as well as the old one. Remove the old one:

<script type="text/javascript" src="http://static.ak.connect.facebook./js/api_lib/v0.4/FeatureLoader.js.php"></script>

Keep the valid one:

<script type="text/javascript">
    window.fbAsyncInit = function() {
        FB.init({
            appId: '35944321698',
            status: true,
            cookie: true,
            xfbml: true
        });
    };
    (function() {
        var e = document.createElement('script'); e.async = true;
        e.src = document.location.protocol +
            '//connect.facebook/en_US/all.js';
        document.getElementById('fb-root').appendChild(e);
    }());
</script>

Not entirely sure it will fix it, but I know mixing them is not supported.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742418571a4440221.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信