Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 在多个好友上发布';2月6日改版后,s wall使用Facebook 3.0_Android_Facebook Batch Request - Fatal编程技术网

Android 在多个好友上发布';2月6日改版后,s wall使用Facebook 3.0

Android 在多个好友上发布';2月6日改版后,s wall使用Facebook 3.0,android,facebook-batch-request,Android,Facebook Batch Request,我发现我们可以使用批处理rqeuest在多个朋友的墙上发帖,我也尝试使用graph API发帖。但我遇到了以下错误。但我可以使用提要对话框向单个用户发帖。从2月6日起,Facebook不再允许我们使用graph API向某人的墙上发帖。那么,我如何使用用户批处理请求在朋友的墙上发帖呢墙 RequestBatch requestBatch = new RequestBatch(); for (final String requestId : requestIds) {

我发现我们可以使用批处理rqeuest在多个朋友的墙上发帖,我也尝试使用graph API发帖。但我遇到了以下错误。但我可以使用提要对话框向单个用户发帖。从2月6日起,Facebook不再允许我们使用graph API向某人的墙上发帖。那么,我如何使用用户批处理请求在朋友的墙上发帖呢墙

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());
                    }
                }));
            }          
{响应:响应代码:200,graphObject:null,错误:{HttpStatus: 403,错误代码:200,错误类型:OAutheException,错误消息:(#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());
                    }
                }));
            }          
使用的代码是

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的数组。请帮帮我,先谢谢你

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());
                    }
                }));
            }          
从2月6日起,Facebook不再允许我们使用graph API在某人的墙上发帖。那么,我如何使用用户批量请求在朋友的墙上发帖呢

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());
                    }
                }));
            }          
当然不是

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());
                    }
                }));
            }          
OAutheException,errorMessage:(#200)此应用程序已禁用向其他用户发布提要故事

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());
                    }
                }));
            }          

有什么不清楚的地方吗?

那么我如何使用批处理请求来发布这是我的问题,你不能,因为通过API发布到其他用户的墙壁已经不可能了。你不明白吗?好的。有没有其他方法可以在多个朋友的墙上张贴?没有。您所能做的就是多次调用提要对话框,让用户一次向一个朋友发布消息。感谢您的回复和时间。
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());
                    }
                }));
            }