By Yuan-Sheng Fu on Tuesday, 25 September 2018
Posted in General
Replies 8
Likes 0
Views 691
Votes 0
I found a problem with the Pinterest embeddable block. If I enter a Pinterest URL like this:
https://www.pinterest.com/pin/568509152958208315/

the embeddable preview is generated correctly. However, if I enter an URL like this:
https://www.pinterest.com/pin/AahJzwNi2S4ugQWKaJCOrto6uFNVkD7DoI5wiELM4Lwe4-xT9Q9xg7I/

the block will simply become an blank block. Please see the attached screenshot that illustrates the problem. You can also use the above 2 different URLs on an Pinterest embeddable block to reproduce the problem.

Could you fix this issue? There are a bunch of Pinterest posts having URLs like the latter one and my users keep complaining about it.
Hey there,

It seems that this link https://www.pinterest.com/pin/AahJzwNi2S4ugQWKaJCOrto6uFNVkD7DoI5wiELM4Lwe4-xT9Q9xg7I/ is invalid as when I was trying to access it manually, it will redirect me to https://www.pinterest.com/pin/167055467412837042/.
·
Tuesday, 25 September 2018 12:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin,

The links like https://www.pinterest.com/pin/AahJzwNi2S4ugQWKaJCOrto6uFNVkD7DoI5wiELM4Lwe4-xT9Q9xg7I/ are perfectly valid links on Pinterest. You can get such links from a bunch of posts if you try to browse some. You are right that such link will be eventually redirected to a link in the standard form like https://www.pinterest.com/pin/167055467412837042/, but what I see (and a lot of my users see) in my Chrome browser's address bar is still the original one, and that's the link the users will copy and paste into the Pinterest block and experience the problem I mentioned.

Therefore, the problem is indeed a bug for the following reasons:
1. Such links can be found everywhere when you browse Pinterest.
2. Although such link will be redirected, Chrome browser still retain the original link in the address bar, and Chrome has the largest share in the browser market.
3. Because of #2, it's the original link users would copy and paste into the Pinterest embeddable block and get frustrated when they eventually see the blank block.

The Pinterest embeddable block should have the ability to follow the redirect link until a final html page is obtained. Please kindly communicate with your engineering team and have this problem fixed.

Thanks,
Yuan
·
Wednesday, 26 September 2018 00:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Yuan,

Based on what i checked, even though pinterest developer widget builder tool also unable to embed out this https://www.pinterest.com/pin/AahJzwNi2S4ugQWKaJCOrto6uFNVkD7DoI5wiELM4Lwe4-xT9Q9xg7I/ , you can open my following link.
[gist type="php"]
https://developers.pinterest.com/tools/widget-builder/?type=pin&url=https%3A%2F%2Fwww.pinterest.com%2Fpin%2FAahJzwNi2S4ugQWKaJCOrto6uFNVkD7DoI5wiELM4Lwe4-xT9Q9xg7I%2F
[/gist]

If you put this valid link https://www.pinterest.com/pin/167055467412837042/ , it will embed this pinterest pin correctly.

By the way, luckily these pinterest link do support opengraph, so we can able to retrieve the final URL from their page opengraph meta data, can you try download my attached files and replace into these file location and see how it goes.

JoomlaFolder/administrator/components/com_easyblog/includes/connector/connector.php
JoomlaFolder/media/com_easyblog/scripts/composer-5.2.9.min.js
JoomlaFolder/media/com_easyblog/scripts/composer-5.2.9-basic.min.js

**Must backup the original file before you replace it.

Do take note, after you replace the file, ensure that you have clear your site backend, server and browser cache before you test it, because it might be load back the old Javascript on the browser.

If the issue still persist, can you update your site backend and FTP access at http://stackideas.com/dashboard/site so we can better have a check?
·
Wednesday, 26 September 2018 17:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex,

The provided fix works great with different Pinterest URLs, but only for the first Pinterest embeddable in the composer. :-) After that, if I add another Pinterest embeddable in the same post, none of the Pinterest URLs, including the one with the expected format, would work. I think this can be easily reproducible from your side. Let me know if that's not the case and you need to access my backend and FTP.

Thanks,
Yuan
·
Friday, 28 September 2018 23:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Thanks for getting back to us that patch files work great.

I will log this second issue into our issue tracker and keep you update regarding this once our developer fix this in internally.
·
Saturday, 29 September 2018 11:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

It has been a while since I reported the last problem. Could you update the current status? Is there a fix for the problem yet? Not being able to insert a second Pinterest block in a post seems to be a pretty big limitation.

Thanks,
Eman
·
Sunday, 07 October 2018 06:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Try download my attached file then replace into this following file location.


JoomlaFolder/components/com_easyblog/themes/wireframe/blogs/entry/default.php
JoomlaFolder/media/com_easyblog/scripts/composer-5.2.9.min.js
JoomlaFolder/media/com_easyblog/scripts/composer-5.2.9-basic.min.js

**Must backup the original file before you replace it.

After you replace the file, you have to clear your browser cache before you test it.
And if those existing blog post already added Pinterest block, you have to re-add again.
·
Monday, 08 October 2018 16:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post