Facebook API: What is the Max length of 'message' on wall?

独自空忆成欢 提交于 2019-12-21 20:24:56

问题


I've scoured the Facebook documentation and I can't find the maximum length that can be passed to the Facebook 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.

Thanks for your assistance,

Luke


回答1:


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.




回答2:


According to this Mashable article the max length of Facebook status updates is 63,206 characters...



来源:https://stackoverflow.com/questions/7141142/facebook-api-what-is-the-max-length-of-message-on-wall

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!