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(); }
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(); }
public FriendTest() { this.client = new FriendClient(app_key, master_secret); }