【问题标题】:What is maximum message length for Facebook wall postFacebook墙贴的最大消息长度是多少
【发布时间】:2012-07-31 08:22:21
【问题描述】:

我在 facebook 墙贴上分享我网站上的消息。该消息的最大长度应该是多少?

【问题讨论】:

    标签: facebook-graph-api sharing facebook-wall


    【解决方案1】:

    它的长度似乎是 63206 个字符。

    http://www.zdnet.com/blog/facebook/facebook-increases-status-update-character-limit-to-63206/5754

    与 Graph-API 相关,以下是已知的限制:

    姓名:

    {
      "error": {
        "message": "(#100) name parameter cannot be longer than 1000 characters.", 
        "type": "OAuthException", 
        "code": 100
      }
    }
    

    说明:

    {
      "error": {
        "message": "(#100) caption parameter cannot be longer than 1000 characters.", 
        "type": "OAuthException", 
        "code": 100
      }
    }
    

    链接:

    {
      "error": {
        "message": "(#100) link too long", 
        "type": "OAuthException", 
        "code": 100
      }
    }
    

    【讨论】:

      【解决方案2】:

      如果消息是状态更新(也就是说,您不包括附件或操作链接),它最多可以包含 420 个字符。否则,如果帖子包含附件或操作链接,则消息最多可包含 10,000 个字符。

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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-04-03
        • 1970-01-01
        • 1970-01-01
        • 2010-11-20
        • 1970-01-01
        • 2016-01-23
        相关资源
        最近更新 更多