2012-11-12 2 views
2

페이스 북에서 사진을 상태 업데이트로 보여주고 싶습니다. 사람들이 사진을 클릭하여 웹 사이트로 연결하게하고 싶습니다. 그래서 사진은 웹 사이트 링크입니다. 이렇게하면 사진과 링크를 별도로 배치 할 필요가 없습니다. 페이스 북에서 가능합니까?페이스 북 업데이트에서 사진 링크 만들기

답변

0

사용자가 액세스 할 수있는 웹 사이트에 연결한다고 가정 할 경우 - 링크하려는 웹 사이트 페이지에 "Open Graph"메타 태그라고하는 것을 설정하면됩니다. 상태 업데이트 등을 작성할 때 페이스 북에 URL을 입력 할 때

오픈 그래프 메타 태그는 여기에

내에서 (당신이 당신의 오픈 그래프 메타 태그를 설정할 수있는 방법의 예입니다 페이스 북 읽습니다 HTML 내의 <HEAD> 태그).

<meta property="og:title" content="Your amazing website" /> 
<meta property="og:type" content="website" /> 
<meta property="og:url" content="http://yourwebsite.com" /> 
<meta property="og:image" content="http://yourwebsite.com/linked_image.png" /> 
<meta property="og:image:type" content="image/png" /> 
<meta property="og:image:width" content="300" /> 
<meta property="og:image:height" content="300" /> 
<meta property="og:description" content="This is the description that you want to appear, this will be clickable too!" /> 

그런 다음, 상자에 URL을 입력하여 페이스 북은 페이스 북의 게시물에서 링크하려는 모든 페이지 "를 참조하십시오"하는 방법을 볼 수, 페이스 북의 "린터"라고하는 데 사용되는 것을 사용할 수 있습니다 :

http://developers.facebook.com/tools/debug/og/object?q=opengraphprotocol.org

또한 opengraphprotocol.org

에서 오픈 그래프 프로토콜에 대한 자세한 내용을 확인할 수 있습니다