문제

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.

도움이 되었습니까?

해결책

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?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top