private void AddToken(FacebookToken token)
        {
            IDictionary<string, FacebookToken> tokens = GetTokens();

            if (tokens.ContainsKey(token.ApiKey)) {
                tokens.Remove(token.ApiKey);
            }

            tokens.Add(token.ApiKey, token);

            Session["facebookTokens"] = tokens;
        }
        private void CreateToken(string access_token, string appKey, int expirationTime)
        {
            FacebookToken token = new FacebookToken();
            token.ApiKey = appKey;
            token.creationTime = DateTime.Now;
            token.TokenExpirationTime = expirationTime;
            token.Token = access_token;

            AddToken(token);
        }