BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> openElement General Discussion
  New Posts New Posts RSS Feed - Facebook  & LinkedIn share
  FAQ FAQ  Forum Search   Register Register  Login Login

Facebook & LinkedIn share

 Post Reply Post Reply Page  <12
Author
Message
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6194
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 24 2020 at 3:20am
I need a link to your site to help you

Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Jun 24 2020 at 11:21am
So, I tried this other approach introducing as link

www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fxxxxxxxxxxxxx.com%2Factualites.htm%232&title=xx+xxt+xxxxx.htm&source=xxxxxxx.com" rel="noopener"

For once, it took me to the LinkedIn site, but it shares the article at the top of the page (https://xxxxxxxxxxxxx.com/actualites.htm#news1), instead of sharing the article that I am pointing to  (https://xxxxxxxxxxxxx.com/actualites.htm#news 2)

Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6194
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 24 2020 at 11:59am
I can't help anymore without a link to your hosted site.
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Jun 24 2020 at 9:58pm
Thanks again for coming back Hobby001

The site is https://--------------------------.com/

Link I am working with is  the LinkedIn share at https://-----------------.com/actualites.htm#news2

As you can see, the link
www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2F----------------------.com%2Factualites.htm%232&title=Is+it+possible.htm&source=----------------------.com" rel="noopener" target="_blank"

But then, it shares this  Link https://------------------.com/actualites.htm



Edited by WattJet - Jun 25 2020 at 9:27pm
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6194
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 25 2020 at 12:16am
edit the code block visual and replace the link generates by linkedin 



with the following

<a href="https://www.linkedin.com/sharing/share-offsite/?url=https://mydatamygain.com/actualites.htm#news2"target="_blank" title="Share on LinkedIn">
<img src="Files/Image/Linkedin.jpg" width="30" height="30">
</a>
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jan 04 2016
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: Jun 25 2020 at 2:18am
Thanks again Hobby1 for taking the time

I did as instructed, but also left the preexisting image with the link described above.
Whether you click:
  • on the code block visual or
  • in the (old) Linkedin Image www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2F--------------.com%2Factualites.htm%232&title=xx+xx+xxxxxxx.htm&source=---------------.com" rel="noopener" target="_blank"
In both cases what is shared with Linkedin is https://------------------.com/actualites.htm
completely disregarding the final part of the url https://-----------------.com/actualites.htm#news2

Hence, the post shared in LinkedIn is the one at the top of the page.
As you have read in the template entry, I managed to revert the order of entries, so now News03 is at the top of the page. I have tested the link and it gets you there.

Finally,  I made another test posting News 02 directly in Linkedin site   -manually entering https://--------------------.com/actualites.htm#news2 in LinkedIn. Unfortunately the effect is the same... the  link disregards the last part of the URL and keeps only until ".htm"

But, what makes it worse is that link is associated in their files with a previous entry so what appears as a snippet in LinkedIn page is the News01 that I posted on Friday (See below), but when clicked, it leads to  https://------------------.com/actualites top of the page, which is now News03

So, now the question changes completely. Is there any other way to define the areas of the actualites page in the template that allows to have a different URL configuration (for instance https://------------------.com/actualites/news2.htm?

-----------
To clarify: I copied News02, the snippet saved by LinkedIn corresponds to News01 but when clicked the link gets you to the top of the page (News 03)





Edited by WattJet - Jun 25 2020 at 9:26pm
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6194
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 25 2020 at 9:52am
I have only one answer left: You should ask LinkedIn why they don't consider the anchor in the URL.
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.