pinterest / widgets

JavaScript widgets, including the Pin It button.
Other
211 stars 88 forks source link

PinUtils.pinOne opening a blank page #88

Closed leonardteo closed 6 years ago

leonardteo commented 6 years ago

Hi guys,

When invoking PinUtils.pinOne(), it opens a blank page.

Video showing the issue: https://www.youtube.com/watch?v=56qHVo-4HGg

Repro steps:

  1. Load any site with pinit.js (e.g. Pinterest developer page)
  2. Open console
  3. Try running PinUtils.pinOne(), e.g.
PinUtils.pinOne({ 
   'url': 'https://www.artstation.com/artwork/PzB84', 
   'media': 'https://cdnb.artstation.com/p/assets/images/images/012/940/227/large/little-red-zombies-tls00.jpg?1537286120', 
   'description': 'Test' 
});

Result: https://cl.ly/059ee6d8b8d7

Update: it looks like the server is returning a 400 error actually.

leonardteo commented 6 years ago

Seems to be working again. It was returning 400 error for a couple of days. Thanks. :)