Topic-icon FB share: escape codes in URL, so page is not found

Active Subscriptions:

None
8 years 10 months ago - 8 years 10 months ago #53708 by jsundqui
This was working before, but now doesn't (don't recall changing anything). I have turned on the ability to share a joomla article with FB. However, rather than sharing the article (for example this one: www.wnymba.org/index.php?option=com_cont...&catid=70&Itemid=451 it shares the URL with the escape codes rather than "?", ";", "&", etc. It tries to share this:
http://wnymba.org/index.php%3Foption%3Dcom_content%26amp%3Bview%3Darticle%26amp%3Bid%3D769%3Aboard-meeting-thursday-june-18th%26amp%3Bcatid%3D70%3Anews%26amp%3BItemid%3D451
and thus gives a blank page (actually a "not found" page).

OK, that didn't work since even with the code tags, the escape codes get converted to the http equivalents. The point being is the escape codes get resovled when they are shown i a browser, but not when you are putting them into the address bar of a browser (or when JFBConnect tries to share the link).


To see what is happening, see the attached screenshot of what it trying to do.

Bottom line, I can't share articles onto facebook any more.

Any suggestions?
Last edit: 8 years 10 months ago by jsundqui.
The topic has been locked.
Support Specialist
8 years 10 months ago #53728 by alzander
We haven't seen that issue before. JFBConnect doesn't encode the URLs like that that I'm aware of and no other users are reporting this issue. We'll need to narrow down what may different about your site.

Can you let me know if you're using any SEO or SEF extensions for altering the URLs of your site or trying to improve your rankings? My only guess is that some plugin or other component is altering the standard URLs that Joomla creates when requested by us.

Beyond that, do you have any ideas as to when this started happening? Any clues as to what's changed on your site or when it used to work may help.

If that doesn't help, we may need to access the admin area of your site to investigate further.

Let us know about the above and we'll go from there.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
8 years 10 months ago #53778 by jsundqui
Thanks for getting back to me.

We do not have any SEO or SEF extensions or anything to improve our rankings (people find us through facebook, hence our interest in JFBConnect!).

I don't recall making any major changes to the website. I have updated Joomla from 3.4 to 3.4.1, but I can't recall if that is correlated to when this started happening.

Currently, to get around this problem I just post onto facebook with the link to the website post (though that defeats one of the purposes/features of JFBconnect) since I still want to drive traffic to the website which has richer content than facebook. And today, I noticed this odd behavior:

I wanted to post a link to this article:

wnymba.org/index.php?option=com_content&...d=70:news&Itemid=451

And when I did (basically typed the name of the article and pasted in the link), I got the same "not found" error on facebook (this is completely without JFBconnect).

When I tried again with this slightly different URL:

wnymba.org/index.php?option=com_content&...&catid=70&Itemid=451

(in other words removing ":news") it posted (although it did not provide a little box with a "preview") like other posts. So I am guessing this maybe some change at Facebook?

The facebook page is facebook.com/wnymba
The topic has been locked.
Support Specialist
8 years 10 months ago #53786 by alzander
I'm not sure what's caused the URL to be messed up. However, I ran the page you linked to above through the Facebook URL Debug Tool and clicked the "Fetch New Scrape Information" button. It properly re-scraped the page and the Like button works as expected.
developers.facebook.com/tools/debug/og/object/
So, the tag data is correct. It just seems to have been corrupted at some point. I'd recommend running any pages that are problematic through that tool to see if it fixes the issue and then monitor to see if the Open Graph data 'breaks' again in the future.

I hope that helps get you going, but if not, please let us know.

Thanks,
Alex
The topic has been locked.
Support Specialist
8 years 10 months ago #53789 by alzander
Just wanted to add an image of what the Like popup looks like, which shows its for the same/correct page as well:
File Attachment:
The topic has been locked.
Active Subscriptions:

None
8 years 10 months ago #53798 by jsundqui
Yes, it is working here again, too. There must have been some API change over at facebook that has since been reversed.

Note, I use Share rather than Like because I want it shared to the club homepage, not my personal home page. Share allows me to select sharing it to a page I manage.
The topic has been locked.
Support Specialist
8 years 10 months ago #53801 by mel
We're glad it seems to be resolved, but let us know if the behavior starts happening again.

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 10 months ago #54065 by jsundqui
Unfortunately, the behavior is happening again.

Article I want to promote: wnymba.org/index.php?option=com_content&...d=70:news&Itemid=451

What I see:
File Attachment:
The topic has been locked.
Support Specialist
8 years 10 months ago #54069 by alzander
There seems to be intermittent 'bad' responses from your server. I just went to the Facebook URL debugger and input the page you mentioned above with the following result:
File Attachment:

That is the cached data from 4 hours ago and is completely wrong.

I then clicked the "Fetch new scrape information" button and, voila:
File Attachment:

Everything looks right. I don't now why, 4 hours ago, Facebook got garbage from your site, but it seems to be fixed now.

I really don't have any answers for this, but the tags and everything I (and Facebook) see on your page *right now* are correct.

In the future, if you see this, run the page through the Facebook Debug Tool and see what happens. It may help narrow down when and what is going wrong.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
8 years 10 months ago #54073 by jsundqui
Thank you for the quick response. Yes it is working again.

This is a new website (I did the re-do this past winter) so old cruft should be gone, so I am surprised that it is getting errors. Yes, I have a lot of modules installed in this website, but it is a fresh install of joomla 3.x with updates since this past winter applied.
The topic has been locked.