Question

I have found here that we can use Batch rqeuest to post on multiple friend's wall and I have tried to do so using graph API.But I got the following error.But I can post with feed dialog to single user.As of Feb 6th Facebook no longer allows us to post to someone's wall using the graph API.Then How can I user Batch request to post on friend's wall.

{Response: responseCode: 200, graphObject: null, error: {HttpStatus: 403, errorCode: 200, errorType: OAuthException, errorMessage: (#200) Feed story publishing to other users is disabled for this application}, isFromCache:false}

The code used is

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

where requestIds is array of ids. Please help me.Thanks in advance.

Was it helpful?

Solution

As of Feb 6th Facebook no longer allows us to post to someone's wall using the graph API.Then How can I user Batch request to post on friend's wall.

Not at all, of course.

OAuthException, errorMessage: (#200) Feed story publishing to other users is disabled for this application

What is possibly unclear about that?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top