Topic-icon Facebook post with line-break

Active Subscriptions:

None
5 years 2 months ago - 5 years 2 months ago #65017 by [email protected]
JFB Connect works ok, but our customer isn't statisfied (enough) yet. The Facebook posts they wrote have line breaks (as you can see in the attached Facebook-2.png
www.sourcecoast.com/images/agorapro/atta.../mini_facebook-2.png

With JFB Connect the posts look like the attached Facebook-1.png (the image is missing because in the test environment there are no images)
www.sourcecoast.com/images/agorapro/atta.../mini_facebook-1.png

If I understand one of you previous posts correctly it's possible to post something with the line breaks. I've tried a normal text like "blah n blah" in the text area of an article. I've tried {SCOpenGraph description=blah n blah} and the text filters in Joomla are off. But none of these two posts like in the image Facebook-2.png. Maybe I'm doing it in the wrong place or with the wrong syntax? Is possible anyhow?
Last edit: 5 years 2 months ago by [email protected].
The topic has been locked.
Support Specialist
5 years 2 months ago #65026 by mel
Replied by mel on topic Facebook post with line-break
Looking at our code, it strips out line breaks and HTML/php code. If you pass HTML tags to Facebook, they'll be posted as plain text. However, I do notice that if you do a manual post from the front-end and put a carriage return, it will show up in the post. We'll have to investigate improving our tag stripping to do the carriage returns properly.

Also, I wanted to note, if you're using the Autoposting feature to post to FB, it currently uses the article text to generate the auto-post description (not the og:description on the page). We have plans to improve this, but for now setting the SCOpenGraph tag for description won't update the autopost text.

In short, Alex and I need to look into this more on our side.

-Melissa
The topic has been locked.