News for hackers. Stuff that matters.
Re:Neat trick for getting private info for Facebook, GMail, ... by abraham on Friday January 28, 2011 @09:21AM (#2151850)
Twitter provides an undocumented endpoint that returns true/false depending on your session state.

  <script>
    function twitterSessionsPresent(state) {
      console.log(state);
    }
  </script>
  <script src='https://api.twitter.com/sessions/present.js?callback=twitterSessionsPresent'></script>

There are no comments on this comment yet.