트위터 로그인 추가는 어떻게 하나요?
  • 05 Sep 2022
  • 1 Minutes to read
  • 다크모드
    라이트모드
  • PDF

트위터 로그인 추가는 어떻게 하나요?

  • 다크모드
    라이트모드
  • PDF

๐Ÿ‘‰๐Ÿป [Settings >ํšŒ์›๊ฐ€์ž… ํ•ญ๋ชฉ]์˜ ๋กœ๊ทธ์ธ ์—ฐ๊ฒฐ SNS ์„ค์ •์˜ [+์ถ”๊ฐ€ํ•˜๊ธฐ]๋ฅผ ํด๋ฆญํ•˜์—ฌ, ํŠธ์œ„ํ„ฐ ๋กœ๊ทธ์ธ์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • ํŠธ์œ„ํ„ฐ์— ํšŒ์› ๊ฐ€์ž…์„ ํ•˜์—ฌ ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. ํšŒ์› ๊ฐ€์ž… ์‹œ ํ•ธ๋“œํฐ ๋ฒˆํ˜ธ๋ฅผ ๊ผญ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.
  • Developer Portal๋กœ ์ด๋™ํ•˜์‹œ์–ด, ๊ฐ€์ž…ํ•˜์‹  ํŠธ์œ„ํ„ฐ ๊ณ„์ •์œผ๋กœ ๋กœ๊ทธ์ธ์„ ์ง„ํ–‰ํ•ด์ฃผ์„ธ์š”.
  • ๋กœ๊ทธ์ธ ํ›„ ์šฐ์ธก ์ƒ๋‹จ์˜ [Create an app]์„ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.
  • Please apply for a Twitter developer account ๋ฉ”์„ธ์ง€๋ฅผ ํ™•์ธํ•˜์‹  ํ›„ [Apply]๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”. 
  • App์„ ์ƒ์„ฑํ•˜๊ธฐ ์ „ Developer ๋“ฑ๋ก์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ํŠธ์œ„ํ„ฐ์—์„œ ์š”๊ตฌํ•˜๋Š” ๊ธฐ๋ณธ ์ •๋ณด๋ฅผ ๊ธฐ์ž…ํ•œ ํ›„ Submit์„ ํด๋ฆญํ•˜์—ฌ ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
  • What country are you based in?: ๊ฑฐ์ฃผํ•˜๋Š” ๋‚˜๋ผ๋ฅผ ์„ ํƒํ•ด์ฃผ์„ธ์š”. ๋Œ€ํ•œ๋ฏผ๊ตญ์ผ ๊ฒฝ์šฐ, South Korea๋ฅผ ์„ ํƒํ•ด์ฃผ์„ธ์š”.
  • What's your use case?: ์‚ฌ์šฉ ๋ชฉ์ ์„ ์„ ํƒํ•ด์ฃผ์„ธ์š”. ์ •๋ณด ์ทจํ•ฉ ๋ชฉ์ ์ด๋ฏ€๋กœ ์–ด๋–ค ํ•ญ๋ชฉ์„ ์„ ํƒํ•˜์…”๋„ ๋ฉ๋‹ˆ๋‹ค.
  • Will you make Twitter content or derived information available to a government entity or a government affiliated entity?: ํŠธ์œ„ํ„ฐ ์ฝ˜ํ…์ธ ๋‚˜ ํŒŒ์ƒ๋œ ์ •๋ณด๋“ค์„ ์ •๋ถ€๋‚˜ ์‚ฐํ•˜๊ธฐ๊ด€์— ์ œ๊ณตํ•˜๊ฒ ์Šต๋‹ˆ๊นŒ? ์˜ˆ ๋˜๋Š” ์•„๋‹ˆ์˜ค ์ค‘์— ์„ ํƒํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.
  • ์„ ํƒ์„ ์™„๋ฃŒํ•˜์‹  ํ›„, Let's do this ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ด์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
  • ํŠธ์œ„ํ„ฐ ๊ณ„์ •์— ๋“ฑ๋ก๋œ ์ „ํ™”๋ฒˆํ˜ธ๊ฐ€ ์—†์œผ๋ฉด ์ง„ํ–‰์ด ๋ถˆ๊ฐ€ํ•˜๋‹ˆ ๋ฐ˜๋“œ์‹œ ์ „ํ™”๋ฒˆํ˜ธ๋ฅผ ๋“ฑ๋กํ•˜์‹œ๊ณ  ์ธ์ฆ๊นŒ์ง€ ํ•ด์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

  • ์ง„ํ–‰์„ ์œ„ํ•ด ์•ฝ๊ด€์— ๋™์˜ํ•ด์ฃผ์„ธ์š”. Accept Terms & Conditions์— ์ฒดํฌํ•˜์‹  ํ›„, Submit ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ์ฃผ์„ธ์š”.


  • ์„œ๋น„์Šค๋ช…์„ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.  (์˜ˆ์‹œ: ์„œ๋น„์Šค๋ช…์ด ๊ฐ€๋‚˜๋‹ค์ƒ์ ์ผ ๊ฒฝ์šฐ, ๊ฐ€๋‚˜๋‹ค์ƒ์  ์ž…๋ ฅ)
  • ๋ณ„๋„์˜ ๋ฆฌ๋ทฐ ์ ˆ์ฐจ ์—†์ด ์„œ๋น„์Šค๋ช…์„ ์ž‘์„ฑํ•œ ํ›„, [Get keys]๋ฅผ ๋ˆ„๋ฅด๊ฒŒ ๋˜๋ฉด [API Key] ๋ฐ [API Key Secret] ํ™•์ธ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

 

  • ์ถ”๊ฐ€์ ์œผ๋กœ ์„ค์ •์ด ํ•„์š”ํ•œ ๋ถ€๋ถ„์ด ์žˆ์–ด ํ˜„์žฌ ์‹œ์ ์˜ [API Key] ๋ฐ [API Key Secret] ๋ณต์‚ฌ๋Š” ๋ถˆํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

 

  • ์ƒ์„ฑ๋œ APP์˜ ํ†ฑ๋‹ˆ๋ฐ”ํ€ด ๋ชจ์–‘์˜ [App Settings]๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.

  • User authentication settings์˜ [Set up]์„ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.

 

  • Type of App: [Native App]์„ ์„ ํƒํ•ด์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

  • Callback URI / Redirect URL ๋ถ€๋ถ„์— b.stage์—์„œ ์ œ๊ณต๋œ [๋Œ€ํ‘œ๋„๋ฉ”์ธ/account/social-login]๊ณผ [๋Œ€ํ‘œ๋„๋ฉ”์ธ/account/social-connect] 2๊ฐœ ๋ชจ๋‘ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.
    • ๋ฐ˜๋“œ์‹œ http:// ๋˜๋Š” https:// ๋ฅผ ๊ธฐ์ž…ํ•˜์—ฌ ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
  • Website URL ๋ถ€๋ถ„์— ๋Œ€ํ‘œ ๋„๋ฉ”์ธ์„ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.
  • ๋งŒ์•ฝ ์ปค์Šคํ…€ ๋„๋ฉ”์ธ์„ ์‚ฌ์šฉํ•  ๊ฒฝ์šฐ, ์ปค์Šคํ…€ ๋„๋ฉ”์ธ URL ๋˜ํ•œ ์ถ”๊ฐ€ํ•˜์—ฌ ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
  • ์œ„์˜ ํ•ญ๋ชฉ์— ๋Œ€ํ•œ ์ž‘์„ฑ์„ ์™„๋ฃŒํ•˜์‹œ๋ฉด, ํ•˜๋‹จ์˜ [Save]๋ฅผ ํด๋ฆญํ•˜์—ฌ ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
    • [Save]๋ฅผ ํด๋ฆญํ•˜์‹œ๋ฉด, ์ž๋™์œผ๋กœ ๋‹ค์‹œ Dashboard๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

  • Dashboard ๋‚ด์˜ [Keys and tokens]๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.
  • Consumer Keys์˜ [Regenerate]๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.
     
  • ์ƒ์„ฑ๋œ [API Key] ๋ฐ [API Key Secret]๋ฅผ ๋ณต์‚ฌํ•ด์ฃผ์„ธ์š”.


