Results 1 to 9 of 9

Thread: VB And Myspace?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    7

    Question VB And Myspace?

    Ok, So im trying to make an addon to one of my programs that checks your myspace, sending back a string telling you who the message is from, ect ect,

    but i have noooooooooooo clue about winsock or inet, so if someone could point me in the direction of a tutorial, it would be greatly appreciated.

    i found one, but it confused the livin bejesus out of me, had hardly any comments that were usefull. :-\

    thanks
    RJ Pasquale

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: VB And Myspace?

    Are you trying to check for new messages?

    I think MySpace requires you to login every time you visit so you'll need to do that first. And then parse the HTML to see if there are new messages, if there are, then go to the URL and parse the messages.

    For something like this I would use the Inet control. You could do it with Winsock but it would just take more time and more code.

    You'll need to know how to send POST/GET messages to a website using the inet control. This will allow you to login and get the HTML source to the pages.

    There is a lot of code for this on the internet and on these forums.

    If you need help with that let us know.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    7

    Re: VB And Myspace?

    I get the point of the things your saying, but i have not the slightest clue how i would put something like that into effect. Theres just a whole nother' world with this, ive made mail bombers with the inet control, but that was back in the vb5 days...but yea, all the help you could find would be ****in killer.

    Thanks again
    RJ

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: VB And Myspace?

    Can't help you with Inet, but make sure you check Myspace's terms & conditions, often sites have clauses prohibiting automated use such as this.

  5. #5
    Member
    Join Date
    Dec 2006
    Posts
    53

    Re: VB And Myspace?

    Thanks for the heads up DigiRev... RjPasquale: check out THIS
    Help me win cash, vote for my code: Random Quotes - Setting / Retrieving Cookies

  6. #6

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    7

    Re: VB And Myspace?

    thank you guys for all the help, however thats the same one i downloaded before and it confused the balls out of me.

  7. #7
    Lively Member Nerd-Man's Avatar
    Join Date
    Dec 2006
    Location
    India
    Posts
    119

    Re: VB And Myspace?

    i have made a easy access to my yahoo mail without typing my name and pass everytime i check my emails. so here is the code below:

    VB Code:
    1. Private Sub Form_Load()
    2.  WebBrowser1.Navigate ("http://edit.yahoo.com/config?login=" & ID & "&passwd=" & Pw & "&.done")
    3. End Sub

    what this above code does is login into my acc. and take me directly into the inbox without doing anything. all i do is double click the mail icon on my desktop. so what you will have to do is find out the login string of myspace and put that on your inet or winsock ctrl.

  8. #8
    Member
    Join Date
    Dec 2006
    Posts
    53

    Re: VB And Myspace?

    VB Code:
    1. ' Use the "POST" method to this URL with the following data [ email={email}&password={password}] where {email} is your email, and {password} is your password
    2. "http://login.myspace.com/index.cfm?fuseaction=login.process"
    3.  
    4. ' This takes you to your inbox (or the login screen if you haven't logged in yet)
    5. "http://messaging.myspace.com/index.cfm?fuseaction=mail.inbox"

    For more URL's, just start viewing the source of pages that lead you to the pages you are interested in. For example, if you want to know how to get to "page2", and "page1" links to it, view the source of "page1" and see how to get there.
    Help me win cash, vote for my code: Random Quotes - Setting / Retrieving Cookies

  9. #9
    Lively Member Nerd-Man's Avatar
    Join Date
    Dec 2006
    Location
    India
    Posts
    119

    Re: VB And Myspace?

    does the myspace login have a username and password field? i saw 2 packets is send at the time of myspace login... 1) POST /index.cfm?... 2) username which is the email and pass. so first he need to login. then only he can check message.

    Code:
    [email protected]&password=Password&ctl00%24Main%24SplashDisplay%24login%24loginbutton.x=37&ctl00%24Main%24SplashDisplay%24login%24loginbutton.y=10
    the 2nd part look like the above one where email is the login email of myspace and password is the login pass of myspace. so there will be two chunks... also i am not sure how to send post data through winsock as i am completely new in the field.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width