Delete
You can use the Delete activity to delete objects in the social graph, for example, delete a comment, or an unlike for an object.
General
The following table describes the configurations on the General tab of the Delete activity.
Field | Module Property? | Visual diff? | Description |
---|---|---|---|
Name | No | Yes | The name of the activity displayed in the process. The default value is Delete. |
Object | No | Yes | Select the type of object you want to delete from the
Object list. Four objects are available:
Post,
Comment,
Link, and
Other. If you select
Other, specify other objects by specifying the Object ID on the
Input tab. These objects must be published by the Publish activity earlier. Delete can be performed only on objects created by the plugin.
When this manual was written, information about permissions you might have to delete an object was available at http://developers.facebook.com/docs/authentication/permissions. The Delete activity deletes only those objects that have an ID. Objects that do not have an ID, the whole object, for example, is deleted if the permissions are set. |
Unlike this object | No | Yes | Select this check box to unlike an object. |
Input
The following table describes the input elements on the Input tab of the Delete activity.
Fault
The following table describes the error schema elements on the Fault tab of the Delete activity.
Output Item | Data Type | Description |
---|---|---|
FBPluginException | ||
msg | String | This error message is displayed when the Facebook plug-in captures an exception. |
msgCode | String | This error code is displayed when the Facebook plug-in captures an exception. |
FBConnectionException | ||
msg | String | This error message is displayed when the HTTP connection to Facebook is not available, or another connection problem that is unrelated to authorization exists. |
msgCode | String |
This error code is displayed when the HTTP connection to Facebook is not available, or another connection problem that is unrelated to authorization exists. |
FBOauthException | ||
msg | String | This error message is displayed when your token is invalid, expires, or you have no permission to retrieve or publish the information you want to retrieve or publish. |
msgCode | String | This error code is displayed when your token is invalid, expires, or you have no permission to retrieve or publish the information you want to retrieve or publish. |