Using the facebook api in a c++ application