Hi i wrote a FQL query to fetch the news feeds which returns the results sometimes and returns empty result set most of the times.The weird part is the same query returns a proper result set while executing from Facebook Graph API Explorer tool. I don't understand why exactly the issue is happening leaving me without any clue. Here is the query what i am using
SELECT actor_id, app_id, attachment, attribution, comment_info, created_time, description, description_tags, likes, message, message_tags, place, post_id, share_count, source_id, tagged_ids, target_id, type, via_id, with_location, with_tags FROM stream WHERE (source_id = me() OR source_id IN (SELECT uid1 FROM friend WHERE uid2 = me()) ) AND (place OR type <> 237) ORDER BY created_time DESC LIMIT 300