获取崩溃尝试在 android 中访问节点类型(用户)上不存在的字段(上下文)

Getting the crash Tried accessing nonexisting field (context) on node type (User) in android

突然间,我在这段正在运行的生产代码上崩溃了。可能是什么原因造成的

我正在使用 Facebook 图 api

com.facebook.android:facebook-android-sdk:[4,5)

我遇到崩溃的代码

Bundle params = new Bundle();
            params.putString("fields", "context.fields(mutual_friends)");
            new GraphRequest(AccessToken.getCurrentAccessToken(), "/" + userProfileInfoModel.getFacebookId(), params, HttpMethod.GET,
                    new GraphRequest.Callback() {
                        public void onCompleted(GraphResponse response) {
                            facebookFriendsTagId.setText("");
                            fbFriendsApiCallForOtherFriends(response);
                        }
                    }
            ).executeAsync();

错误:

{Response:  
responseCode: 400, 
graphObject: null, 
error: {
HttpStatus: 400, 
errorCode: 100, 
subErrorCode: -1, 
errorType: OAuthException, 
errorMessage: (#100) Tried accessing nonexisting field (context) on node type (User)}}

截至 2018 年 4 月 23 日

Mutual Friends
The Mutual Friends API is no longer available.

https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#4-23-2018_6