Created
December 17, 2012 23:31
-
-
Save boertel/4323449 to your computer and use it in GitHub Desktop.
Follow Action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.ptReady.push(function () { | |
PT.event.bind('twitter.follow', function (message) { | |
var screen_name = message.screen_name.toLowerCase(); | |
if (screen_name === "<YOUR TWITTER HANDLER>".toLowerCase()) { | |
_ptq.push(['follow', {points: 100}]); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment