Topic-icon Facebook autopost is not working well after Joomla to 3.8.1 with SSL

Active Subscriptions:

None
Dear Team,
I have a problem with content publish on facebook. It means sometimes it works when I unpublish and re-publish contents but it doesn't work after publish joomla content.
Current versions:
Joomla 3.8.2 + SSL (Let's Encrypt)
JFBConnect 7.2.2
PHP 5.6.26-74.0-56
MySql 5.6.26-74.0-56

Do you have any idea how I can fix this issue? I couldn't deal with it in the last 2 weeks. I autotuned JFBConnect many times, didn't help. It worked well till Joomla 3.7.5.
I switched some times this switc too: Disable SSL Certificate Validation It didn't help too.
The topic has been locked.
Support Specialist
Can you explain further about what you are attempting to do and what isn't working? Are you using a Channel to autopost content to Facebook? If so, is it going to a Page, Group or Profile?

If you unpublish content and the re-publish, it does work?

I'm just trying to understand the issue as much as I can. Any details you can provide will really help.

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

None
Yes, it's correct. I would like to autopost joomla contents from specific categories to Facebook as page.
These are timed contents. I have tried with direct publish immediately but didn't work as well. When I unpublish and re-publish then it works 100%. I needed to do this by immediate publish of the content as well. So maybe not the timed content is the problem.

This problem was not before 3.8 as I think but maybe somehow it connects to SSL. We use SSL for a while so hopefully not this is the case. I can give access in private message. I have checked Facebook API, it seems to perfect.
The topic has been locked.
Support Specialist
Thanks for the description. We're trying to recreate on our development systems, which will help narrow down and help fix the issue. We should have more details for you over the next few days.

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

None
Dear Alex, Thank you very much! Best regards, Andrew
The topic has been locked.
Support Specialist
Thanks for your patience while we investigate this. We've done quite a bit of testing and we don't think SSL is the issue. It actually looks like a change in how Joomla handles language string redirects.

The good news is that I think the issue should be easy to fix from our testing. If you're up for a quick code change on your site to test, we'd love to hear your feedback. If so, please edit the /libraries/sourcecoast/openGraphPlugin.php file. Around line 472, you should see:
if($sef->code == 303)
Update that to:
if($sef->code == 303 || $sef->code == 302)
Test that and let us know if it resolves the issue. If so, we'll absolutely include this in the next release.

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

None
Dear Alex,
I have tried this option but autopost still not works (I have tried article publish immediately and timed content too). It works always when I unpublish and republish the article.

I attached a screenshopt about my settings.

When I check "Social channels" then I see "Stream Test". I can not see the new article there after publish or timed content's auto publish. So the stream is not working well.

Do you have an other idea, please.

Best regards, Andrew
The topic has been locked.
Support Specialist
Andrew,

Please check your private messages for a code workaround that I sent you. Let us know if it solves the problem.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Dear Melissa,
Sorry for late response. It still not works. I tried 3 times.
Let me know when you have an other idea, please. I need this fixed. Is there anybody else with this problem?
Best regards, Andrew
The topic has been locked.
Support Specialist
This code fix resolved the other user that was having the same problem. Could you send me a private message with backend credentials and FTP credentials please?

-Melissa
The topic has been locked.