AMP Pinterest components depend on the count.json api under the v1 namespace, but cannot execute jsonp for security reasons. Previously the v1 api returned json when the return_jsonp=false url parameter was included in the request.
Something appears to have changed, and now the response is always jsonp.
AMP Pinterest components depend on the
count.json
api under thev1
namespace, but cannot execute jsonp for security reasons. Previously thev1
api returned json when thereturn_jsonp=false
url parameter was included in the request.Something appears to have changed, and now the response is always jsonp.
https://widgets.pinterest.com/v1/urls/count.json?return_jsonp=false&url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fkentbrew%2F6851755809%2F&__amp_source_origin=http%3A%2F%2Flocalhost%3A8000