Skip to content

Instantly share code, notes, and snippets.

@boertel
Created December 17, 2012 23:31
Show Gist options
  • Save boertel/4323449 to your computer and use it in GitHub Desktop.
Save boertel/4323449 to your computer and use it in GitHub Desktop.
Follow Action
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