0

我在 Lotus Notes 中的 XPage 中使用来自 twitter 的 twitter 小部件,我只是将脚本插入到我的 XPage 的源中,有时小部件工作,有时不工作,但它总是给我一个错误

小部件脚本:

<a class="twitter-timeline" href="https://twitter.com/Dr_hosea" width="250" data-widget-id="332843009685209088">Tweets by @Dr_hosea</a>
<script>
! function (d, s, id) {
    try {
        var js, fjs = d.getElementsByTagName(s)[0],
            p = /^http:/.test(d.location) ? 'http' : 'https';
        if (!d.getElementById(id)) {
            js = d.createElement(s);
            js.id = id;
            js.src = p + "://platform.twitter.com/widgets.js";
            fjs.parentNode.insertBefore(js, fjs);
        }
    } catch (err) {}
}(document, "script", "twitter-wjs");
</script>

我收到以下错误:

uncaught exception: [Exception... "Not enough arguments" nsresult: ...
4

0 回答 0