public static void Main(string[] args)
        {
            FriendClient  client           = new FriendClient(app_key, master_secret);
            List <string> members_username = new List <string> {
                "jintian"
            };

            client.deleteFriends("xiaohuihui", members_username);
            Console.ReadLine();
        }
Пример #2
0
        public static void Main(string[] args)
        {
            FriendClient             client    = new FriendClient(app_key, master_secret);
            String                   username  = "******";
            String                   note_name = "new note name";
            String                   others    = "others";
            FriendInfoPayload        newinfo   = new FriendInfoPayload(username, note_name, others);
            List <FriendInfoPayload> payload   = new List <FriendInfoPayload> {
                newinfo
            };

            client.updateFriends("xiaohuihui", payload);
            Console.ReadLine();
        }
Пример #3
0
 public FriendTest()
 {
     this.client = new FriendClient(app_key, master_secret);
 }