未使用 Graph Api 获取任何事件

Not fetching any events using Graph Api

使用此代码获取事件:-

new Request(session,"/{event-id}",null,HttpMethod.GET,new Request.Callback() {
           public void onCompleted(Response response) {
            /* handle the result */
           System.out.println("Result: " + response.toString());
         }
      }).executeAsync();
   }
});

权限:---

authButton.setReadPermissions(Arrays.asList("user_location", "user_birthday", "user_likes","user_events","read_stream"));

它给了我错误:----

I/System.out﹕ Result: {Response:  responseCode: 404, graphObject: null, error: {HttpStatus: 404, errorCode: 803, errorType: OAuthException, errorMessage: (#803) Some of the aliases you requested do not exist: {event-id}}, isFromCache:false}

错误消息解释了它

(#803) Some of the aliases you requested do not exist: {event-id}

new Request(session,"/{event-id}",null,HttpMethod.GET,new Request.Callback() 

应该有一个实际的事件 ID,或者至少有一个保存事件 ID 值的变量。