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