Facebook API: What is the Max length of 'messa

2019-04-10 17:59发布

问题:

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