ios - Conversation with a specific user -


How can I get a specific user's conversation from my inbox using a user's UID? For example: if I want to talk with UID = 786758454 and user X with me?

Select something like

  select message_id, thread_id, author_id, body, created_time, viewer_id FROM message where thread_id IN (selection thread_ID, topic, folders from folder_ id = 0) and author_id = 'user x uid' created by ORDER DESC LIMIT 0,25    

You need both User ID User X UID and your UID Try to use this fql query:

  select message_id, thread_id, author_id, body, created_time, viewer_id From the message where thread_id IN ( Select from folder yag folder_id = 0) and (author_id = 'user X')   

Hope this can solve your problem.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -