Topic-icon After upgrading to v4.2 previous facebook comments and likes are gone

Active Subscriptions:

None
Since I upgraded to version 4.2, the entire comments and likes were reset and we can only see the new interaction.
The topic has been locked.
Support Specialist
Can you give me a link to a page that the comments and/or likes have been reset so we can see what's happening? We slightly modified the link generation to fix some other issues, and it seems to have affected a few other things. We've had 2 other reports of this (which isn't many), but are looking into a good solution.

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

None
www.sh-taim.com/we/efrat/item/23-post-postemit-posttrauma

This one had more than 40 likes and some comments...

It is in Hebrew, but I guess you can still track it...
The topic has been locked.
Support Specialist
Emanuel,
Thanks. I see the problem on your site. The open graph URL tag for the page you mention is coming through as:

www.sh-taim.com/we/efrat/item/23-post-po...-postemit-posttrauma

As you can see, the article title is in the title twice. Not sure why that's happening, but we're trying to recreate on a development site of ours as well as getting access to a user's site that's having this problem. The post below has 2 other users with similar issues:
www.sourcecoast.com/forums/jfbconnect/jf...the-wrong-url#p22419

If possible, can you Private Message me admin access to your site? If not, we'll continue trying to investigate the solution by trying to recreate it.

Thanks,
Alex
The topic has been locked.
Support Specialist
Emanuel,
Thanks for the Private Message. We made progress on debugging the issue, and actually found a solution in rolling back a change we made in the 4.2 release. However, something happened while we were editing a file, and now we can't access the site anymore.

Please edit the /libraries/sourcecoast/utilities.php file. At line 163, you'll see a function called "getStrippedUrl". Please replace the whole thing with the below:
static function getStrippedUrl() 
    { 
        $href = JURI::current(); 
        $juri = JURI::getInstance(); 
        // Delete some common, unwanted query params to at least try to get at the canonical URL 
        $juri->delVar('fb_comment_id'); 
        $juri->delVar('tp'); 
        $juri->delVar('notif_t'); 
        $juri->delVar('ref'); 
        $query = $juri->getQuery(); 

        if ($query) 
            $href .= '?' . $query; 
        return $href; 
    }
Something we put in there is causing the page to crash, so please replace the whole thing with the above.

That should get your site back up and running. I sincerely apologize for causing these issues!

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

None
Hi Alex,
Most important - the site is back (and the old comments and likes as well)!
Thanks!!!

This site crash was at very bad timing for us... just when we set a mini campaign to check an idea...
I was somewhere above the Atlantic ocean at that time, so the site was down for way too many hours until I landed,.
Yes, Murphy my close friend...

I suggest that you'll warn before you change anything in a live site. I made a backup before I gave you the access, but I'm not sure that everybody else will do that. And if you change anything, I believe that the administrator should monitor the changes in real time...

Anyway, no hard fillings here. I think that your support and willingness to solve problems immediately is superb!!!
Thanks again,
Emanuel.
The topic has been locked.
Support Specialist
Emanuel,
There's honestly never a good time for a site to go down. I definitely apologize, and agree with your assesment of making changes while the admin is aware. This is actually the first time a site has ever been taken offline due to our testing. The majority of the time, we can locate and fix issues without needing admin access, and when we do, we normally don't need to make code changes. The incorrect URL thing was simply something that needed to be done on-site though to narrow it down.. and then I screwed up.

Definitely glad it's back up and the URLs are correct. I've also extended your subscription from Aug 20th until December 31st as a courtesy.

Anyways, definitely keep us posted if anything else crops up, and we'll be working to get this change into the 4.2.2 release due out next week.

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

None
Thanks Alex.

Your support is one of the best I met in the Joomla extensions industry.

Emanuel.
The topic has been locked.
Support Specialist
Glad to hear you're happy, and sorry again for the troubles.

Best of luck, and let us know if you run into any other issues or have any feedback for our support or JFBConnect.

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

None
we are having the same issue with our site.
we upgraded from Joomla 1.5.21 with JFBConnect 1.5.21 to Joomla: 2.5.4 with JFBConnect 2.4.3 on 21st June

We only have new comments, all previous facebook comments have gone. The URLs are identical to the previous release.

Most of our pages have comments but here is one I am pretty sure had some:
fcp.co/final-cut-pro/tutorials/830-compo...cer-and-steve-martin
The topic has been locked.