0

我在这里发现我们可以使用 Batch rqeuest 在多个朋友的墙上发帖,我尝试使用图形 API 这样做。但我收到了以下错误。但我可以通过提要对话框发布给单个用户。截至 2 月 6 日 Facebook不再允许我们使用图形 API 在某人的墙上发帖。那么我如何使用批量请求在朋友的墙上发帖。

{Response: responseCode: 200, graphObject: null, error: {HttpStatus: 403, errorCode: 200, errorType: OAuthException, errorMessage: (#200) 此应用程序禁用向其他用户发布动态消息}, isFromCache:false}

使用的代码是

RequestBatch requestBatch = new RequestBatch();
            for (final String requestId : requestIds) {
                requestBatch.add(new Request(Session.getActiveSession(), 
                        requestId+ "/feed", postParams, HttpMethod.POST, new Request.Callback() {
                    public void onCompleted(Response response) {
                        Log.e("Response", ""+response.toString());
                    }
                }));
            }          

其中 requestIds 是 id 数组。请帮助我。在此先感谢。

4

1 回答 1

0

截至 2 月 6 日,Facebook 不再允许我们使用图形 API 在某人的墙上发帖。那么我如何使用批量请求在朋友的墙上发帖。

当然,一点也不。

OAuthException, errorMessage: (#200) 此应用程序禁用向其他用户发布动态消息

有什么可能不清楚的?

于 2013-02-15T11:17:22.443 回答