facebook4j.api
Interface ConversationMethods

All Known Subinterfaces:
Facebook

public interface ConversationMethods


Method Summary
 String answerConversation(String conversationId, String conversation)
          Answer conversation.
 Conversation getConversation(String conversationId)
          Returns a single conversation.
 Conversation getConversation(String conversationId, Reading reading)
          Returns a single conversation.
 InboxResponseList<Conversation> getConversations()
          Returns the conversations of the current page.
 InboxResponseList<Conversation> getConversations(Reading reading)
          Returns the conversations of the current page.
 InboxResponseList<Conversation> getConversations(String pageId)
          Returns the conversations of a page.
 InboxResponseList<Conversation> getConversations(String pageId, Reading reading)
          Returns the conversations of a page.
 

Method Detail

getConversations

InboxResponseList<Conversation> getConversations()
                                                 throws FacebookException
Returns the conversations of the current page.

Returns:
conversations
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
Page / Conversations - Facebook Developers

getConversations

InboxResponseList<Conversation> getConversations(Reading reading)
                                                 throws FacebookException
Returns the conversations of the current page.

Parameters:
reading - optional reading parameters. see Graph API#reading - Facebook Developers
Returns:
conversations
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
Page / Conversations - Facebook Developers

getConversations

InboxResponseList<Conversation> getConversations(String pageId)
                                                 throws FacebookException
Returns the conversations of a page.

Parameters:
pageId - the ID of a page
Returns:
conversations
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
Page / Conversations - Facebook Developers

getConversations

InboxResponseList<Conversation> getConversations(String pageId,
                                                 Reading reading)
                                                 throws FacebookException
Returns the conversations of a page.

Parameters:
pageId - the ID of a page
reading - optional reading parameters. see Graph API#reading - Facebook Developers
Returns:
conversations
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
Page / Conversations - Facebook Developers

getConversation

Conversation getConversation(String conversationId)
                             throws FacebookException
Returns a single conversation.

Parameters:
conversationId - the ID of the conversation
Returns:
conversation
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
Conversation - Facebook Developers

getConversation

Conversation getConversation(String conversationId,
                             Reading reading)
                             throws FacebookException
Returns a single conversation.

Parameters:
conversationId - the ID of the conversation
reading - optional reading parameters. see Graph API#reading - Facebook Developers
Returns:
conversation
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
Conversation - Facebook Developers

answerConversation

String answerConversation(String conversationId,
                          String conversation)
                          throws FacebookException
Answer conversation.

Parameters:
conversationId - the ID of the conversation
conversation - comment text
Returns:
The new conversation ID
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
Conversation - Facebook Developers


Copyright © 2019. All rights reserved.