
Record your voice online and share your voice recording on twitter with “Chir.ps”
You can click on the record button and start to record your voice over the microphone.
Chirps API:
The Chirps API allows other developers and partners to upload and post audio so that audio can be shared on Twitter easily through other apps. The API is a simple way to post audio files to Chir.ps. The API methods are documented below and can be called at:
http://chir.ps/api/methodName
uploadAndPost
Processes the audio file and posts it to Chir.ps, along with Twitter.
Params (These should be formatted as multipart/form-data parameters)
audio_file (required): The audio file.
username (required): the user’s Twitter username.
password (required): the user’s Twitter password.
message (optional): message to post along with the url.
upload
Processes the audio file and posts it to Chir.ps. This will not be sent to Twitter.
Params (These should be formatted as multipart/form-data parameters)
audio_file (required): The audio file.
username (required): the user’s Twitter username.
password (required): the user’s Twitter password.
status
Get the status of a chirp. This may be used as a POST request or a GET request. For the POST request:
Params (These should be formatted as multipart/form-data parameters)
id (required): The id of the chirp file.
For the GET request, use the following format:
http://chir.ps/api/status/ID
Responses
Each method below will return an xml response with the results of the response. Each method has a sample response below. In addition to XML, JSON is also supported by adding ‘.json’ to the end of the url.
http://chir.ps/api/uploadAndPost — Returns XML
http://chir.ps/api/uploadAndPost.json — Returns JSON
Successful Response
This a sample xml response for a sucessful request
<?xml version=”1.0″ encoding=”UTF-8″?>
<rsp>
<status></status>
<status_message></status_message>
<descrption>sample2</descrption>
<id>x</id>
<listen_count>0</listen_count>
<lat></lat>
<long></long>
</rsp>
Error Response
This is a sample error response when the Twitter authorization is invalid.
<?xml version=”1.0″ encoding=”UTF-8″?>
<rsp>
<error>
<code>4100</code>
<message>Invalid Twitter username or password</message>
</error>
</rsp>
Read More: chir.ps
Related posts:
- Record a sketch with or without voice, Sketchast
- Twitvid.com Lets You Post Video’s From iPhone 3Gs To Twitter
- “The Flash Card Machine” Create Study And Share Online Flash Cards
- Free Outgoing Calls From Gizmo5 Through Google Voice
- Software “Vlingo” Translates Your Voice Into Text in Mobiles and iPhones
