공지사항
최근 포스트
최근 댓글
최근 트랙백
관리 메뉴

삶을 누리는 디비누스

페북 좋아요 설치 Install Facebook Like 본문

컴퓨터/블로그

페북 좋아요 설치 Install Facebook Like

케일럽 2011. 7. 25. 09:00

오늘은 티스토리에 페이스북 좋아요 버튼 연결하는 방법을 알아볼까요?
Lets learn how to install facebook like button to your blog...

일단 티스토리 플러그인에서 제공하는 "Facebook 소셜 플러그인"을 사용 안함으로 변경하시기 바랍니다...

1. 다음 사이트로 들어가기
1. Go to the following site

http://developers.facebook.com/docs/reference/plugins/like/

2. "URL to Like" 쪽에 자기 블로그 주소 입력
2. Enter your blog address on "
URL to Like"

3. "Send Button", "Width" 및 "Layout Style" 등 모든 설정을 원하는 것으로 선택하면 오른쪽에 샘플이 나옵니다...
3. Select 
"Send Button", "Width" & "Layout Style" to fit your blog... a sample will popup right side of the settings...

4. "Get Code"를 클릭하면 플러그인 코드가 나옵니다... 이 코드를 수정해서 블로그에 삽입하면 되는데... 일단 수정하는 방법을 배웁시다...
4. When you click on "Get Code", you will get the plugin code... all you need to do is to insert the edited code... let us learn how to edit it...

5. 중요!!! 아까 말했듯이 이 부분을 꼭 수정해야 합니다...
5. Important!!! As mentioned above, you must edit this part...

<!-- 페북 Like 시작 -->

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=129426390472167&amp;xfbml=1"></script><fb:like href="caleb1783.tistory.com[**_article_rep_link_**]" send="true" width="400" show_faces="false" font=""></fb:like>

  <!-- 페북 Like 끝 -->

빨간색 코드를 삽입하는데 * 표시를 # 표시로 바꾸면 됩니다...
Depending on your blog, insert code for specific post...

하늘색 코드를 ko_KR 로 바꿔주시면 한글로 나옵니다...
if you change the code in sky blue to ko_KR, it will show up in Korean...

6. 이제 위의 코드를 원하는 곳에 삽입하면 되는데... 보통 포스트 젤 위나 젤 밑에 삽입하죠... 전 젤 밑에 삽입했답니다...
6. Now we need to insert it to the place we want... usually, people put it on the top of the post or the bottom... i installed it at the bottom...

포스트의 위치는 [ ##_article_rep_desc_## ] 치환자로 찾으면 됩니다... 위쪽이나 아래쪽으로 삽입하시기 바랍니다...
Tag for existing comments may vary but for Tistory, its [ ##_article_rep_desc_## ]... you can either insert above it & below it...

복잡할 것은 없고 치환자만 정확히 삽입하면 됩니다...
Nothing to hard... just make sure you do the red part...

만약에 "인증된 개발자만 앱의 등록 개발자로 추가될 수 있습니다."라는 에러가 나오면 다음 링크에서 해결하시기 바랍니다...
If you get "only verified developers can be added as listed developers of this application", follow the link to solve the problem...

http://www.facebook.com/help/?faq=17580

________________________________________________________________________________________
글쓴이 케일럽
Post by Caleb




댓글 건 | 트랙백 건