Create Account
Welcome, Guest
Username: Password: Remember me

TOPIC: Domain in Facebook Feed Story is wrong - says comment was made "on Facebook.com"

Domain in Facebook Feed Story is wrong - says comment was made "on Facebook.com" 7 years 8 months ago #3310

  • jsdmusr
  • jsdmusr's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
I've bought your Facebook Social Comments and Facebook Like/Share plugins. I've got the Like/Share one working fine but the Comments one has got a strange error.

You can post comments fine on the site, and it looks as if it's worked fine, but when you view the feed story that is generated on Facebook if doesn't link back to the article the comment was made on. Instead it links back to this url:
http://www.facebook.com/plugins/comments_v1.php?app_id=<appid>&xid=<correct-url-urlencoded>&url=<correct-url-urlencoded>

Here is an example of the feed story:

This image is hidden for guests. Please log in or register to see it.

As you can see it says the comment was made "on Facebook.com" and not on my actual site.

I believe this is down the iframe being loaded with some old version maybe? I've included the src field from the iframe that is displayed on the site, line breaks have been inserted on each parameter for ease of viewing:
http://www.facebook.com/plugins/comments.php
?api_key=204696126225081
&channel_url=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D0%23cb%3Df4d8204e59578%26origin%3Dhttp%253A%252F%252Fwww.bingohideout.co.uk%252Ff2b59c783e3f5be%26relation%3Dparent.parent%26transport%3Dpostmessage
&href=http%3A%2F%2Fwww.facebook.com%2Fplugins%2Fcomments_v1.php%3Fapp_id%3D204696126225081%26xid%3Dhttp%253A%252F%252Fwww.bingohideout.co.uk%252Fbingo-news%252Fthe-sun-bingo-does-it-for-mums.html%26url%3Dhttp%253A%252F%252Fwww.bingohideout.co.uk%252Fbingo-news%252Fthe-sun-bingo-does-it-for-mums.html
&locale=en_GB
&migrated=1
&numposts=10
&sdk=joey
&title=The%20Sun%20Bingo%20does%20it%20for%20mums%E2%80%A6%20%7C%20Bingo%20News
&url=http%3A%2F%2Fwww.bingohideout.co.uk%2Fbingo-news%2Fthe-sun-bingo-does-it-for-mums.html
&width=724
&xid=http%3A%2F%2Fwww.bingohideout.co.uk%2Fbingo-news%2Fthe-sun-bingo-does-it-for-mums.html

As you can see the xid and url are correct, but it's that href parameter that is messing things up.

Also, in the settings tab of the comments iframe on the site (viewed when logged in as an admin) it displays:

This image is hidden for guests. Please log in or register to see it.

I've been trying to work this out all day! Does anyone have any idea what could be going wrong?!

Thanks,
Tom.
The topic has been locked.

Re:Domain in Facebook Feed Story is wrong - says comment was made "on Facebook.com" 7 years 8 months ago #3326

  • zaheerkaka
  • zaheerkaka's Avatar
Hi,

Following is what I see in my in demo. href attribute gets added on Facebook end.
http://www.facebook.com/plugins/comments.php?
api_key=111464564565466
&channel_url=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D0%23cb%3Df19dbe9e6aaf27a%26origin%3Dhttp%253A%252F%252Fwww.khawaib.co.uk%252Ff21fdf22661de3a%26relation%3Dparent.parent%26transport%3Dpostmessage&

href=http%3A%2F%2Fwww.facebook.com%2Fplugins%2Fcomments_v1.php%3Fapp_id%3D111432095562212%26xid%3Dhttp%25253A%25252F%25252Fwww.khawaib.co.uk%25252Fdownloads%25252Ffacebook-social-comments.html%26url%3Dhttp%253A%252F%252Fwww.khawaib.co.uk%252Fdownloads%252Ffacebook-social-comments.html

&locale=en_GB&migrated=1&numposts=10&sdk=joey&session_key=2.OpkZU_k0n6GaN7mWFipmMw__.3600.1301400000-1500927432&title=Facebook%20Social%20Comments%20-%20Downloads%20-%20Khawaib%20Ahmed&url=http%3A%2F%2Fwww.khawaib.co.uk%2Fdownloads%2Ffacebook-social-comments.html&width=550&xid=http%253A%252F%252Fwww.khawaib.co.uk%252Fdownloads%252Ffacebook-social-comments.html

Also are you using any redirection for your DNS?
Are you using any other Facebook extensions?
Will you be able to post URL of a page where you have comments box enabled so can have a look.

Regards This image is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The topic has been locked.
Time to create page: 0.039 seconds