5

How can I insert a line break in an IFTTT recipe I am using to send Favorited Tweets to Facebook? Right now everything just runs together in one paragraph and looks very cluttered. Here's the recipe:

Dave favorited this tweet<br>
{{Text}} (@{{UserName}})<br>
{{LinkToTweet}}

I have tried using the "<br>" tag, but IFTTT just ignores it (or perhaps Facebook is ignoring it?).

3
  • You might try \n which is the js equivalent - this post also seems relevant webapps.stackexchange.com/questions/44775/… Jun 2, 2016 at 18:08
  • Yea, I saw that post, but it was ambivalent since the guy's solution didn't seem to jive with his code (a "br" tag outside of the "embed" tags). I'll try the "\n." Thanks Jun 2, 2016 at 18:40
  • How do I use the java "\n"? Would it be like "Dave favorited this tweet \n"? Jun 2, 2016 at 18:57

4 Answers 4

4

I entered

A human favorited a tweet<br>
{{Text}} (@{{UserName}})<br>
{{LinkToTweet}}

and got the following on FB. Seems to work. enter image description here

1

For Facebook Applets

In Facebook, it requires two whitespace "padding" for linebreaks to display properly.

<br>&nbsp;<br>&nbsp;<br>

Adding the the code above between two paragraphs you intend to separate produces an empty line between two paragraphs. E.g.

This is paragraph one.

This is paragraph two.

This code inserts Paragraph 2 in the next line immediately, without an empty line in between:

<br>&nbsp;<br>
-1

Here's my current code: enter image description here

And, here's the result I'm seeing: enter image description here

I don't think the "<br>" tags are working. I doubled up on them so there should be a blank line and there is not (Note: I also added quotes around the Text tag after this latest post).

-2

You need change encoding of txt file to UTF for
tags to work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.