Page 1 of 1

Pinterest button - Parameter 'source_url' -is not a valid UR

Posted: Wed Sep 10, 2014 1:13 pm
by sharma
Hi phillip,
I am using Pinterest button in my website for sharing the image.
I have used third party widget from addThis.com for attaining this functionality.
The code in my html looks like below..

Code: Select all

  <div class="social-media-icons1">
    <a class="addthis_button_pinterest_share" title="Pinterest"  >
    <img class="social-media1" th:src="@{/img/common/btn/btn_pinterest.gif}" />
    </a>
     <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-5368b8795f957cb6"></script>
    </div>



but when i share the image i get the below error
Parameter 'source_url'

Code: Select all

(value https://10.52.165.234/frenchplace/b43130519/12081907?category=BONOBO)

is not a valid URL format.
The above is my Dev Server.
But on the contrary when i am trying the same in my local development environment i am successfully able to share it.
The url in my local environment is passed as

Code: Select all

https://10.93.178.229:8443/frenchplace/b43130505/12077150?category=CACHECACHE

Can you help me on understanding what the issue may be.

Re: Pinterest button - Parameter 'source_url' -is not a valid UR

Posted: Wed Sep 10, 2014 1:16 pm
by sharma
Got the issue.This functionality will only work if we have a SSL certificate purchased and not a Self-Signed HTTPS.

Re: Pinterest button - Parameter 'source_url' -is not a valid UR

Posted: Wed Sep 10, 2014 1:17 pm
by sharma
sharma wrote:@ phillipuniverse Can you help me on this.
:)

Re: Pinterest button - Parameter 'source_url' -is not a valid UR

Posted: Thu Sep 11, 2014 12:37 am
by vivekjuneja2014
Sharma,

This is not a BLC specific issue. Kindly raise it to stack overflow / pinterest community.

Thanks!

Re: Pinterest button - Parameter 'source_url' -is not a valid UR

Posted: Sat Sep 13, 2014 1:36 pm
by phillipuniverse
@vivekjuneja2014 is right. This is something specific to Pinterest, maybe it needs a publicly accessible actual domain name and not just an IP address.