Page 1 of 1

Facebook Mirroring only works with ugly urls

Posted: Mon Jan 09, 2017 4:14 pm
by Masweb
I'm using CGBlog, CG Headmaster and CG Facebook Post to post a CGBlog item on a Facebook Page. That works fine.

On the website I use also a Facebook comment field.
On Facebook you have the possibility to mirror comments.
If someone put a comment on Facebook it will be displayed on the website and if someone post a comment on the website it will be visible on Facebook.

After a long time and a lot of tweaking I figured out that this only works if you use the original ugly urls. >:(

With HeadMaster I get the url of the article with this tag:

{cghm_config_set key='canonical' val=$entry->canonical|default:''}

That print the friendly url in the head of the page.
Is there a way to display the ugly url of the article over here so the Facebook mirroring will work?

Re: Facebook Mirroring only works with ugly urls

Posted: Thu Jan 12, 2017 6:18 pm
by Rinker
When I just use the facebook comments plugin people have to click a checkbox if they want to share the comments on facebook, this checkbox is shown as soon as you click the comments box.

Re: Facebook Mirroring only works with ugly urls

Posted: Thu Jan 12, 2017 6:54 pm
by Masweb
Rinker wrote:When I just use the facebook comments plugin people have to click a checkbox if they want to share the comments on facebook, this checkbox is shown as soon as you click the comments box.
Yes, but are the comments display'd on the website and on Facebook then or only on Facebook.
And second: Does your website have pretty url's?

My question is: I want to use pretty url's but need also the "dirty" url for the facebook mirror.