解决方法
看:
http://www.facebook.com/facebook-widgets/share.php
http://www.facebook.com/sharer.PHP?u=<url>&t=<title>
在Flash中:
import flash.net.navigateToURL; import flash.net.URLVariables; import flash.net.URLRequest; import flash.net.URLRequestMethod; share_btn.addEventListener(MouseEvent.CLICK,shareClickHandler); function shareClickHandler(evt:MouseEvent):void { var vaRSShare:URLVariables = new URLVariables(); vaRSShare.u = 'http://domain.com/pageN.html'; vaRSShare.t = 'Title Page'; var urlFacebookShare:URLRequest = new URLRequest('http://www.facebook.com/sharer.PHP'); urlFacebookShare.data = vaRSShare; urlFacebookShare.method = URLRequestMethod.GET; navigateToURL(urlFacebookShare,'_blank'); }
<Meta name="title" content="my title" /> <Meta name="description" content="my description" /> <link rel="image_src" href="images/thumbnail_image.jpg" />