You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
post detail 페이지에서 페이스북 공유 버튼을 누르면 query string으로 넘어가는 description parameter가 마크다운 그대로 표시됩니다. (description=${encodeURIComponent(this.body)})
window.open(`https://www.facebook.com/v2.1/dialog/feed?&app_id=1404961129515494&caption=YOP: Year Of Programmers&description=${encodeURIComponent(this.body)}&display=popup&locale=ko_KR&name=${encodeURIComponent(this.title)}&link=${encodeURIComponent(url)}&picture=${image}&version=v2.1`,'facebookShare','toolbar=0,status=0,width=625,height=435');
그리고 server-side rendering이 구현되어 있지 않아 https://yop.cool/posts/-KbFigCHUHXEK4tuFFap 와 같은 url을 그대로 페이스북 글 작성에 붙여 넣을 경우 기본 OpenGraph Meta Tag 정보가 출력됩니다 ㅜㅜ
굳이 꼭 필요한 기능은 아닐 것 같지만. 분명 어느정도 수요가 있을 것 같습니다.
The text was updated successfully, but these errors were encountered:
@uyu423
네 ㅠㅠ 저거는 어쩔 수 없이 SPA + Firebase 특성상 아직 해결 못할 것 같습니다.
facebook share description같은 경우엔 그냥 본문 내용을 text로 때려박고 있기 때문에 마크다운 이 그대로 들어가는 경우가 있습니다 ㅠ 이건 개발보다는 기획단에서 생각을 해봐야할 문제 같네요 감사합니다!
post detail 페이지에서 페이스북 공유 버튼을 누르면 query string으로 넘어가는 description parameter가 마크다운 그대로 표시됩니다. (
description=${encodeURIComponent(this.body)}
)그리고 server-side rendering이 구현되어 있지 않아

https://yop.cool/posts/-KbFigCHUHXEK4tuFFap
와 같은 url을 그대로 페이스북 글 작성에 붙여 넣을 경우 기본 OpenGraph Meta Tag 정보가 출력됩니다 ㅜㅜ굳이 꼭 필요한 기능은 아닐 것 같지만. 분명 어느정도 수요가 있을 것 같습니다.
The text was updated successfully, but these errors were encountered: