public class FbBotMillNetworkController extends Object
| Constructor and Description |
|---|
FbBotMillNetworkController() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteMessengerProfile(Object input)
DELETEs a JSON string as a Facebook's Messenger Profile.
|
static void |
deleteMessengerProfile(org.apache.http.entity.StringEntity input)
DELETEs a JSON string as a Facebook's Messenger Profile.
|
static void |
deleteThreadSetting(Object input)
DELETEs a JSON string as a Facebook's Thread Setting.
|
static void |
deleteThreadSetting(org.apache.http.entity.StringEntity input)
DELETEs a JSON string as a Facebook's Thread Setting.
|
static DailyUniqueActiveThreadCounts |
getDailyUniqueActiveThreadCounts()
GETs the daily unique active thread counts.
|
static DailyUniqueConversationCounts |
getDailyUniqueConversationCounts()
GETs the daily unique conversation counts.
|
static FacebookUserProfile |
getUserProfile(String userId)
Method used to retrieve a
FacebookUserProfile from an ID using
the GET method. |
static void |
postFormDataMessage(String recipient,
AttachmentType type,
File file)
POSTs a message as a JSON string to Facebook.
|
static void |
postJsonMessage(Object input)
POSTs a message as a JSON string to Facebook.
|
static void |
postJsonMessage(org.apache.http.entity.StringEntity input)
POSTs a message as a JSON string to Facebook.
|
static MessengerCode |
postMessengerCode(Object input)
POSTs a messenger code as a JSON string to Facebook.
|
static MessengerCode |
postMessengerCode(org.apache.http.entity.StringEntity input)
POSTs a messenger code as a JSON string to Facebook.
|
static void |
postMessengerProfile(Object input)
POSTs a messenger profile as a JSON string to Facebook.
|
static void |
postMessengerProfile(org.apache.http.entity.StringEntity input)
Post messenger profile.
|
static void |
postThreadSetting(Object input)
POSTs a thread setting as a JSON string to Facebook.
|
static void |
postThreadSetting(org.apache.http.entity.StringEntity input)
POSTs a thread setting as a JSON string to Facebook.
|
static UploadAttachmentResponse |
postUploadAttachment(Object input)
POSTs an attachment as a JSON string to Facebook.
|
static UploadAttachmentResponse |
postUploadAttachment(org.apache.http.entity.StringEntity input)
POSTs an attachment as a JSON string to Facebook.
|
String |
toString() |
public static FacebookUserProfile getUserProfile(String userId)
FacebookUserProfile from an ID using
the GET method.userId - the ID of the user to retrieve.public static DailyUniqueActiveThreadCounts getDailyUniqueActiveThreadCounts()
public static DailyUniqueConversationCounts getDailyUniqueConversationCounts()
public static void postJsonMessage(org.apache.http.entity.StringEntity input)
input - the JSON data to send.public static void postJsonMessage(Object input)
input - the JSON data to send.public static void postThreadSetting(org.apache.http.entity.StringEntity input)
input - the JSON data to send.public static void postMessengerProfile(org.apache.http.entity.StringEntity input)
input - the inputpublic static void postThreadSetting(Object input)
input - the JSON data to send.public static void postMessengerProfile(Object input)
input - the JSON data to send.public static UploadAttachmentResponse postUploadAttachment(org.apache.http.entity.StringEntity input)
input - the JSON data to send.public static UploadAttachmentResponse postUploadAttachment(Object input)
input - the JSON data to send.public static MessengerCode postMessengerCode(org.apache.http.entity.StringEntity input)
input - the JSON data to send.public static MessengerCode postMessengerCode(Object input)
input - the JSON data to send.public static void deleteThreadSetting(org.apache.http.entity.StringEntity input)
input - the JSON data to send.public static void deleteThreadSetting(Object input)
input - the data to send.public static void deleteMessengerProfile(org.apache.http.entity.StringEntity input)
input - the JSON data to send.public static void deleteMessengerProfile(Object input)
input - the data to send.public static void postFormDataMessage(String recipient, AttachmentType type, File file)
recipient - the recipienttype - the typefile - the fileCopyright © 2017 BotMill. All rights reserved.