Giter Site home page Giter Site logo

do-you-change-profile-image's Introduction

Do you change profile image?(DCI) 프사 바꿨네?

DCI는 내가 관심있는 사람이 카카오톡 프로필 이미지를 변경했을 때 자동으로 카카오톡 메시지를 전송해주는 프로그램입니다.

혹시, 여자친구의 프로필 사진 변경 사실을 뒤늦게 알아채 다툰 경험이 있으신가요?! 이 프로그램을 통해 확실하게 알아채보자구요!

프로젝트 간단 설명

카카오톡 소셜 API를 사용하여 사용자의 카카오톡 친구 데이터를 가져와 자신이 즐겨찾기 한 친구에 한해서 프로필 사진이 변경되었는지 여부를 확인하고 변경되었다면 카카오톡 메시지 API를 통해 축하 메시지를 전송합니다.

현재는 스케쥴러를 통해 1시간에 한 번씩 확인하여 변경된 친구가 있다면 전송하고 있습니다.

요구사항 분석 및 시스템 구성도

✅ 요구사항

  • 카카오톡 즐겨찾기에 등록된 친구가 프로필 사진을 변경하였는지 감지할 수 있어야 한다.
  • 감지된 친구에 한해서 최대 5명에게 메시지를 전송할 수 있어야 한다.
  • 일정 시간 단위(30분)로 감지하여 프로필 사진을 변경했을 경우 메시지를 전송해야 하고 필요하다면 사용자가 직접 API를 호출하여 메시지를 전송할 수 있어야 한다.
  • 한 번에 보낼 수 있는 친구는 최대 5명이고 이를 초과했을 경우 다음 페이즈에 전송하면 되기 때문에 고려하지 않는다.

✅ 시스템 구성도

결과 화면

배운 점

  • API를 통해 통신하며 내가 원하는 기능을 추가할 수 있게됨
  • x-www-form-urlencoded로 요청 받기를 원하는 API의 경우 Java에 알맞은 Converter가 없어서 직접 String으로 올바른 객체를 생성하여 전송해야 함
  • Stream API를 보다 자연스럽게 사용하게 됨

do-you-change-profile-image's People

Contributors

ybkim-dev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.