The objectives of research were 1) to develop the Computer-Assisted Instruction (CAI) of Object-oriented programming subject for collaborative learning via social media, 2) to compare achievement before and after learning by using the Computer-Assisted Instruction (CAI) of Objectoriented programming subject for collaborative learning via social media, and 3) to find the satisfaction after learning by using the Computer-Assisted Instruction (CAI) of Object-oriented programming subject for collaborative learning via social media. The purposive sample were 34 students that register of Object-oriented programming subject in semester 1/2558. The instruments of research were CAI in Facebook, achievement test in http://www.examonline.in.th and questionnaire with Google Drive. The data were analyzed by basic statistic and t-test dependent sample group. The results of research included as follows 1) The result of developed Computer-Assisted Instruction (CAI) consisted of pretest, lesson objectives, content of the Computer-Assisted Instruction (CAI) through social media, learning activities, and posttest 2) The achievement after learning was higher than before learning by using the Computer-Assisted Instruction (CAI) of Object-oriented programming subject for collaborative learning via social media at statistically significant level .05, and 3) the learner’s satisfaction after learning by using the Computer-Assisted Instruction (CAI) of Object-oriented programming subject for collaborative learning via social media was at the high level. Therefore, the Computer-Assisted Instruction (CAI) of Object-oriented programming subject for collaborative learning via social media can be applied in classroom effectively