Meteor how to get access to Facebook Graph Api for both Server and Client side
问题 accounts-facebook package provides only logIn and logOut functionality. meteor-fbgraph gives access to fbgraph on server side. facebook-sdk gives access to fbgraph on client side. The problem is that facebook-sdk doesn't use anything provided with Accounts-ui, such as Accounts.onLogin event or Accounts.ui.config . After click on {{> loginButtons}} when user is logged in only Meteor.user() does log out, facebook-sdk still has it's AccessToken and remains logged in. In the result half of the