I am grabbing friends' statuses using STREAM table and FQL. I want to get back ONLY one status per friend, but FQL doesn't support "normal" SQL operators like DISTINCT
. Any ideas how to make such a distinct based on actor_id
column?
my FQL:
"SELECT actor_id, message FROM stream WHERE filter_key in (SELECT filter_key FROM stream_filter WHERE uid=me() AND type=\'newsfeed\')"