วันอาทิตย์ที่ 4 ตุลาคม พ.ศ. 2558

ทำเว็บอย่างไร?? ให้เป็นมิตรกับ facebook

1. อย่าลืมใส่ Open Graph tags  ด้านล่างนี้

Title
<meta property="og:title" content="Workday Sets Price Range for I.P.O." />
Site name
<meta property="og:site_name" content="My Favorite News"/>
URL
<meta property="og:url" content="http://www.myfavnews.com/2013/1/1/workday-price-range" />
Description
<meta property="og:description" content="Workday, a provider of cloud-based
applications for human resources, said on Monday that it would seek to price
its initial public offering at $21 to $24 a share.  At the midpoint of that
range, the offering would value the company at $3.6 billion. Like many other
technology start-ups, Workday, founded in 2005, will have a dual-class share
structure, with each Class B share having 10 votes. Its co-chief executives,
David Duffield, the founder of PeopleSoft, and Aneel Bhusri, who was chief
strategist at PeopleSoft, will have 67 percent of the voting rights after
the I.P.O., according to the prospectus." />
Facebook App ID
<meta property="fb:app_id" content="[FB_APP_ID]" />
Object Type
<meta property="og:type" content="article" />
Localization
<meta property="og:locale" content="th_TH">
Author and Publisher
<meta property="article:author" content="https://www.facebook.com/fareedzakaria" />
<meta property="article:publisher" content="https://www.facebook.com/cnn" />


2.ขนาดรูป  1200 x 630 px   หรืออย่างต่ำสุด 600 x 315 px


ที่มา
https://developers.facebook.com/docs/sharing/best-practices#images
https://developers.facebook.com/docs/sharing/webmasters

ไม่มีความคิดเห็น:

แสดงความคิดเห็น