Beispiel #1
0
        private FacebookApp(string sessionId, FbConfig config, IWebApi api, ILogger log)
        {
            _log       = log;
            _sessionId = sessionId;
            _config    = config;
            _connected = new ManualResetEvent(false);
            _api       = GraphApi.New(config, api);
            _uploader  = PhotoUploader.New();

            trace(config.ToJson());
        }
Beispiel #2
0
 private GraphApi(FbConfig config, IWebApi web)
 {
     _config = config;
     _web    = web;
 }
Beispiel #3
0
 public static IFacebookApp New(string sessionId, FbConfig config, IWebApi api, ILogger log)
 {
     return(FacebookAppDTail.New(
                new FacebookApp(sessionId, config, api, log)));
 }
Beispiel #4
0
 public static IGraphApi New(FbConfig config, IWebApi web)
 {
     return
         (new GraphApi(config, web));
 }