So, I've successfully gotten a Twitter widget to work, but there's a problem with the preg_replace on the first $ret. These variables are obviously created to find links and hash tags. The first one was meant to detect http:// links and the second one is for www and ftp.
If you test it out and hover your mouse over a link on the latest tweet, you'll notice that there's "http//" instead of "http://".
Question
Mr.XXIV
So, I've successfully gotten a Twitter widget to work, but there's a problem with the preg_replace on the first $ret. These variables are obviously created to find links and hash tags. The first one was meant to detect http:// links and the second one is for www and ftp.
If you test it out and hover your mouse over a link on the latest tweet, you'll notice that there's "http//" instead of "http://".
Can I get a little help on that please? :)
Link to comment
Share on other sites
5 answers to this question
Recommended Posts