2014-11-25 20 views
0

當我使用以下兩個URL來分享linkedin時,我的網站同時支持zh_CN和en_CA。 只有英文版可以顯示(可以顯示標題/圖片/說明),但linkedin不能在zh_CN鏈接上使用。也許linkedin scraper不支持UTF-8。http://www.linkedin.com/shareArt僅對英文有效嗎?

順便說一下,當我在facebook上發佈zh_CN和en_CA時,兩者都正常工作。

http://www.linkedin.com/shareArticle?mini=true&url=https://leifang.ca/p/contact.html?locale=zh_CN http://www.linkedin.com/shareArticle?mini=true&url=https://leifang.ca/p/contact.html?locale=en_CA

當我訪問來自瀏覽器我zh_CN的鏈接,我的OG標籤有以下值:

<title>聯繫方式⋅蕾</title> 
<meta property="og:title" content="聯繫方式⋅蕾"/> 
<meta property="og:image" content="/images/leiContact180x110.png"/> 
<meta property="og:description" content="本着客戶利益是第一位的原則。幫助您決定投資或保險的最佳方法。我期待着與您的會面。"/> 

當我訪問來自瀏覽器我en_CA鏈接,我的OG標籤有以下值:

<title>Contact⋅Lei</title> 
<meta property="og:title" content="Contact⋅Lei"/> 
<meta property="og:image" content="/images/leiContact180x110.png"/> 
<meta property="og:description" content="Follow Putting The Customer First principle. I look forward to meeting you."/> 
+0

有關通用計算硬件和軟件的問題,除非它們直接涉及主要用於編程的工具,否則無法用於堆棧溢出。您可以在超級用戶上獲得幫助。 – APerson 2014-11-25 03:36:59

回答

1

我發送此鏈接給我在LinkedIn工作的朋友。

似乎他將這個問題轉發給他們的內部團隊。

我今天上午再次測試(2014-11-29),linkedin解決了他們的問題。 :)

+0

我有類似的問題。當我使用荷蘭語或法語的shareArticle時,linkedin會刪除「#」符號後面的所有內容。所以,當我分享一個網址「http://test.com/#/testPage/2」時,只會分享「http://test.com/」。當我的語言在linkedin上設置爲英語時,此工作正常。你能問你的朋友這個問題嗎?謝謝! :) – xtof 2014-12-04 16:24:18