1
我使用取用戶的事件,該代碼從Facebook:FB.Data.query具有更好的性能
var query = FB.Data.query("select eid,name,start_time,location,venue,pic_small,pic_big,description from event WHERE eid IN (SELECT eid FROM event_member WHERE uid={0}) AND start_time >= now() ORDER BY start_time LIMIT 10",
uid);
query.wait(function(rows) {
...
}
但它是非常緩慢的。有什麼方法可以獲得更好的表現嗎?
感謝