Help Me Plz

Discussion in 'Visual Basic .NET' started by speedupto1mbps, Sep 23, 2010.

  1. speedupto1mbps

    speedupto1mbps Newbie

    Joined:
    Aug 21, 2010
    Messages:
    48
    Likes Received:
    6
    Location:
    In Hell
     
  2. speedupto1mbps

    speedupto1mbps Newbie

    Joined:
    Aug 21, 2010
    Messages:
    48
    Likes Received:
    6
    Location:
    In Hell
    is any one can help me on this???
     
  3. BugFixed

    BugFixed Junior Member

    Joined:
    Sep 24, 2010
    Messages:
    130
    Likes Received:
    40
    Use Webbrowser to do that (IE engine).
     
  4. crashed

    crashed Senior Member

    Joined:
    Aug 13, 2008
    Messages:
    958
    Likes Received:
    1,201
    Occupation:
    Guru-slayer
    Location:
    Behind the VPN...
    Why not just parse the html and browse to the url?

    Look at the HttpRequest class
     
  5. energy

    energy Newbie

    Joined:
    Dec 18, 2008
    Messages:
    32
    Likes Received:
    2
    PHP:
     Dim myProxy As New WebProxy(""1080)
      
    Dim req As WebRequest WebRequest.Create("")
                    
    req.Proxy myProxy
                    req
    .Timeout 2000
                    Dim resp 
    As WebResponse req.GetResponse()

                    
    Dim s As Stream resp.GetResponseStream()
                    
    Dim sr As StreamReader = New StreamReader(sEncoding.ASCII)
                    
    Dim doc As String sr.ReadToEnd
    Do something like this, then doc contains the html page, i like to split it by line, however you can just search for the start and end of your 'next' url.
     
    Last edited: Sep 29, 2010
  6. cyrix

    cyrix Junior Member

    Joined:
    Sep 19, 2008
    Messages:
    179
    Likes Received:
    61
    Occupation:
    Full Time Internet Marketer\Developer
    Location:
    United States
    I'm with crashed. I would use HttpWebRequest along with a 3rd part DOM parser. HtmlAgilityPack is a good one, allows you to use xpath queries to easily locate your elements. Good luck man!
     
  7. energy

    energy Newbie

    Joined:
    Dec 18, 2008
    Messages:
    32
    Likes Received:
    2
    Not sure what you're going to do with pages and pages of twitter posts.
     
  8. crepito

    crepito Junior Member

    Joined:
    Oct 5, 2008
    Messages:
    145
    Likes Received:
    28
    Location:
    Portugal
    How it should be done properly:
    Just sniff what the browser sends to the server when u click the button and emulate the same behaviour using httprequests/sockets.

    If u lack the knowledge to the this way, you can use the webBrowser component, get the link and send a click() event to it. There are many examples on the web on how to do this. google is your friend