我在iPhone应用程序上工作,从不同的渠道获取事件并在地图上显示它们。 现在我尝试在我的数据库中抓取Facebook事件。 我提出此请求
SELECT name, venue, location, start_time, update_time FROM event WHERE update_time>1358294400
但它不起作用。 Facebook返回
{
"error": {
"message": "Error validating access token: Session has expired at unix time 1358528400. The current unix time is 1358761880.",
"type": "OAuthException",
"code": 190,
"error_subcode": 463
}
}
我如何通过update_time
获取活动?
提前致谢。
答案 0 :(得分:1)
我想你不能。自 -
WHERE子句必须包含可索引的列。这些列在表格中标有 * 。
和updated_time
不是可转位列。表eid
中只有name
和event
可编入索引。
因此,只需获取所有数据,然后根据updated_time