This little script comes from me needing to find the ID number for a Pinterest board so that a script I wrote could automatically add new pins.
But it looks like while it used to be pretty easy to find the board ID, it’s gotten a bit less transparent. But it’s still really not hard to find if you’re willing to dig through a bit of HTML. Being a bit on the lazy side though, I’d rather write a quick little script to find it for me so that next time I can just punch in the board URL and get the ID automatically.
And, so here is a tool to do just that. Enter the URL to the board you’re interested in and it will go and grab the page HTML and pick out the board ID for you.
What URL do I use?
Easiest thing is to go to the board you’re interested in and copy the URL from your browser address bar. Then copy it into the field above and press the button.
It also works when entering the address of your account page – the one with all of your boards listed – but will only return the ID of the first board. If getting all of the IDs is something that would be useful, let me know in the comments. It’s probably something that could be added.
How does this work?
It’s giving me an error
What to do depends on what the error is.
First, this does check to make sure that the URL is on pinterest.com. Doesn’t really make sense to check for a Pinterest board ID on other sites.
If you’re entering a correct address and it’s still telling you that it can’t find the board ID, let me know in the comments. Maybe Pinterest changed something. This was working when I posted the page, but things change.
What about WordPress?
If you’re using WordPress I just finished a plugin that will automatically create pins on your Pinterest board when a post is published. You can find the Pinterest Auto Post WordPress plugin at Reliti.com.