Does http://www.linkedin.com/shareArticle only work on English? - tags

My website supports both zh_CN and en_CA, when I use the following two urls to share on linkedin.
Only English version works(can show og:title/image/description), but linkedin does not work on zh_CN link. Maybe linkedin scraper does not support UTF-8.
BTW, when I post zh_CN and en_CA on facebook, both works fine.
http://www.linkedin.com/shareArticle?mini=true&url=https://leifang.ca/p/contact.html?locale=zh_CN
http://www.linkedin.com/shareArticle?mini=true&url=https://leifang.ca/p/contact.html?locale=en_CA
When I access my zh_CN link from browser, my og tags have the following values:
<title>联系方式⋅蕾</title>
<meta property="og:title" content="联系方式⋅蕾"/>
<meta property="og:image" content="/images/leiContact180x110.png"/>
<meta property="og:description" content="本着客户利益是第一位的原则。帮助您決定投資或保险的最佳方法。我期待着与您的会面。"/>
When I access my en_CA link from browser , my og tags have the following values:
<title>Contact⋅Lei</title>
<meta property="og:title" content="Contact⋅Lei"/>
<meta property="og:image" content="/images/leiContact180x110.png"/>
<meta property="og:description" content="Follow Putting The Customer First principle. I look forward to meeting you."/>

I sent this link to my friend who is working in linkedin.
Seems he forwarded this problem to their internal team.
I tested again this morning(2014-11-29), linkedin fixed their problem. :)

Related

Why can't the Facebook Debugger Tool scrape my website?

I have a website at http://predictstat.com/. It's powered by Django. I would like to make sure that when a user posts a link from this website onto Facebook, a nice preview image, title and description show up there. This website can also be accessed by using a different domain name: http://percephany.com/. However, I don't really want to use that. I want it to be known to the world as predictstat.com.
To test the Facebook linking/previewing, I have been using the Facebook Debugger Tool. These are the meta-tags that are in my index.html page:
<meta charset="utf-8" />
<meta property="og:url" content="http://predictstat.com/" />
<meta property="og:image" content="http://predictstat.com/static/images/predictStatLogo.png" />
<meta property="og:title" content="predictStat" />
<meta property="og:description" content="Online prediction logging and tracking" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
When I ask the Facebook debugger tool to scrape http://predictstat.com/, It gives me the following error:
Error Parsing URL: Error parsing input URL, no data was scraped.
However, when I change the meta tags to refer to percephany.com instead of predictstat.com, and then ask the Facebook Debugger tool to scrape http://percephany.com/, it works perfectly fine.
Why is this the case? Why does the Facebook Debugger tool like the domain name http://percephany.com/, but dislike the domain name http://predictstat.com/ when they both point to the same underlying website?

Post an internet link with the appropriated picture

I want to share an article from our website on facebook, but we are facing two problems:
1/ Almost all the time, the suggested pictures are pictures from the website but from other pages, not from the article I want to share. (And the picture has a straight relation with the subject of the article)
2/ this type of link http://www.kacileo.fr/blogs/4/1wblmb-la-face-cach%C3%A9e-de-nos-faiblesses can't be shared on facebook because we don't have any proper title and picture.
Try by yourself and you'll see! But this link works on linkeIn, Viadeo...
So, do you have any answers? Is there any people who have the same issue ?
Thanks
Facebook uses the Open Graph Protocol when displaying the preview of your link. The best way to tell the OGP what to display is adding some meta tags to the <head> of your page.
<meta property="og:title" content="Example Title" />
<meta property="og:image" content="http://example.com/exampleimage.jpg" />
<meta property="og:description" content="Example description" />
<meta property="og:url" content="http://example.com">
More information on Facebook's website

Social network post links not working properly

