I'm messing around with FQL, and I have this query:
SELECT created_time, attachment, message FROM stream WHERE source_id = me() LIMIT 1000
which returns 1000 results, most not relevant to me. I'd like to filter, for example, on MESSAGE IS NOT NULL. Is that (or something equivalent) possible with FQL?
Just adding AND message
to the WHERE clause works as well – an empty value is considered “false” by FQL.
Add type
to the SELECT
clause and in the WHERE
clause add AND type > 0
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With