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

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -