1

HTML 代码:

<a id="" onmouseover="LinkshimAsyncLink.swap(this, "http:\/\/www.tbogard.com\/2008\/05\/31\/tutorial-how-to-jsonp-with-jquery-using-getjson-or-ajax\/");" rel="nofollow" style="" onclick="LinkshimAsyncLink.swap(this, "http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Fwww.tbogard.com\u00252F2008\u00252F05\u00252F31\u00252Ftutorial-how-to-jsonp-with-jquery-using-getjson-or-ajax\u00252F&h=CAQFB81hM&s=1");" target="" title="" href="http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.tbogard.com%2F2008%2F05%2F31%2Ftutorial-how-to-jsonp-with-jquery-using-getjson-or-ajax%2F&h=CAQFB81hM&s=1">
    <img class="img" alt="" src="https://fbexternal-a.akamaihd.net/safe_image.php?d=AQDDROkII35SUCO7&w=90&h=90&url=http%3A%2F%2Fi2.wp.com%2Fwww.tbogard.com%2Fwp-content%2Fuploads%2F2010%2F10%2Frjson.jpg%3Ffit%3D400%2C400">
    </a>
    <br>
    <a id="" onmouseover="LinkshimAsyncLink.swap(this, "http:\/\/www.tbogard.com\/2008\/05\/31\/tutorial-how-to-jsonp-with-jquery-using-getjson-or-ajax\/");" rel="nofollow" style="" onclick="LinkshimAsyncLink.swap(this, "http:\/\/www.facebook.com\/l.php?u=http\u00253A\u00252F\u00252Fwww.tbogard.com\u00252F2008\u00252F05\u00252F31\u00252Ftutorial-how-to-jsonp-with-jquery-using-getjson-or-ajax\u00252F&h=wAQFEyL2-&s=1");" target="_blank" href="http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.tbogard.com%2F2008%2F05%2F31%2Ftutorial-how-to-jsonp-with-jquery-using-getjson-or-ajax%2F&h=wAQFEyL2-&s=1">Tutorial : How to JSONP with jQuery using $.getJSON or $.ajax</a>
    <br>
    www.tbogard.com
    <br>
    Remote Services is a now-a-day need, and sadly few documented in detail. Here you can learn how to use Remote JSON (JSONP) In your web-applications with jQuery, PHP and 

在此处输入图像描述

我使用萤火虫得到了上面的源代码。这是我的页面,当我单击站点中的某个 URL 时,它会在 facebook 中显示以下错误消息。 在此处输入图像描述

我通过带有 yql api 支持的 json 获取 facebook 页面提要。但我想要的是当我像这样点击我网站中的一些网址时

www.tbogard.com

它将链接到给定的 url 而无需访问 facebook。有没有办法做到这一点?

4

0 回答 0