Created
February 3, 2013 13:17
-
-
Save davidbauer/4701748 to your computer and use it in GitHub Desktop.
get authenticating user's name for further usage
This file contains hidden or 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
// test to get logged in user's name for further use | |
$.getJSON("http://tlinkstimeline.appspot.com/loggedinuser?callback=?", function(loggedinuser){ | |
if (loggedinuser) { | |
var thename = loggedinuser; | |
console.log("hello " + thename); | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment