public class FbBotMillNetworkController extends Object
| Constructor and Description |
|---|
FbBotMillNetworkController() |
| Modifier and Type | Method and Description |
|---|---|
static void |
delete(Object input)
DELETEs a JSON string to Facebook.
|
static void |
delete(org.apache.http.entity.StringEntity input)
DELETEs a JSON string to Facebook.
|
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 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.
|
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 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 postThreadSetting(Object input)
input - the JSON data to send.public static void delete(org.apache.http.entity.StringEntity input)
input - the JSON data to send.public static void delete(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.