<< Back to Twitvid API Documentation
createPlaylist
Use this method to create a playlist container that you can add videos to.
URL:
http://im.twitvid.com/api/createPlaylist
Formats:
xml, json
HTTP Method:
POST
Requires Authentication:
true
Parameters:
If passing in credentials, you must supply twitter username and password. You can not pass token if passing in credentials:
{
- username: Required. Your Twitter username.
- password: Requred. Your Twitter password.
}
else If passing in Authentication Token from authenticate, you can not pass the username and password:
{
- token: Required. The Authentication Token
}
- playlistName: Optional. Provide a playlist name that will help you identify this playlist
- format: Optional. Select the return type (xml by default)
Usage Notes:
- Either pass Twitter username and password, or pass token from authenticate. These are required for authentication.
Response:
XML example:
<?xml version='1.0' encoding='UTF-8'?>
<rsp status='ok'>
<status_id>1111</status_id>
<user_id>TwitUsername</user_id>
<playlist_id>143YZ</playlist_id>
<playlist_url>http://twitvid.com/143YZ</playlist_url>
</rsp>
JSON example:
{"rsp":"ok",
"status_id":"1111",
"user_id":"TwitUsername",
"playlist_id":"143YZ",
"playlist_url":"http://twitvid.com/143YZ"}
<< Back to Twitvid API Documentation
Comments (0)
You don't have permission to comment on this page.