Facebook send dialog: adding a linebreak in the description

后端 未结 6 760
无人共我
无人共我 2020-11-29 11:08

This is an URL I have to send an invitation to an app of mine:

https://www.facebook.com/dialog/send?app_id=MY_APP_ID&
name=hola&
link=http://www.aWeb         


        
相关标签:
6条回答
  • 2020-11-29 11:21

    You can use blanks that are not posted to facebook in the length of the feed so the line breaks.

    Or you just style your post by adding ".........." in the end of each line. This way people would maybe be more attracted to your post as they are eyecatching.

    0 讨论(0)
  • 2020-11-29 11:28

    I had the same issue and eventually gave up. Facebook seems to have gone to great lengths to avoid letting us have any linebreaks in the description.

    The one thing you can do is add a &caption=first%20line which gets you one linebreak between the caption and the description. (There's a pretty short limit on how long the caption can be though - something like 80 characters.)

    Update: this no longer works for send dialogs. It does still work for feed dialogs

    0 讨论(0)
  • 2020-11-29 11:30

    I tried center></center> and %0D%0A. Both worked... for a split second. You could see the breaks upon page load, and then, like evil magic, facebook took it away and it was all scrunched up. Too bad. I'm trying to share a daily schedule, which would look much better with line breaks.

    0 讨论(0)
  • 2020-11-29 11:45

    Try using <center></center> this will create a new line in Facebook dialog description.

    0 讨论(0)
  • 2020-11-29 11:46

    \n works in message but not in name parameter

    0 讨论(0)
  • 2020-11-29 11:46

    Try including %0D%0A in your description where you want the line break to be. This is the URL-encoded equivalent of a line break.

    0 讨论(0)
提交回复
热议问题