What is the best way to implement a function just once when the plugin loads, regardless of the number of classes and instances?
For example,
I want to load the facebook api just once. However multiple instances will be used to place 'like' boxes..........., so I can't place the init code under the classes or instance oncreate(would load it multiple times)