TwitDoc
the EASY way to share your documents on twitter

METHODS: uploadFromURL

DEVELOPERS: If you are interested in integrating our TwitDoc API into your software, please send an API request to support [at] twitdoc [dot] com with a brief explanation of your software and how TwitDoc would be integrated. We'd love to work with you and appreciate your interest in our product.

uploadFromURL
http://twitdoc.com/api/api.asp?method=uploadFromURL&authorization_key=yourkeyvalhere&upFileURL=http://yourserver.com/dir1/filename.ext This method allows you to upload a file to TwitDoc and get back a shortURL to our viewer page. This method does NOT send a tweet to twitter. We accept the following file types: PDF, TXT, PS, RTF, EPUB, ODT, ODP, ODS, ODG, ODF, SXW, SXC, SXI, SXD, DOC, PPT, PPS, XLS, DOCX, PPTX, PPSX, XLSX, TIF, TIFF
Expects HTTP GET request. 

  - method              (required) - TwitDoc method name --> uploadFromURL
  - authorization_key   (required) - Partner's authorization key
  - upFileURL           (required) - URL to the file on your server that you want us to upload to TwitDoc


RESPONSES:
<?xml version="1.0" encoding="UTF-8"?>
<rsp status="ok">
<repos>scribd</repos>
<shorturl>http://twitdoc.com/123456</shorturl>
<user>@twitterUser</user>
</rsp>


<?xml version="1.0" encoding="UTF-8"?>
<rsp status="fail">
<err code="123" msg="Message detailing what went wrong." />
</rsp>

Copyright 2009-2024 | ADPAD INC. | Littleton - Colorado - USA | Developers/API