โ–ถ b.stage์— ์—ฐ๊ฒฐ๋ฐฉ๋ฒ•

  • b.stage์˜ SETTING > ํšŒ์›๊ฐ€์ž… ํ•ญ๋ชฉ > ๊ฐ„ํŽธ ๋กœ๊ทธ์ธ ์„ค์ • > ์ถ”๊ฐ€ํ•˜๊ธฐ > ํŠธ์œ„ํ„ฐ๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.
  • ํŠธ์œ„ํ„ฐ์—์„œ ๋ณต์‚ฌํ•œ [API Key]์™€ [API Key Secret] ๋ฅผ ์ž‘์„ฑํ•˜๊ณ , ๋“ฑ๋กํ•˜๊ธฐ๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”.
  • ์ •์ƒ์ ์œผ๋กœ ์ถ”๊ฐ€๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด, ๊ฐ„ํŽธ ๋กœ๊ทธ์ธ ์„ค์ •์— ๋…ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

*์ฐธ๊ณ  : ์„œ๋น„์ŠคํŽ˜์ด์ง€์—์„œ ์ด๋ฉ”์ผ๋กœ ํšŒ์›๊ฐ€์ž…์„ ์ง„ํ–‰ ํ›„ ๊ณ„์ •์ •๋ณด > ๊ฐ„ํŽธ๋กœ๊ทธ์ธ ๋ฒ„ํŠผ์ด ํ™œ์„ฑํ™” ๋˜์–ด์•ผ SNS๊ณ„์ •์œผ๋กœ ๋กœ๊ทธ์ธ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.


이 문서가 도움이 되었습니까?