twitter.updateStatus

twitter.updateStatus is a simplification of the switchAbit post api for store and forward posting to twitter. This function mimics the Twitter api and can be used with existing Twitter libraries by changing the endpoint. User and password are passed using HTTP simple auth or can be passed via query. See the Twitter API Documentation for more information.

Endpoints

http://api.switchabit.com/twitter.updateStatus

https://api.switchabit.com/twitter.updateStatus

Arguments

ParameterValue
statusRequired. The new twitter status.
linkOptional. A hyperlink. This will be converted to a small url and appended to the post. The status may be truncated.
userOptional. Twitter screen name. This will override HTTP auth user.
passwordOptional. Twitter password. This will override HTTP auth password.

Returns

A switchAbit queue id. This is not the Twitter id.

Example

curl -uuser:password 'http://api.switchabit.com/twitter.updateStatus?status=hello+world'