페이스 북 API (연결, 그래프, 휴식 등)에서 사용자에게 페이지를 좋아하는 팬이되도록 유도하는 방법이 있습니다. 의Facebook : User Like/페이지 팬되기
5
A
답변
1
<iframe frameborder="0" scrolling="no" allowtransparency="true" style="border: medium none; overflow: hidden; width: 150px; height: 20px;" src=" http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.yoursiteurlencodedhere.com&layout=standard&show_faces=true&width=450&action=like&colorscheme=dark&height=80"></iframe>
를 적어 둡니다 : HTTP % 3A % 2F % 2Fwww.yoursiteurlencodedhere.com 섹션을 참조하십시오.
0
Facebook API를 통해 가능하지 않습니다. 위의 iframe 솔루션이 작동 할 수 있습니다.
0
다음은 페이스 북처럼 버튼을 추가하는 데 대한 세부 정보입니다.
http://developers.facebook.com/docs/reference/plugins/like/
당신은 iframe이 방법을 사용할 수 있습니다
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2Fpage%2Fto%2Flike&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
을 아니면 xfbml 방법을 사용할 수 있습니다
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like show_faces="true" width="450"></fb:like>
가 개인적으로 나는 xfbml 방법은 청소기라고 생각합니다. 불행히도 이것은 적극적으로 사용자에게 알려주지 않으며 단지 페이지에 버튼을 추가하기 만합니다. 그들의 API에 누군가를 자극하는 방법이 없습니다.