๊ด€๋ฆฌ ๋ฉ”๋‰ด

Vintage appMaker์˜ Tech Blog

์ธํ„ฐ๋„ท ๋งํฌ๋ณต์‚ฌ ์‹œ "์ด๋ฏธ์ง€์™€ ์„ค๋ช…" - OpenGraph ๋ณธ๋ฌธ

Source code or Tip/Others

์ธํ„ฐ๋„ท ๋งํฌ๋ณต์‚ฌ ์‹œ "์ด๋ฏธ์ง€์™€ ์„ค๋ช…" - OpenGraph

VintageappMaker 2020. 10. 24. 11:00

๐Ÿ‘€ ๊ฐœ๋ฐœ์ž๋ผ๊ณ  IT์ •๋ณด๋ฅผ ๋งŽ์ด ์•„๋Š” ๊ฒƒ์€ ์•„๋‹ˆ๋‹ค. 

๋‚ด ์ง์—…์ด ๊ฐœ๋ฐœ์ž๋ผ๋Š” ์ด์œ ๋กœ ์•Œ์ง€๋„ ๋ชปํ•˜๋Š” "๋ถ„์•ผ"์˜ ์งˆ๋ฌธ์„ ๋ฐ›์„ ๋•Œ๊ฐ€ ์ข…์ข…์žˆ๋‹ค. ํŠนํžˆ ์ธํ„ฐ๋„ท ์„œํ•‘ํ•˜๋‹ค๊ฐ€ ๊ถ๊ธˆํ•œ ์›นํ™˜๊ฒฝ์„ ๋ฌผ์–ด๋ณด๋Š” ์‚ฌ๋žŒ๋“ค์ด ์žˆ๋Š”๋ฐ, ๊ทธ๊ฑด ์›น๊ฐœ๋ฐœ์ž๋“ค(frontend)์˜ ์˜์—ญ์ด์ง€ System์ด๋‚˜ Framework,  Embedded๋ฅผ ๊ฐœ๋ฐœํ•˜๋‹ค Mobile App์œผ๋กœ ์ „ํ–ฅํ•ด ๋จน๊ณ ์‚ฌ๋Š” ์‚ฌ๋žŒ์—๊ฒŒ ์งˆ๋ฌธํ•  ๋‚ด์šฉ์€ ์•„๋‹ˆ๋‹ค. ์ง€์ธ์ค‘ ๋ˆ„๊ตฐ๊ฐ€ "์นด์นด์˜คํ†ก์— ๋งํฌ๊ฑธ์—ˆ๋”๋‹ˆ ๊ทธ๋ฆผ๋‚˜์˜ค๋˜๋ฐ ์ด๊ฒƒ ์–ด์บํ•ด?"๋ผ๊ณ  ๋ฌผ์–ด๋ณด์•˜๋‹ค. ๋‹ต๋ณ€์„ 1.756432 sec๋งŒ์— "๋‹ˆ ๋ˆˆ์—๋Š” ๋‚ด๊ฐ€ ์•Œ ๊ฒƒ ๊ฐ™์ด ๋ณด์ด๋ƒ?"๋ผ๊ณ  ํ–ˆ๋‹ค.


 

"์ •๋ง ๋ชจ๋ฅธ๋‹ค"
๊ด€์‹ฌ๋„ ์—†์—ˆ๋‹ค. 
๊ทธ๋Ÿฐ๋ฐ ๊ฐ‘์ž๊ธฐ ๊ด€์‹ฌ์„ ๊ฐ€์ง€๊ฒŒ ๋˜์—ˆ๋‹ค. 
๊ทธ๋ž˜์„œ "๊ตฌ๊ธ€๋‹˜๊ป˜ ๊ธฐ๋„๋ฅผ ๋“œ๋ ธ๋‹ค"

 

๊ทธ๋žฌ๋”๋‹ˆ "OpenGraph"๋ผ๊ณ  ๊ณ„์‹œ๋ฅผ ํ•ด์ฃผ์…จ๋‹ค. OpenGraph๋Š” Facebook์—์„œ ์‹œ์ž‘๋œ ๊ทœ๊ฒฉ์œผ๋กœ...

 


"HTML"์˜ ํ•ด๋”์˜์—ญ์— meta ํƒœ๊ทธ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด 
๋งํฌ๋ฅผ ํ‘œ์‹œํ•˜๋Š” ๊ณณ์—์„œ meta ํƒœ๊ทธ๋‚ด์šฉ์„ ๋ถ„์„ํ•˜์—ฌ

"๋ฏธ๋ฆฌ๋ณด์—ฌ์ฃผ๊ธฐ"๋ฅผ ์ œ๊ณตํ•˜๋Š” ๊ฒƒ


์ด๋ผ๊ณ  ๋ณด๋ฉด๋œ๋‹ค. 

 

Open Graph protocol

The Open Graph protocol enables any web page to become a rich object in a social graph.

ogp.me


์˜ˆ๋กœ header์˜ meta tag๋ฅผ ๋‹ค์Œ๊ณผ ๊ฐ™์ดํ•˜๋ฉด ๋œ๋‹ค. 

์ด ์ฃผ์†Œ๋ฅผ ๊ฐ€์ง€๊ณ  ์นด์นด์˜คํ†ก์— ๋งํฌ๋ฅผ ๊ฑธ๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฏธ๋ฆฌ๋ณด๊ธฐ ํ™”๋ฉด์„ ๋ณผ ์ˆ˜ ์žˆ๋‹ค. 

 


OpenGraph๋ฅผ ์ ์šฉํ•œ ํŽ˜์ด์ง€๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค. 

 

crazy moringcall

stressful alarm

vintageappmaker.com

 

Comments