/ pinterest

Custom Pinterest pin button

Was trying create a Pin button with a custom image and I first tried changing the url from

http://pinterest.com/pin/create/button/?url=

to

http://pinterest.com/pin/create/link/?url=

(see http://stackoverflow.com/a/18347926/440646)

However, that throws an error when you actually try to pin.

Parameter 'method' (value link) is not one of unknown, uploaded, scraped, bookmarklet, email, iphone, button, ipad, android, android_tablet, api_sdk, extension, api_other, bad.

The solution is rather simple, keep the url as it should be, and just ignore the Pinterest's script. See http://stackoverflow.com/a/15035520/440646

Custom Pinterest pin button
Share this