페이스 북 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에 누군가를 자극하는 방법이 없습니다.
관련 문제
- 1. 같은 버튼 누름 기 (facebook)의 facebook-user-id 받기
- 2. /user/GET.php에 "GET/user/foo"를 /user/PUT.php에 "route"하도록 Apache를 설정하십시오.
- 3. "mydomain.com/user"를 "mydomain.com/name.php?id=user"로 리디렉션
- 4. Django ForeignKey (User), autcomcomplete
- 5. Wordpress & Vanity User URLs
- 6. NoMethodError User Authentication
- 7. php user autologin
- 8. API User Session Spring
- 9. android user agent
- 10. declerative_authorization on user problem
- 11. vsVim User Guide가 있습니까?
- 12. Asp.net semi-authenticated user?
- 13. AutoMapper : User Specific Mapping
- 14. django user auth + gwt
- 15. drupal user interested terms
- 16. Joomla Extra User Field
- 17. Drupal resetting user Password
- 18. Urlretrieve 및 User-Agent? - Python
- 19. Asp.net MVC User Control ViewData
- 20. $ _GET [ 'user'] PHP의 보안 취약점
- 21. MySQL User AutoIncrement 권한 제한
- 22. PHP User-Agent Graceful Degradation
- 23. Rails Helper for user 그림
- 24. 드루팔 (Drupal - Core User Module)
- 25. Selenium-Grid :`user-extensions.js` 사용법
- 26. MSBuild : .user 파일의 경로를 대체하십시오.
- 27. User-agent Processing in php
- 28. Django - User, UserProfile 및 Admin
- 29. Selenium RC에서 user-extension.js 사용
- 30. Facebook 그래프 "user/home"피드에 식별하기 어려운 게시물 항목으로 활동이 포함되었습니다.