发送回复收件箱消息? [英] posting reply to inbox message?

查看:99
本文介绍了发送回复收件箱消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过向 / message_id / comments 发送POST请求来发送回复收件箱消息。这是发送回复邮件的正确方法吗?

I'm trying to post a reply to an inbox message by sending a POST request to /message_id/comments. Is this the correct way to send a reply to an inbox message ?

我收到以下错误:

   "error": {
      "type": "OAuthException",
      "message": "(#3) App must be on whitelist"
   }

令牌有一切可能的权限。

The token has every possible permission.

我是否要求我的应用程式加入白名单?如何做?

Do I have to ask that my app is added on a whitelist ? how to do so ?

我在javascript + jQuery中执行此操作:

I'm doing this in javascript+jQuery:

var params = {
    access_token: token
    , method: 'post'
    , message: 'hi'
};
$.getJSON('https://graph.facebook.com/$message_id/comments?callback=?', params, function(json) {

});


推荐答案

默认情况下,Facebook应用不允许发送消息代表用户。没有你缺少的权限。这是一个额外的级别,以防止垃圾邮件(超出提示用户谁)。你必须联系Facebook才能将你的应用程序列入白名单。我会尝试他们的开发人员组

Facebook apps by default aren't allowed to send messages on behalf of users. There is no permission you are missing. This is an extra level to prevent spam (beyond prompting the user who). You will have to contact Facebook to get your application whitelisted. I would try their developer group.

这篇关于发送回复收件箱消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