Prepare semantic information which may be included when posting. This information may be added into the message as metadata or annotations according to targeted social network. See Micromessage analysis for a full list of returned information.
Prepare annotations is currently only available for Twitter and returns annotations compatible with statuses/update call.
https://api.semiocast.com/1/prepare/twitter.format
Output in JSON
1 call per request (read API levels for more information).
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| status | Yes | string | Posted text. |
| location | No | string | User location when posting. |
Read Errors for general information about error messages and interpretation of returned HTTP status codes.
In case of success, metadata or annotations to be sent when posting.
Twitter allows user to add annotations when posting a message. Annotations returned by Semiocast API is compatible with Twitter annotations format. Before posting a message on Twitter, post it to Semiocast API and associate returned result to the annotations parameter.
This returns a prepared annotation that should look similar to:
Then you can use this prepared annotation to post on Twitter: