재우니의 블로그

 

 

 

페이스북 연동 시, sharer.php  연동하기

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <TITLE> New Document </TITLE>
  <META NAME="Generator" CONTENT="EditPlus">
  <META NAME="Author" CONTENT="">
  <META NAME="Keywords" CONTENT="">
  <META NAME="Description" CONTENT="">
  <script>

function fnFaceBookSNS(title,img,url) {
 var fburl = "http://www.facebook.com/sharer.php?s=100&p[url]="+encodeURIComponent(url)+"&p[title]="+encodeURIComponent(title)+"&p[summary]=&p[images][0]="+encodeURIComponent(img);
 var snsPop = window.open(fburl, "facebook", 'top=200,left=200,width=800,height=500,resizable=yes,scrollbars=yes');
}


  </script>
 </HEAD>

 <BODY>

  <a href="#" onclick="fnFaceBookSNS('[Play DB 이벤트] [리플리플] <김연우 콘서트> 스크랩 & 기대평을 남겨주세요!', 'http://ticketimage.interpark.com/TicketImage/playdb/event/hottalk/140409_yw_211.jpg','http://www.playdb.co.kr/event/Event_Detail.asp?sReqNo=3&sReqseq=2632');"><img src="http://ticketimage.interpark.com/TicketImage/playdb/2010_renewal/btn_facebook.gif" alt="페이스북 공유" /></a>

 </BODY>
</HTML>