html - Pinterest rich pin not working & validator fails? -
we've been struggling problem several months yet no avail. rich pins on pinterest used work our site stopped working , 1 after rich pins (clickable title , price) disappeared pins of our site.
for example, product, have open graph information front in head section of html code:
<meta property="og:type" content="product" /> <meta property="og:title" content="backless gray lace tulle flower girl dress big bow" /> <meta property="og:description" content="this dress made of high quality lace , tulle fabric; unique cross straight neckline in front; big ... shop use nyc2018 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" />
as per rich pin requirements here. it's working when first implemented on our site around half year ago. unfortunately reason stopped working 1 month ago. see pin page. shows none of these rich pin information no more.
when try product page rich pin validator (https://developers.pinterest.com/tools/url-debugger/), it's still not working , keeps giving error every url test:
we unable retrieve data url.
like this: http://www.princessly.com/pinterest_error.png
it's not useful error message. not sure if can't access page (http code? blank page or whatever?) or don't find open graph information there.
we tried asking around webmaster forums , seeking pinterest official support not helpful other giving docs knew , blamed our server blocking access of bot after confirming our hosting team several times, there no errors @ regarding pinterest.com accessing our site:
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/)"
since women products merchant, pinterest means quite sum of sales. have seen considerable drop of revenue since rich pin disappearance. believe issue costing real money speak.
we desperate , think should try our luck here on so. not sure if fits in programming questions sure involves code of html , open graph , 1 of major social network offers developer api.
as can't our hands on pinterest bot , how sees our page, there seems limited ways debug this.
any idea how happens , how debug & fix it? pinterest staff developer here offer insight? thank you!
update 1
here http user agents recorded via index.php of princessly.com last 24 hours contain 'pinterest': http://www.princessly.com/pinterest.txt
my host wiredtree kind enough check again me. seems pinterest bots indeed able access site no problem.
on checking access logs site "princessly.com", can see successful accesses "pinterest" site "princessly.com". please see snippet logs.
======
194.103.189.40 - - [15/nov/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 way can find name of pinterest bot can detect http user agent?
from logs can see the pinterest bot tag "pinterest/0.2 +http://pinterest.com".
- can know if requests made pinterest bot timed out?
i have checked apache logs ip addresses pinterest access noted , not find time out errors.
- how know if block aws requests?
on checking not see block rules setup site "princessly.com". have checked .htaccess file , robots.txt file site. have whitelisted aws ip address range per link have provided.
can please check details , let me know if there user panel pinterest or other details can dig deeper.
update 2
following advice @mackan, created few identical bare minimal pages same each other , correct open graph information, , uploaded them several different sites. i'm recording php user agent accesses page:
- sites on same server princessly.com
site ip: 173.199.151.128
http://www.princessly.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-test123.php
-- fail
site ip: 173.199.151.128
-- fail
site ip: 173.199.151.130
http://www.bintley.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-test123.php
-- fail
- different server princessly.com
https://www.thedataplanet.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-test123.php
-- success
- another different server princessly.com
http://www.formkid.com/ivory-lace-tulle-wedding-flower-girl-dress-with-sheer-neck-test123.php
-- success
after testing rich pin validator, seems it's server issue. request never reaches php file sites on princessly.com server.
wiredtree support kind me in finding culprit after shifting through on 5 support staff, nothing promising far. have gone through .htaccess, apache conf, modsecurity, firewall, whitelisting pinterest ips, aws ips, etc. nothing worked.
this really weird.
update 3
even weirder is, if @ http://www.princessly.com/pinterest_agents.txt can see there indeed entries of "pinterest/0.2 (+http://www.pinterest.com/)" there.
however if give manual test, fails , doesn't record access @ all.
it seems breaking intermittently, maybe.
this pretty in quantum physics arena , don't know now, except last resort order , provision new server , migrate princessly.com there see how goes.
your idea?
after debugging issue, using https://developers.pinterest.com/tools/url-debugger/, problem seems stem server-side.
if you're seeing weren't able retrieve data url, pinterest may timing out before can create pin on site. unfortunately, isn't can fix on our end, , happens when site slow. error appears if site blocks amazon web services (aws) requests. you'll have remove block before applying rich pins.
creating "minimal working" pages , running them through validator made issue clearer, unfortunately didn't resolve it. either problem local server (apache) or possibly issue pinterest bot.
the pinterest bot seems hit server ok, validator can't parse or reach endpoint. since minimal examples returns in ~less second, , contains bare minimum satisfy pinterests requirements, it's clear issue not within code.
migrating solution host seems have fixed problem.
edit
the new host seems working better (using 1 of minimal examples):
Comments
Post a Comment