|
msiTwitterPost |
( |
msParam_t * |
twittername, |
|
|
msParam_t * |
twitterpass, |
|
|
msParam_t * |
message, |
|
|
msParam_t * |
status, |
|
|
ruleExecInfo_t * |
rei | |
|
) |
| | |
- Description:
- Posts a message to twitter.com
- Module:
- URL
- Since:
- 2.3
- Author:
- Antoine de Torcy
- Date:
- 2009-07-23
- Note:
- This microservice posts a message on twitter.com, aka a "tweet". A valid twitter account name and password must be provided. Special characters in the message can affect parsing of the POST form and create unexpected results. Avoid if possible, or use quotes. This is intended for fun and for use in demos. Since your twitter password is passed unencrypted here, do not use this with a twitter account you do not wish to be compromised. Or if you do, change your password afterwards.
- Example Usage:
- See clients/icommands/test/rules3.0/
- Parameters:
-
[in] | twittername | - Required - a STR_MS_T containing the twitter username. |
[in] | twitterpass | - Required - a STR_MS_T containing the twitter password. |
[in] | message | - Required - a STR_MS_T containing the message to post. |
[out] | status | - An INT_MS_T containing the status. |
[in,out] | rei | - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation. |
- Session Variables Used:
- None
- Session Variables Modified:
- None
- iCAT Attributes Used:
- None
- iCAT Attributes Modified:
- None
- Side Effect:
- None
- Returns:
- integer
- Return values:
-
- Precondition:
- None
- Postcondition:
- None
- See also:
- None
Definition at line 277 of file ftpMS.c.
|