2016-11-13 18 views
18

我們一直在努力解決這個問題好幾個月,但沒有效果。 Pinterest上豐富的管腳曾經爲我們的網站工作,但突然他們停止工作,一個接一個的所有豐富的引腳(可點擊的標題和價格)消失了我們網站的引腳。Pinterest富有的引腳不工作和驗證器失敗?

例如,與此product,我們顯然在HTML代碼的頭部前面開路圖信息:

<meta property="og:type" content="product" /> 
<meta property="og:title" content="Backless Gray Lace Tulle Flower Girl Dress with Big Bow" /> 
<meta property="og:description" content="This dress is made of high quality lace and tulle fabric; Unique Cross back with straight neckline in the front; Big ... Shop now use NYC2018 for 9% off TODAY!" /> 
<meta property="og:url" content="http://www.princessly.com/backless-gray-lace-tulle-flower-girl-dress-with-big-bow.html" /> 
<meta property="og:site_name" content="Princessly.com" /> 
<meta property="og:price:amount" content="49.62" /> 
<meta property="og:price:currency" content="USD" /> 
<meta property="og:availability" content="instock" /> 

按照其豐富的引腳要求here。當我們大約半年前在我們的網站上首次實施它時,這一切都運行良好。不幸的是由於某種原因,它在1個月前停止了工作請參閱pin page。它沒有顯示這些豐富的引腳信息。

當我們試圖用豐富銷驗證https://developers.pinterest.com/tools/url-debugger/),這是still NOT working的產品頁面,並不斷給這個錯誤每個URL我們測試:

We were unable to retrieve any data from your URL.

像這樣:http://www.princessly.com/pinterest_error.png

這是不是一個非常有用的錯誤信息。我們不確定他們是否無法訪問該頁面(http代碼?空白頁面或其他?),或者只是沒有找到任何打開的圖形信息。

我們嘗試了一切詢問網站管理員論壇並尋求Pinterest官方支持,除了向我們提供我們已知的文檔並指責我們的服務器阻止訪問他們的機器人之外,基本上沒有任何幫助,但是經過幾次與我們的託管團隊確認後,有在所有關於Pinterest.com沒有錯誤訪問我們的網站:

54.85.173.173 - - [11/Oct/2016:21:22:00 -0500] "GET /u-back-ivory-cotton-ruffle-neckline-flower-girl-dress.html HTTP/1.1" 200 22477 "-" "Pinterest/0.2 (+http://www.pinterest.com/)" 
54.227.228.14 - - [11/Oct/2016:21:27:20 -0500] "GET /u-back-ivory-cotton-ruffle-neckline-flower-girl-dress.html HTTP/1.1" 200 22477 "-" "Pinterest/0.2 (+http://www.pinterest.com/)" 
52.87.185.68 - - [11/Oct/2016:21:28:06 -0500] "GET /u-back-ivory-cotton-ruffle-neckline-flower-girl-dress.html HTTP/1.1" 200 22477 "-" "Pinterest/0.2 (+http://www.pinterest.com/)" 

由於我們是一個女商人的產品,Pinterest的手段銷售的相當可觀的一筆。我們已經看到,自銷針消失後,收入大幅下降。我們相信這個問題在我們講話時會花費我們真正的金錢。

我們很絕望,認爲我們應該在這裏嘗試我們的運氣。不確定這是否適合編程問題,但它肯定涉及HTML和Open Graph的代碼,以及提供開發者API的主要社交網絡之一。

由於我們無法掌握Pinterest bot以及它如何看待我們的頁面,因此我們調試該方法似乎非常有限。

任何想法如何發生以及如何調試&修復它?這裏的Pinterest員工開發人員可以提供一些見解?謝謝!

更新1

這裏是HTTP用戶代理我通過Princessly.com的index.php文件記錄的過去24小時內包含「Pinterest的」:http://www.princessly.com/Pinterest.txt

我的主人WIREDTREE還跟檢查這一切再次爲我。似乎Pinterest的機器人確實能夠訪問我的網站沒有問題。


在檢查訪問日誌的網站「princessly.com」,我可以看到「Pinterest的」到現場「Princessly.com」成功的訪問。請查看日誌中的片段。

======

194.103.189.40 - - [15 /月/ 2016:03:32:31 -0600]「GET /skin/frontend/default/forest_fashion/images/bkg_btn_sprite.png HTTP/1.1「200 2503」http://www.princessly.com/skin/frontend/default/forest_fashion/css/styles.css「」Pinterest/0.2 + http://pinterest.com/「 194.103.189.40 - - [15/Nov/2016:03:32:31 -0600]」GET/skin/frontend/default/forest_fashion/images/tabs /border.gif HTTP/1.1「200 43」http://www.princessly.com/skin/frontend/default/forest_fashion/css/styles.css「」Pinterest/0.2 + http://pinterest.com/「 194.103.189.40 - - [15/Nov/2016:03:32:31 -0600]」GET/skin/frontend/default/forest_fashion /images/pager_bg.gif HTTP/1.1「200 102」http://www.princessly.com/skin/frontend/default/forest_fashion/css/styles.css「」Pinterest/0.2 + http://pinterest.com/

