Skip to content
  • This project
    • Loading...
  • Sign in

Tenzing / Tz Tools

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • tz-tools
  • com
  • Auth
  • Twitter
  • tz-twitter.js
  • Marty Penner's avatar
    Add standard .gitignore and converted repo to top-level format · 6882044d
    6882044d Browse Files
    Marty Penner committed 2011-08-25 12:30:07 -0400
tz-twitter.js 265 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
twttr.anywhere(function(T) {
    T('#TwtLogin').connectButton();

    T.bind('authComplete', function(e, user) {
        console.log(e);
        console.log(user);
    });

    if (T.isConnected()) {
        console.log(T.currentUser.data('screen_name'));
    }
});