Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/195.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.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 不使用Graph Api获取任何事件_Android_Facebook_Sdk_Facebook Graph Api V2.0 - Fatal编程技术网

Android 不使用Graph Api获取任何事件

Android 不使用Graph Api获取任何事件,android,facebook,sdk,facebook-graph-api-v2.0,Android,Facebook,Sdk,Facebook Graph Api V2.0,使用此代码获取事件:- 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());

使用此代码获取事件:-

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

它给了我一个错误:----


错误消息对此进行了解释

(#803)您请求的某些别名不存在:{event id}


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

我们可以获得在特定位置保存的所有事件的列表吗?
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}
new Request(session,"/{event-id}",null,HttpMethod.GET,new Request.Callback()