Coder Social home page Coder Social logo

twitter 縮圖壞掉 about v1.ocf.tw HOT 6 CLOSED

pofeng avatar pofeng commented on July 21, 2024
twitter 縮圖壞掉

from v1.ocf.tw.

Comments (6)

ETBlue avatar ETBlue commented on July 21, 2024

this should be fixed by d9e9f5c would you check again 😅 😅 😅

https://opengraphr.com/open-graph-debugger
Screen Shot 2023-04-19 at 10 25 21 PM

from v1.ocf.tw.

toomore avatar toomore commented on July 21, 2024

@pofeng @ETBlue 問題可能出在目前我們的 og:image 是用相對路徑的問題,但 shema 規定是用 full URL,請問我們有網址參數可以加上去或是手動填上 https://ocf.tw?(昨天發了也是壞的

參考資料:

  1. https://stackoverflow.com/questions/9858577/open-graph-can-resolve-relative-url/9858694#9858694
  2. https://stackoverflow.com/questions/62146042/can-i-use-relative-path-in-open-graph
  3. https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started#opengraph

from v1.ocf.tw.

toomore avatar toomore commented on July 21, 2024

@ETBlue 修正方式改用 url, absolute_url 來取得完整的 URL,參考這裡的 filter,感謝! #43

from v1.ocf.tw.

toomore avatar toomore commented on July 21, 2024

@pofeng 看起來修好了,感謝葉子手滑直接 deploy XD
image
image

from v1.ocf.tw.

pofeng avatar pofeng commented on July 21, 2024

讚, 感謝三位 !!

from v1.ocf.tw.

ETBlue avatar ETBlue commented on July 21, 2024

@toomore @leaf0922 原來如此... 大感謝教學 & 補丁~~~

from v1.ocf.tw.

Related Issues (6)

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.