不使用onClick方法将iframe添加到facebook粉丝页面

不使用onClick方法将iframe添加到facebook粉丝页面,facebook,fbjs,xfbml,facebook-iframe,Facebook,Fbjs,Xfbml,Facebook Iframe,有没有一种方法可以将iframe添加到facebook页面而不必执行onClick功能 现在我正在使用这段代码,它工作正常,除了你必须点击链接使它显示iframe <!-- Start iframe CODE --> Like me to show the iFrame link! <fb:visible-to-connection> <a onClick="outside_location.setInner

有没有一种方法可以将iframe添加到facebook页面而不必执行onClick功能

现在我正在使用这段代码,它工作正常,除了你必须点击链接使它显示iframe

<!-- Start iframe CODE -->
        Like me to show the iFrame link!

        <fb:visible-to-connection>
            <a onClick="outside_location.setInnerFBML(link_1);" style="cursor: pointer;">Click here to show the iFrame!</a>
        </fb:visible-to-connection> 
        <div id="outside_location"></div>
        <fb:js-string var="link_1">
        <fb:iframe height="500" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%; height: 1400px; border:none"     src="http://apps.ignitesocialmedia.com/php/facebook/sandbox/tabs/iframe.php"></fb:iframe>
        </fb:js-string>
        <script type="text/javascript" charset="utf-8">
        var outside_location = document.getElementById('outside_location');
        </script>

        <!-- End iframe CODE -->

这似乎已经在几个地方完成了,但我无法理解

虽然这可以从理论上回答这个问题,但这里要包括答案的基本部分,并提供链接供参考。