Linkedin URL preview not using javascript - linkedin

I have this page on my website where Javascript is absolutely necessary and if it is disabled, an error message shows. I have a bunch of opengraph metatags in it and it works perfectly in Facebook, Twitter and so.
But when I share the website on LinkedIn, it makes a preview out of the error message. Does that mean that the LinkedIn URL crawlers have javascript disabled? If so, is there any workaround to make it work?
Thanks.

You can always use https://www.linkedin.com/post-inspector/ to see what your problem with Linkedin is.
Cheers!
After reviewing what you told me, i've disabled JavaScript and it leads me to https://www.conceptocean.com/jsnotif
You should change the redirection for users that dont allow JavaScript or as a patch, add the og:tags to that /jsnotif page, since LinkedinBot wont enter to https://www.conceptocean.com but https://www.conceptocean.com/jsnotif

Related

Open Graph on LinkedIn does not work for my client's site

For some reason sharing links on LinkedIn from my client's site does not work.
I've checked the specifications on https://www.linkedin.com/help/linkedin/answer/46687/making-your-website-shareable-on-linkedin?lang=en and it looks like all the og meta tags re correct. Sharing on other social media works without problems. It's only on LinkedIn where the Open Graph data is not picked up.
Here is a sample URL which does not work on LinkedIn:
https://nomadandvillager.com/bestemmingen/kenia/mbara/vrouwenbesnijdenis/
Am I missing something?
Would you be able to share a bit more on how you're getting the tags to render on Facebook and the like?
I encountered the same problem (My site runs on Angular), but my approach was to redirect the LinkedInBot via .htaccess.
Eventually, I gave up, and wrote a custom share button with LinkedIn's rest API
With it, you will be able to specify the details of the share, and avoid the messy workarounds for LinkedIn.
Direct Sharing on LinkedIn
Sharing via REST API
Original link: http://blog.crazy.technology/post/Clash-of-Clans---How-to-use-the-Web-API-570dd2b2

LinkedIn and Open Graph : site not shareable on LinkedIn without reason

I'm trying to make my website shareable on LinkedIn.
URL : https://www.jedecouvremercator.com/
My website is W3C validate. I have followed all the LinkedIn recommendations and Google recommendations. My Open Graph meta is correct and the website is shareable on all other platforms.
But when I'm trying to share it on LinkedIn or when I use a custom link to share it, LinkedIn can't display the meta information.
(I always use garbage into the URL to kill cache before verifying my changes).
Can somebody tell me why?
Thanks a lot.
The site in your URL is down, and you didn't post any code, so that makes this difficult, but not impossible. I can still view your URL through archive.org, and when I try to share the archive.org URL, like this...
https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fweb.archive.org%2Fweb%2F20190618064744%2Fhttps%3A%2F%2Fwww.jedecouvremercator.com%2F
When I click the above, everything works perfectly fine for me. Example:
If you need more info: Official LinkedIn Documentation for Formatting URL and Official LinkedIn Documentation for OpenGraph Tags and Prefilled Sharing.

Multiple links to same page google analytics

So in google analytics I am seeing two links for every post I have on my wordpress site. See: https://www.screencast.com/t/JVoudis1eK8P
All the duplicate links are the same except for /404/ at the beginning. I checked my database and don't see these links. They do link to the correct page and don't display the /404/ in the url toolbar when clicked.
I inherited this site so I didn't set it up. Has anyone ever seen this? Is a plugin doing this? (We use yoast).
Thanks,
Mike
My suspicion isn't Google Analytics, but something on your site isn't right. Load up an Inspect session in your browser such as Google Chrome, and then go to the Network tab, and watch each request. You'll look for the "status" column for anything that's not a 200. I'd bet something like a JS, CSS, or image isn't loading, and your site is redirecting each 404 request to a page and passing the referring URL to it.

Making your site shareable on LinkedIn

I'm having a few issues with making our site shareable on linked in and I'm at a loss. The og: meta tags all look fine, the facebook scraper picks it up fine, but the linkedIn scraper does not... and the img etc are not on a protected folder or anything like that.
When inspecting the developer tools the get request to the url-preview?url= link shows that the img etc.. aren't there.
The image is less than 1mb, all og: meta tags are obeyed. The only think that may not be 100% is the image ratio is not 1/4 or 4/1 (it's 2/1)... But that is only a recommendation and not a hard and fast rule.
Does LinkedIn provide something similar to FB (https://developers.facebook.com/tools/debug/) where you can test the scraper and re-run it? Or is there another way to debug this? Any help appreciated.
https://www.hipla.co.uk (is the page i'm trying to share).
cheers
It transpires linked in doesn't offer a similar facility to FB or twitter to test the OG meta tags and re-scrape the page. They cache a page for 7 days and then re-scrape again. However, you can refresh the linkedIn crawler cache simply by appending GET params to the URL, i.e. https://www.hipla.co.uk?123.
I eventually figured out what our issue was. We were using a wildcard cert (for multi domain, so we could have a single ssl cert for multiple subdomains) which meant we had to set the server name in the apache default-ssl.conf file, but we had a typo in it for the www instance ... which meant it gave an SSL error (for the linkedIn crawler) which isn't debuggable (if that's a word) using linkedIn but was spotted as we got an SSL error when testing the twitter metadata tags using the twitter card validator. Hope this helps anyone else who has a typo in their ssl settings. Note that the ssl error was not visible using a browser(s) as all looked fine.

404 page showing phishing. how to fix it?

I am using wordpress and I needed a application which is made with codeigniter.
I was useing facebook sdk 4 to let my user login but after few day it got phishing by google chrome. Then I delete the application, now it's 404 page.... I request a review in google but no help.
my only one directory got effected by phishing where the application was located else everything is fine. I have talked with google forum but they are all idiots saying i have problem in my 404 page. if the problem in 404 page then my hole site would effected not one directory. I am using popup add from www.popads.net
I think popup is not the problem can i am useing popup in my full site....
http://www.ogx1.com/addme
this link will show 404 but if you add a / it will show phishing... i have no idea what is wrong
http://www.ogx1.com/addme/
guys need help if you can suggest me with any thing....
and can you tell me how many day google take to remove the flag??
thanks :)
It's very likely that the user activity in that page have caused it to be blocked. If users post links to pishing websites, your website will be blocked as well.
If your pages had comments or posts, use CodeIgniter's XSS Clean or any equivalent WP function to prevent malicious code/URLs from being posted by users/bots.
I'm not sure if google will ever unlock the page, so you should consider renaming the "addme" page.
Regards.

Resources