������ҧ�����Ѻ��á��Ť�����ྨ�ͧ���Ѳ�����䫵�
+ /reference/plugins/like/
+
opengraphprotocol/
������ҧ code 3 ��ǹ
��ǹ��� 1
<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&appId=169861339715833"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
��ǹ��� 2
<div class="fb-like" data-href="http://www.thaiall.com/facebook/" data-send="false" data-layout="box_count" data-width="450" data-show-faces="false"></div>
��ǹ��� 3
<meta property="og:title" content="home of facebook lesson" /> <meta property="og:type" content="blog" /> <meta property="og:url" content="http://www.thaiall.com/facebook/" /> <meta property="og:image" content="http://www.thaiall.com/me/picme.jpg" /> <meta property="og:site_name" content="thaiall.com" /> <meta property="fb:admins" content="814248894" />
��������� like � album ��¹͡ fb ����ҧ�Ҿ�ҡ fb
㹡�����ҧ���� like ���Ѻ�ӹǹ������Ҿ
����� fb ����¹�����¢��
����� code �������������ҹ�����
http://www.thaiall.com/facebook/likebutton.php
�����ͧ��÷� �����觷���ͧ��� ��� ���Ҿ� fb
�����Դ���������Ť��ҹ���ྨ
���Ѵ���� gallery �¡�͡�ҹ��ʹ���¹͡
�ѭ�ҷ�辺 ��ФҴ����繡�û�ͧ�ѹ�ͧ fb
����Ѻ��á�˹���������Ҿ���ǹ����� data-href
��觷��ͺ�µç�Ѻ
http://developers.facebook.com/docs/reference/plugins/like/
���ѭ�����ǡѹ
�ѧ���
���ԧ��ͧ�Ҿ����� fbid ��� & ������� error ��ѧ���Ť�
���ԧ��ͧ�Ҿ������� fbid ��������͡ �١����ʸ �����������Ѻ���
���ԧ��ͧ image �µç��ҧ ����Ҷ�� confirm ���Ƕ١���¡������Ҵ��� iframe ���;����������� confirm
������
����¹ script img.php �Ѻ url �ͧ�ҾẺ����� &
������Ѻ���ǡ��ʴ���ҹ tag img �������
������ҧ code �ͧ img.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><title>�Ҿ</title> <meta http-equiv=content-type content="text/html; charset=windows-874"> <meta name=keywords content="image"> <meta name=description content="�Ҿ"> </head> <body> <?php if (strlen($_REQUEST["img"]) > 10 && strlen($_REQUEST["img"]) < 200) { $img = 'http://' . $_REQUEST["img"]; } else { $img = 'http://www.thaiall.com/me/picme.jpg'; } echo "<a href='$img'><img src='$img' border='0'/></a>"; ?></body></html>
�к� album ��� 2554
20 �Ҿ��� �� 2554 �.�� (�.�¹�)
#
�Ҿ background
�ش�觧ҹ�ʹ���
link type
FB :
Web :
link url
image url