Facebook API: What is the Max length of 'messa

2019-04-10 18:23发布

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

2条回答
在下西门庆
2楼-- · 2019-04-10 18:30

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.

查看更多
ゆ 、 Hurt°
3楼-- · 2019-04-10 18:31

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

enter image description here

查看更多
登录 后发表回答