Facebook IN clause in FQL query

I have a big problem with Facebook FQL if I do

select message from stream where source_id=175102475936031 

I can get the correct data if I do this

 select message from stream where source_id IN(175102475936031,etc,etc,etc) 

I have empty JSON, why? is there an alternative to this choice? I need to read messages from several events.

+4
source share
1 answer

Is your problem resolved?

"IN" is a supported FQL function. I have tried this several times. Only need:

  • column indexable
  • must have permission to access data
  • data must be present for at least one column: P

    select a message from the stream where source_id IN (175102475936031, etc., etc., etc.)

"NOT IN" is not supported by the FQL function. Link: http://forum.developers.facebook.net/viewtopic.php?id=1420

+2
source

Source: https://habr.com/ru/post/1398794/


All Articles