2014-04-24 2 views
0
내가 페이스 북 데이터베이스

동적으로이 작업을 수행 할 수있는 페이스 북

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta property="og:url" content="xxx/public/GigGuide2.asp?A=<%=iActName%>"/> 
<meta property="og:type" content="website"/> 
<meta property="og:title" content="Live Gig Guide"/> 
<meta property="og:image" content="<%=HiRes%>"/> 
<meta property="og:site_name" content="MyEpod"/> 
<meta property="og:description" content="Live Gig Guide"/> 

에서 표시하는 이미지를 끌어 필요

에 대한 이미지 OG 태그를 만들? 내가 도대체 ​​뭘 잘못하고있는 겁니까?

Open Graph Object Debugger는 이미지 태그를 제외하고 모든 태그를 가지고 있으며 페이지의 사진 등을 사진에 올릴 수 있어야합니까?

+0

무엇이''<%=HiRes%> '입니까? –

답변

0

OG의 : 이미지 태그는 당신이

<meta property="og:image" content="xxx/public/ActImage.asp?A=<%=iActName%>"/> 

과 ActImage.asp 스크립트 것 같은 예를 들어 참조 별도의 스크립트를 만들 필요가 https://developers.facebook.com/docs/opengraph/using-objects/

참조 내용으로 URL을 사용할 수 있습니다 db에서 이미지를 가져 와서 올바른 헤더 등을 설정하십시오. 이미지가 db에 저장되는 방법에 대한 세부 정보는 제공하지 않으므로이 정보는 제가 제공 할 수있는 가장 상세한 답변입니다.