public QQWeiboService(string appKey,string appSecret,string tokenKey,string openId) { oauthKey = new Oauthkey2(appKey, appSecret); oauthKey.tokenKey = tokenKey; oauthKey.openId = openId; //oauthKey.tokenSecret = accessSecret; accessor = new PlatFormInfoAccessor(); }
public override void SavePlatformInfo(platforminfo entity) { var accessor=new PlatFormInfoAccessor(); accessor.AddEntity(entity); }
public SinaWeiboService(string sessionKey) { accessor=new PlatFormInfoAccessor(); this.sessionKey = sessionKey; sinaClient = InitializeSinaClient(); }