twitvid

 

Twitvid API Method: getid

Page history last edited by Dmitry Bezborodov 5 mos ago

<< Back to Twitvid API Documentation

 

getId

Use this method to obtain a unique id for a video upload. To be used in conjunction with uploadOrResume

 

URL:

http://im.twitvid.com/api/getId

 

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

}

  • 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>

               <media_id>ZZ83F</media_id> 

          </rsp>

 

          JSON example:

          {"rsp":"ok",

          "status_id":"1111",

          "user_id":"TwitUsername", 

          "media_id":"ZZ83F"}

 

<< Back to Twitvid API Documentation 

Comments (0)

You don't have permission to comment on this page.