1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Click Twitter link (.vbs)

Discussion in 'General Programming Chat' started by drstew, Oct 18, 2011.

  1. drstew

    drstew Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 5, 2008
    Messages:
    533
    Likes Received:
    148
    Gender:
    Male
    Location:
    DownUnder
    Home Page:
    I'm trying to make a .VBS script to click on a link from a Twitter tweet.

    For example twitter.com/NBA, you'll find any bit.ly link there.

    I understand using:

    Code:
    objExplorer.Document.All.Item("button_ID").Click
    But for Twitter the link doesn't have an "ID"
    Code:
    <a href="http://t.co/idQGOcQK" data-expanded-url="http://bit.ly/qsxUQC" 
    title="http://bit.ly/qsxUQC/" target="_blank" rel="nofollow" class="twitter-timeline-
    link" data-ultimate-url="http://bit.ly/qsxUQC/">bit.ly/qsxUQC</a>
    Any ideas?