The problem I'm having is when I post a link to a post on my website to either Facebook or Google+ that link points to my homepage. Even in preview, the thumbnail displayed is that of the homepage.
From what I have found (which hasn't been much) it seems that the problem might be with the facebook metadata. I have tried to validate it on facebook's open graph validator and at first I was getting a 206 result when the links were working. Now I get: Facebook URLs aren't scrapable by this Debugger. Try your own. Not sure why.
Having the same issue with Google+. When I first published the website it was working fine and this happened out of nowhere.
Here is what I have in my header:
<!--Facebook Metadata /-->
<meta property="og:title" content="Website Title"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://URL.com/"/>
<meta property="og:image" content="http://URL.com/img.png"/>
<meta property="og:site_name" content="Site Name"/>
<meta property="fb:admins" content="User_1"/>
<meta property="og:description" content="Website Descriptiom"/>
<!--Google+ Metadata /-->
<meta itemprop="name" content="Google+ ID">
<meta itemprop="description" content="Description">
<meta itemprop="image" content="Empty">
I have tried removing it and still the problem persists. I do want to point out that I have an html site with a wordpress blog that's being hosted on my server. Wondering if the issue might be with wordpress?
Should the metadata be placed on the index.html and the wordpress homepage or just the index.html? Any help would be appreciated. Thanks.
When you delete those metadata tags, specifically the og: ones (facebook's open graph meta tags) - you have to tell Facebook to pick up a new copy of your page as they cache everything. If you haven't tried this already:
Remove those tags
View the source on your live site, to confirm they are in fact removed
Go to http://developers.facebook.com/tools/debug and type in the URL of the page you are testing. This will tell Facebook to grab a new copy.
If that works (as it should), then you can play around with what tags to keep and how to make them dynamic - knowing that anytime you make a change, you will have to redo step #3 to tell FB to grab a fresh copy.

How do I set og:image so it takes image from page?

I am using mediawiki 1.19 and I've added facebook 'like'. When I click like the image posted is the site logo. How do I take the image from the page. I've run the site through http://developers.facebook.com/tools/debug and it seems og:image is set to the site logo. How do I change this meta property?
My site is thepetwiki.com
Thanks
You are going to gave to add some custom og:tags to the HTML markup of your page and specify the image that you want to use...
Take a look at the example from the Facebook documentation -
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock"/>
<meta property="og:type" content="movie"/>
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/"/>
<meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>
<meta property="og:site_name" content="IMDb"/>
<meta property="fb:admins" content="USER_ID"/>
<meta property="og:description"
content="A group of U.S. Marines, under command of
a renegade general, take over Alcatraz and
threaten San Francisco Bay with biological
weapons."/>
...
</head>
...
</html>
As you can see the og:image parameter is specified here and that allows Facebook to correctly display the meta data associated with that URL...
You might not need all of the og:tags specified here, title,url,image and description should be fine for just a LIKE button.
You are already aware of the debugger tool - it will help you debug your LIKE button and og:tags. Make some changes in your HTML markup and each time you'll have to send your URL though the debugger to refresh Facebook's cached version of your URL.
A quick Google search gave me this mediawiki extension that looks like it could help you -
http://www.mediawiki.org/wiki/Extension:OpenGraphMeta
OpenGraphMeta provides OpenGraph protocol metadata for articles on the wiki for 3rd parties like Facebook to extract...
see post http://www.mediawiki.org/wiki/Extension_talk:Facebook#OpenGraph_image_problems.
The open graph coding is all part of the Facebook extension.

Unable to Administrate Facebook Comments Plugin

Everything seems to be correctly setup except I am not getting any administrative options. I have the Social Comments Plugin working, I even have the Open Graph tags properly setup and tested using https://developers.facebook.com/tools/debug (Response Code:206) it does scream errors; except still no administrative options.
<meta property="og:type" content="">
<meta property="og:title" content="">
<meta property="og:description" content="">
<meta property="og:video" content="">
<meta property="og:image" content="">
<meta property="og:url" content="">
<meta property="fb:admins" content="">
<meta property="fb:app_id" content="">
This is the meta tags I am using. They are all correctly implemented and tested. I tried with fb:admins and fb:app_id on there own and together. I also have my Facebook User ID and APP ID correct as well. Still no admin features.
The code I am using to make the plugin work is based on exactly what is displayed here. It comments plugin is working. So I am assuming it should all unfold.
https://developers.facebook.com/docs/reference/plugins/comments/
Something I am missing or is this feature not available for the comments plugin?
Update
I just did another test and added a bogus User ID and the debug did not display an error and excepted the fake ID. Shouldn't it have caught that?
I am reading that Facebook only Scrapes your page once every 24 hours.
Would this cause the problem? If it is can you clear this
You can cause facebook to rescrape the page by sending your url thru the facebook linter at: https://developers.facebook.com/tools/lint