Exemplo n.º 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());
        }
Exemplo n.º 2
0
 private GraphApi(FbConfig config, IWebApi web)
 {
     _config = config;
     _web    = web;
 }
Exemplo n.º 3
0
 public static IFacebookApp New(string sessionId, FbConfig config, IWebApi api, ILogger log)
 {
     return(FacebookAppDTail.New(
                new FacebookApp(sessionId, config, api, log)));
 }
Exemplo n.º 4
0
 public static IGraphApi New(FbConfig config, IWebApi web)
 {
     return
         (new GraphApi(config, web));
 }