Sign in to follow this  
Followers 0

Clicking a link thats tweeted?

1 post in this topic

#1 ·  Posted (edited)

Okay iv been trying to figure this out on my own for a few days now with no previel.

So what i want to do is load a twitter page and click a link matching a regex string.

or somthing similar.

What are my options? iv seached the forums n tried to adapt some examples there but nothing has worked.

I know its possible in as my friend is using it in his code how would i do this in autoit.ill see if i can find the code for VB n see if you can convert it

This Regex matches the links i want to click. -[a-zA-Z0-9]/[a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9]

html Text for link is embeded in <strong>


Here is An Example of the <a> Tag.

<a data-ultimate-url="[url=""][/url]" href="[url="view-source:"][/url]" data-expanded-url="[url=""][/url]" title="[url=""][/url]" target="[url=""]_blank[/url]" rel="[url=""]nofollow[/url]" class="[url=""]twitter-timeline-link[/url]"><strong></strong>/l/1uvG4</a>

Here is the full <p> Tag.

<p class="js-tweet-text">Browse the BEST Local <a href="/#%21/search/%23Jobs" title="#Jobs" class="  twitter-hashtag pretty-link" data-query-source="hashtag_click"><s>#</s><b>Jobs</b></a> for FREE. The Best <a href="/#%21/search/%23Work" title="#Work" class="  twitter-hashtag pretty-link" data-query-source="hashtag_click"><s>#</s><b>Work</b></a> Opportunities await you HERE. <a href="/#%21/search/%23money" title="#money" class="  twitter-hashtag pretty-link" data-query-source="hashtag_click"><s>#</s><b>money</b></a> <a href="/#%21/search/%23discounts" title="#discounts" class="  twitter-hashtag pretty-link" data-query-source="hashtag_click"><s>#</s><b>discounts</b></a> <a href="/#%21/search/%23free" title="#free" class="  twitter-hashtag pretty-link" data-query-source="hashtag_click"><s>#</s><b>free</b></a> <a data-ultimate-url="" href="" data-expanded-url="" title="" target="_blank" rel="nofollow" class="twitter-timeline-link"><strong></strong>/l/1uvG4</a> - spon</p>
Edited by iTechTed89

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0