-1
testbtml이라는 jboss-web.deployer \ ROOT.war에 하나의 테스트 페이지를 만들었습니다.더 좋아요! - 제목 및 설명이 작동하지 않습니다.
버튼과 OG 메타 태그와 같은 페이스 북을 추가했습니다. 내가 좋아할 때 클릭하면 제목과 설명이 페이스 북에서 공유되지 않습니다. 심지어 같은 버튼을 클릭하면 팝업에서 볼 수 없습니다. 당신은 XML 네임 스페이스를 추가 할 필요가 없습니다
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock"/>
<meta property="og:type" content="movie"/>
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/"/>
<meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>
<meta property="og:site_name" content="IMDb"/>
<meta property="fb:admins" content="USER_ID"/>
<meta property="og:description"
content="A group of U.S. Marines, under command of
a renegade general, take over Alcatraz and
threaten San Francisco Bay with biological
weapons."/>
</head>
<body>
<!-- AddThis Button BEGIN -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<fb:like href="href="http://157.241.56.242:8080/Test5.html" width="450" height="80"/>
<!-- AddThis Button END -->
</body>
</html>
감사합니다,하지만 여전히 나는 당신의 문제를 재현 할 수 – user1578382
..... 작동하지 : 다음은 http://ogp.me/에서 토큰입니다. 간단한 html 파일과 게시 한 코드를 사용하여 Facebook은 제목과 정의 된 설명으로 'The Rock (1996)'이라는 이미지를 보여줍니다. –
테스트 케이스를 제공 할 수 있습니까? 이미 작동하지 않습니다. –