for tracking purposes, I want that the URL, which appears on the facebook stream after an "like-action", is slightly different from the URL the user actually liked.
Example:
I use <link rel="canonical" href="http://example.com/test.html">
in my head section to tell facebook to which URL a like-action on this website refers to.
Further down on the website I have <fb:like href="http://example.com/test.html?param=144141">
with the same URL, just with an additional parameter.
My intention: If someone clicks on the like button, facebook puts him to the "group who like http://example.com/test.html" in order to appear next the like button. But when another user sees his like-action on the facebook stream and clicks on it, he should be redirected to http://example.com/test.html?param=144141.
The problem is that this doesn't work, because the canonical declaration in the head section kind of overwrites the href attribute of my <fb:like>
tag. Anyone knows how to solve this problem or does it simply not work?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…