vb.netvisual-studio-2010twitpicpastebin

Contacting another website via program?


I know the title isn't very elaborate, but I have tried this multiple times (to figure out how) but I could never find out how to do so. I want to do stuff like upload a "paste" to pastebin.com, upload a picture to twitpic.com, upload a file to rapidshare.com, etcetera.

How would I do so? Thanks!

(Visual Basic 2010 Express | Windows 7 Ultimate)


Solution

  • I conscious that Visual Basic 2010 express will have some way to interact with the server side. If you couldn't find you need to change the language.

    To post in twitpic you need to use their API givne in the following URL.

    http://twitpic.com/api.do

    let's say

      <form action="http://twitpic.com/api/uploadAndPost">
    <input name="media"></input> 
    <input name="username"></input> 
    <input name="password"></input> 
    <input name="message"></input> 
    </form>