Topic-icon wrong URL in Facebook Comment?

Active Subscriptions:

None
12 years 1 week ago #44435 by StefanSchoch
Hi,

I am using the FB comment function on several pages.
Problem is, the URL stored in the comment does not point to the original page on my site.
This is what the FB debug-tool throws out (together with a warning 'og:url tag in the header is not the same URL as rel='canonical' link in the html')

Response Code 206
Fetched URL integraleimpulse.de/online/myevents/eo1/1.html
Canonical URL integraleimpulse.de/component/users/?view=login


You can see the effect on this page: www.facebook.com/irene.sallinger?fref=ts
Click on the comment and you'll be redirected to the login page, not to the article.

In OpenGraph configuration the only thing I defined is the Logo (image=http://www.integraleimpulse.de/images/stories/seminare/logo_200.png)

What do I have to do that the correct link is stored in FB?
How can I manage to have different Logos and the page title (or some pecific text)? (I'd like to use the logo of the course instead of the whole site)

Info: the pages where the comments can be added are not visible to not logged on users. Might that be a problem?

Thanks for supporting me!

Stefan

Update:
I found out now, that when the corresponding menu & page is made visible public, the right logo is shown.
Unfortunately that does not really solve my problem, because I have to make these pages available only to registered users (they have to pay for the online course). But nevertheless I would like to let them share their comments on their own FB pages, when users clich on the link to my site, they shall see the Description of the category and the corresponding logo.Any suggestions about that?
Does creating an OG Object help? It would be great if the categories OG object with its logo and meta-description would be used. The category is publicly visible.
I already created an object but I'm not sure if it is used. The 'description' text is drawn from the page, not the category.
Within the JFB-object there is a parameter 'object-tpye'. What do I have to enter here?
The topic has been locked.
Support Specialist
12 years 6 days ago #44467 by alzander
Unfortunately, that's a limitation of Facebook. They have to crawl your pages to 'see' the Open Graph tags. If the page redirects them to a different page, like your login view, that's what they think the page should be represented as.

There isn't any standard way to let Facebook see the contents of a registered page and there's not a way to create an 'object' for a page so Facebook can see it. An object is just a way to define a page using the Open Graph tags, which Facebook still needs to see.

We do have ideas on how to work around this in Joomla by checking the user agent of the crawler that's trying to see the page and rendering the Open Graph tags for that crawler. It's a complex issue though as we'd need to have some user on your site to temporarily login the Facebook crawler as so that the page can be rendered and JFBConnect can determine the appropriate tags. It's difficult and I'm not sure it will even be fully possible, but it is on our roadmap for later this year.

I hope that helps answer your questions, even if it's not really what you were looking to hear.

Thanks,
Alex
The topic has been locked.