ปุ่ม facebook like กดแล้วไม่ขึ้นรูปตามหน้าปัจจุบัน

เริ่มโดย utoose7en, 13 มกราคม 2012, 23:31:45

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

utoose7en

คือ เว็บผม(wordpress) เอาปุ่มไลค์เฟสบุ๊คมาิติดครับ ซึ่งกดไลค์ได้ ไม่มีปัญหา ประมาณว่าสมมุติ อยู่หน้าของ "รูปโฟร์ น่ารัก"ผมก็ลองถูกใจเว็บตัวเองไป มันก็ไปแสดงบน wall ได้ตามปกติ แต่รูปของบทความ "รูปโฟร์ น่ารัก" ดันไปขึ้นรูปอะไรก็ไม่รู้ที่อยู่ในเว็บเหมือนกัน ประมาณว่ามันดึงมาผิดอ่ะครับ กลายเป็นรูป "กัน เดอะสตาร์"ซะงั้น ปัญหานี้เกิดขึ้นเฉพาะปุ่มอย่างเดียวเท่านั้นครับ ไม่รู้เป็นอะไร ใครช่วยแก้ให้หน่อยเถอะครับ

ติดอยู่อย่างเดียวจริงๆ อ่อ ผมใช้ plugin facebook like thrumbnail แล้วนะครับ ไม่หายครับ แต่หายเฉพาะกล่องคอมเม้น แต่ปุ่ม like ไม่หาย
ไม่ทราบว่าพอมีวิธีแก้ยังไงครับ ผมงมแทบตายแล้ว  :wanwan017: :wanwan006:

hengworld

ลองใช้ Plugin ที่ชื่อ Facebook Like Thumbnail น่าจะช่วยได้ครับ
[direct=https://www.digitday.com]Digital Technology for Life[/direct]

utoose7en

อ้างถึงจาก: hengworld ใน 13 มกราคม 2012, 23:37:43
ลองใช้ Plugin ที่ชื่อ Facebook Like Thumbnail น่าจะช่วยได้ครับ
ผมใช้แล้วครับ หายเฉพาะกล่องคอมเม้น แต่ปุ่ม like ไม่หาย

nopz

การโพสต์ด้วยวิธี Auto เช่น กดไลค์ กดแชร์ จากหน้าเว็บ ในกรณีที่ในหน้าเว็บมีหลายรูปภาพ แท็กของรูปภาพที่ต้องการให้แสดงบนเฟสบุ๊ค ต้องอยู่ด้านบนสุดครับ

ตัวอย่างแท็กเมตา html
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>dtac 004 miss you more contest  (2011)</title>
<meta name="description" content="ลุ้นบินฟรีไปเซอร์ไพรส์คนไกลให้หายคิดถึง และรางวัลอื่นๆรวมมูลค่ากว่าล้านบาท" />
<meta name="image" content="http://weshopthailand.com/campaign/004/images/v/system/old_logo.png" />
<meta name="image" content="http://weshopthailand.com/campaign/004/images/v/system/old_logo2.png" />
</head>


จากตัวอย่าง จะแสดงรูป old_logo.png
แต่ในกรณีที่คัดลอกลิงค์ไปโพสต์ที่ wall เอง ก็จะมีให้เลือก 2 รูปครับ

ตัวอย่างแท็กเมตา fbml
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:og="http://ogp.me/ns#"
      xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ranking : dtac 004 miss you more contest</title>
<meta property="og:title" content="Ranking : dtac 004 miss you more contest">
<meta property="fb:admins" content="<?=config::$site['adminId']?>">
<meta property="fb:app_id" content="<?=config::$site['appId']?>">
<meta property="og:image" content="<?php _e('old_logo.png'IMG_PATH); ?>">
<meta property="og:type" content="company">
<meta property="og:url" content="<?=config::$site['appPath']?>rules">
<meta property="og:description" content="<?php echo langthai::$site['descriptions'];?>" />



เป็นหลักการเฉยๆ นะครับ ส่วน Plugin Wordpress ผมว่ามีหลายตัวมาก แต่แนะนำให้ใช้แค่ตัวเดียวนะครับ เพราะว่าถ้าลงหลายตัว
โค้ดมันจะตีกันมั่วไปหมดเลยครับ

:P
[direct=https://boxmerz.com] เปรียบเทียบมือถือ - เทียบสเปค เช็คราคา โทรศัพท์มือถือ boxmerz.com[/direct]

utoose7en