public class UploadApi extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static UploadAttachmentResponse |
uploadAttachment(AttachmentType attachmentType,
String attachmentUrl)
Method to upload an attachment to Facebook's server in order to use it
later.
|
public static UploadAttachmentResponse uploadAttachment(AttachmentType attachmentType, String attachmentUrl)
attachmentType - the type of attachment to upload to Facebook. Please notice
that currently Facebook supports only image, audio, video and
file attachments.attachmentUrl - the URL of the attachment to upload to Facebook.Copyright © 2017 BotMill. All rights reserved.