ThaiSEOBoard.com

พัฒนาเว็บไซต์ => Programming => หัวข้อเริ่มโดย: javo ใน 11 กุมภาพันธ์ 2013, 14:35:55

ชื่อเรื่อง: อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ
โพสต์โดย: javo ใน 11 กุมภาพันธ์ 2013, 14:35:55
อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ

เราสามารถกำหนด ได้ไหมครับ ว่าให้มันโชว์รูป logo ของเรา เพราะ เวลาเอาลิ้งไปโพสที่ facebook
แล้วมันจะขึ้นรูปอื่นที่มีอยู่หน้าเว็บ อ่ะครับ อยาก ล๊อคให้มันขึ้นแต่ logo เท่านั้นอ่ะครับ

ขอบคุณครับ :wanwan017:
ชื่อเรื่อง: Re: อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ
โพสต์โดย: SEO [Aoom] ใน 11 กุมภาพันธ์ 2013, 14:39:42
ก็เอารปโลโก้มาอัฟ แล้วใส่รายละเอียดแนบลิ้งใส่ไปสิครับ  :P :P
ชื่อเรื่อง: Re: อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ
โพสต์โดย: adidog ใน 11 กุมภาพันธ์ 2013, 14:41:52
ลองไปดูรายละเอียดตามลิงค์นี้ครับ

http://ogp.me/


    og:title - The title of your object as it should appear within the graph, e.g., "The Rock".
    og:type - The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required.
    og:image - An image URL which should represent your object within the graph.
    og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/".
ชื่อเรื่อง: Re: อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ
โพสต์โดย: kaorism ใน 11 กุมภาพันธ์ 2013, 14:46:55
อ้างถึงจาก: adidog ใน 11 กุมภาพันธ์ 2013, 14:41:52
ลองไปดูรายละเอียดตามลิงค์นี้ครับ

http://ogp.me/


    og:title - The title of your object as it should appear within the graph, e.g., "The Rock".
    og:type - The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required.
    og:image - An image URL which should represent your object within the graph.
    og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/".


+1  ใส่ใน meta tag ครับ
ชื่อเรื่อง: Re: อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ
โพสต์โดย: javo ใน 11 กุมภาพันธ์ 2013, 15:12:11
อ้างถึงจาก: adidog ใน 11 กุมภาพันธ์ 2013, 14:41:52
ลองไปดูรายละเอียดตามลิงค์นี้ครับ

http://ogp.me/


    og:title - The title of your object as it should appear within the graph, e.g., "The Rock".
    og:type - The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required.
    og:image - An image URL which should represent your object within the graph.
    og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/".


ขอบคุณครับ ผมก็ทำตามนี้ แต่เหมือน facebook มันเก็บ cache เก่ารึเปล่าครับ เลยเป็นรูปเก่าอยู่
ชื่อเรื่อง: Re: อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ
โพสต์โดย: pink-roof ใน 11 กุมภาพันธ์ 2013, 15:55:08
มันขึ้นเองอัตโนมัติป่าวคะ แล้วก็เลือกรูปเอาเองตอนที่มันขึ้นมาแล้ว
ชื่อเรื่อง: Re: อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ
โพสต์โดย: pokerthai ใน 11 กุมภาพันธ์ 2013, 15:56:50
อ้างถึงจาก: adidog ใน 11 กุมภาพันธ์ 2013, 14:41:52
ลองไปดูรายละเอียดตามลิงค์นี้ครับ

http://ogp.me/


    og:title - The title of your object as it should appear within the graph, e.g., "The Rock".
    og:type - The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required.
    og:image - An image URL which should represent your object within the graph.
    og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/".



ขอบคุณครับ
ชื่อเรื่อง: Re: อยากแชร์ลิ้งค์เว็บเราลง Facebook แล้วให้ขึ้นเป็นรูป logo เว็บเราอ่ะครับ
โพสต์โดย: kaorism ใน 12 กุมภาพันธ์ 2013, 18:59:04
อ้างถึงจาก: pink-roof ใน 11 กุมภาพันธ์ 2013, 15:55:08
มันขึ้นเองอัตโนมัติป่าวคะ แล้วก็เลือกรูปเอาเองตอนที่มันขึ้นมาแล้ว


ถ้าไม่ใส่ meta tag เฟสบุ๊คจะโหลดภาพสุ่มๆ จากหน้าเว็บเราครับ 
ถ้าใส่ meta tag เราจะสามารถกำหนดภาพที่เราต้องการได้เลย โดยที่ภาพไม่จำเป็นค้องอยู่ในหน้าเว็บก็ได้ครับ