i have to use fbjs for my current app.
i was using the api.requireLogin function earlier but then i looked over at the docs and found the function has been deprecated and suggested to use FB.Connect.requireSession() instead.
I wanted to know how do i get the uid of the current user?