Generate Pinterest Share Button That Specifies URL <p>I am trying to create a "pinterest share" button, but am running into a snag.</p> <p>Currently, I have the pinterest button (generated from their <a href="http://business.pinterest.com/widget-builder/#do_pin_it_button" rel="nofollow">Widget Builder</a>) appearing in a Lightbox. (For certain reasons, it must appear this way.)</p> <p>The issue is the Lightbox code has direct linking on it, so the code for the lightbox window is something like: www.domain.com/#/social/4</p> <p>Pinterest is picking up that URL (which has no images since it's just the lightbox) instead of the URL for the main page (www.domain.com).</p> <p>Does anyone know how I can specify the exact URL to share via the pinterest button?</p> <p>I have read some posts that said doing this would work:</p> <pre><code>&lt;a href="http://pinterest.com/pin/create/button/?url=http://www.domain.com" class="pin-it-button" count-layout="none"&gt;&lt;img src="//assets.pinterest.com/images/PinExt.png" alt="Pin it" / &gt;&lt;/a&gt; &lt;script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"&gt;&lt;/script&gt; </code></pre> <p>However, specifying the URL does not seem to work at all. It appears to be totally ignored and has no impact.</p> <p>Any ideas?</p> <p>Thanks in advance!</p>