"Parameter 'image_url' (value http:null) is not a valid URL format."

4.5k Views Asked by At

I'm working on a project involving sharing to Pinterest, but I'd prefer not to use their JS library. I expected to just need a link like "https://www.pinterest.com/pin/create/button/?url=https%3A%2F%2Fwww.google.com%2Fimages%2Fsrpr%2Flogo11w.png", but I'm getting an error stating "Parameter 'image_url' (value http:null) is not a valid URL format." What am I doing wrong here?

1

There are 1 best solutions below

1
On

i'm faced the same problem and solved changing image_url for img_url