Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 803
Luke Avatar asked Oct 24 '25 02:10

Luke


2 Answers

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.

like image 148
Eddy Chan Avatar answered Oct 26 '25 17:10

Eddy Chan


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

enter image description here

like image 38
Mayinx Avatar answered Oct 26 '25 17:10

Mayinx