======

Is there any way I can find the name of the Pinterest bot That I can detect as HTTP USER AGENT?

從日誌中我可以看到的Pinterest的機器人標籤是 「Pinterest的/ 0.2 + http://pinterest.com」。

  1. Can we know if the requests made by Pinterest bot timed out?

我已經檢查從該Pinterest的訪問進行記錄的IP地址的Apache日誌,我找不到任何超時錯誤。

  1. How do we know if we block AWS requests?

在檢查我看不到任何網站「Princessly.com」的塊規則設置。我已檢查該網站的.htaccess文件和robots.txt文件。根據您提供的鏈接,我現在已將AWS IP地址範圍列入白名單。

您可以現在查看詳細信息,並告訴我是否有任何Pinterest用戶面板或其他細節,以便我們可以深入挖掘。


更新2

在從@Mackan意見,我創建了幾個相同的裸最小的網頁恰好彼此相同,並與正確的開放式圖形信息,並將其上傳到多個不同的網站。我記錄所有訪問該頁面的PHP用戶代理:

  1. 網站在同一臺服務器上的Princessly.com

Site IP: 173.199.151.128

http://www.princessly.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-TEST123.php

http://www.princessly.com/Pinterest_agents.txt

- 故障

Site IP: 173.199.151.128

http://www.usabledatabases.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-TEST123.php

http://www.usabledatabases.com/Pinterest_agents.txt

- 失敗

Site IP: 173.199.151.130

http://www.bintley.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-TEST123.php

http://www.bintley.com/Pinterest_agents.txt

- FAIL

  • 不同的服務器Princessly.com
  • https://www.thedataplanet.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-TEST123.php

    https://www.thedataplanet.com/Pinterest_agents.txt

    - SUCCESS

  • 另一個不同服務器比公主。COM
  • http://www.formkid.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-TEST123.php

    http://www.formkid.com/Pinterest_agents.txt

    - 成功

    與豐富的針驗證測試之後,現在看來,這是一個服務器問題。請求永遠不會到達Princessly.com服務器上所有站點的PHP文件。

    WiredTree的支持非常友好,可以幫助我找到罪魁禍首,但通過超過5名支持人員轉移後,迄今爲止沒有任何希望。我們已經通過.htaccess,Apache conf,modSecurity,防火牆,白名單Pinterest IP,AWS IP等。沒有任何工作。

    這真的很奇怪。

    更新3

    更加古怪,如果你看一下http://www.princessly.com/Pinterest_agents.txt你可以看到確有 「Pinterest的/ 0.2(+ http://www.pinterest.com/)」 存在的條目。

    但是,如果您給它一個manual test,它會失敗並且根本不記錄訪問。

    它似乎斷斷續續地,也許。

    這在量子物理學領域是非常多的,我不知道現在該做什麼,除了最後一招是訂購和配置一臺新服務器並在那裏遷移Princessly.com看看它是如何發展的。

    您的想法?

    +0

    您是否嘗試過重新驗證您的PIN碼? – claudios

    +0

    @claudios,你是怎麼做到的? –

    +0

    https://developers.pinterest.com/tools/url-debugger/ – Mackan

    回答

    2

    在調試問題後,使用https://developers.pinterest.com/tools/url-debugger/,問題似乎源於服務器端。

    If you're seeing We weren't able to retrieve any data from your URL, then Pinterest may be timing out before we can create a Pin on your site. Unfortunately, this isn't something we can fix on our end, and usually happens when a site is slow. This error also appears if your site blocks Amazon Web Services (AWS) requests. You'll have to remove this block before applying for Rich Pins.

    創建一些「最小,但工作」網頁,並通過驗證程序運行它們所作的問題更清晰,可惜沒有解決。這可能是本地服務器(Apache)的問題,也可能是pinterest bot的問題。

    Pinterest bot似乎擊中了服務器,但驗證程序無法解析或到達端點。由於最小示例返回的時間不到一秒鐘,並且包含滿足Pinterest要求的最低限度示例,所以很明顯,問題不在您的代碼中。

    將解決方案遷移到其他主機似乎解決了問題。

    編輯

    新主機似乎(使用的最小的一個例子)來更好的工作: enter image description here

    +0

    嗨Mackan,我堅持與富有針腳相同的問題。那麼,您是否設法通過遷移到新主機來解決問題?你有沒有設法獲得關於這個問題的更多細節?在我的情況下,轉移到新主機並不那麼簡單。你可以在這裏看看我的問題。 https://stackoverflow.com/questions/44572255/does-the-pinterest-validator-work。您的意見非常感謝!謝謝!! – panipsilos