Skip to content

QA: onShareInFacebook() Description Problem #11

@uyu423

Description

@uyu423

image

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 정보가 출력됩니다 ㅜㅜ
image
굳이 꼭 필요한 기능은 아닐 것 같지만. 분명 어느정도 수요가 있을 것 같습니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions