Facebook发送对话框:在说明中添加换行符 [英] Facebook send dialog: adding a linebreak in the description

查看:339
本文介绍了Facebook发送对话框:在说明中添加换行符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个网址,我必须向我的应用发送邀请:

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.aWebSite.com&
picture=http://www.aWebSite.com/im01068442.jpg&description=participar!&
redirect_uri=http://elsuperdt.com

我试图有一个换行包含在描述中,但我还没有找到一种方法。我如何做?

I'm trying to have a linebreak included within the description, but I just haven't found a way to do so. How do I do it?

推荐答案

我有同样的问题,最终放弃了。 Facebook似乎已经做了很大的努力,以避免让我们在描述中有任何破产。

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.

你可以做的一件事是添加& caption = first%20line这在标题和描述之间得到一条线。 (有一个很短的限制,多长时间的标题可以通过,如80个字符。)

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.)

更新:这不再适用于发送对话框。 feed 对话框

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

这篇关于Facebook发送对话框:在说明中添加换行符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