Facebook API:墙上的“消息”的最大长度是多少? [英] Facebook API: What is the Max length of 'message' on wall?

查看:114
本文介绍了Facebook API:墙上的“消息”的最大长度是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经浏览了Facebook文档,找不到可以传递给Facebook API的最大长度?

I've scoured the Facebook documentation and I can't find the maximum length that can be passed to the Facebook API?

如果我传递一个大值使用AJAX和使用PHP SDK的API,我没有收到错误或成功的消息。 (和墙上没有信息)。

If I pass a large value to the API using AJAX and using the PHP SDK, I'm getting neither and error or success message. (and no message on the wall).

我想限制用户正确的长度,以避免任何问题。

I'd like to restrict the user to the correct length to avoid any problems.

感谢您的帮助,

Luke

推荐答案

p>如果邮件是状态更新(即,您不包括附件或操作链接),则最多可包含420个字符。否则,如果帖子包含附件或操作链接,则该邮件最多可包含10,000个字符。

If the message is a status update (that is, you're not including an attachment or an action link), it can contain up to 420 characters. Otherwise, if the post contains an attachment or action link, the message can contain up to 10,000 characters.

这篇关于Facebook API:墙上的“消息”的最大长度是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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