我正在拼命地尝试获取具有纬度和经度的用户事件。我现在正在使用这个查询,但它返回一个空的结果集,我不知道为什么。
NSString *eventInfo = @"SELECT name, eid, venue.id, location, start_time, end_time from event WHERE eid IN (SELECT eid FROM event_member WHERE uid = me() AND rsvp_status='attending' OR rsvp_status='maybe'))";
NSString *placeInfo = @"SELECT page_id, name, latitude, longitude FROM place WHERE page_id IN (SELECT venue.id FROM #event)";
NSDictionary *multiQuery = [[NSDictionary alloc] initWithObjectsAndKeys: eventInfo, @"event", placeInfo, @"place", nil];
NSDictionary *queryParams = [NSDictionary dictionaryWithObjectsAndKeys: multiQuery, @"q", accessToken, @"access_token", nil];