Best Blackhat Forum

Full Version: [JS/PHP TWITTER SCRIPT] REDIRECT AFTER TWEET
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
PHP Code:
<?php $tweet_txt 'Tweet Text'?>

<div>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.mysite.com" data-text="<?php echo $tweet_txt?>" data-count="none">Tweet</a>
</div>
 
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

<script type="text/javascript">
twttr.events.bind('tweet', function(event) {
alert("Tweet Successful");
window.location = "http://www.mysite.com"
});
</script> 
Can you explain how this works
where do you put the code etc
(09-01-2014 03:09 PM)pahsurf Wrote: [ -> ]Can you explain how this works
where do you put the code etc
Hey this code you can use on you directory website
for exemple create php file and put this code in phph file save and open this file
Reference URL's