Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhotoPost 直後にTwitter でShareしたときにCardに画像が表示されない #12

Open
kozayupapa opened this issue May 24, 2022 · 1 comment

Comments

@kozayupapa
Copy link
Collaborator

WebからPhotoPost直後に下記のようなリンクをTwitterで記載してもOGPの表示がかきのようなじょうたいになる
https://dev.nounsmap.com/p/NyI3LsyFBabouaShmHeV

  • そもそもtwitterCardが表示されない
  • TwitterCardの枠はでてきてTextは表示されるが、画像が表示されない

下記のTwitterCardCheckerでは正しく表示されるので、キャッシュの問題が絡んでいると想定
https://cards-dev.twitter.com/validator

(関連情報)
firebase cloud functionのapi log を参考にすると 2486ms かかっている これを早くすると変わるかとおもったが、、
Function execution took 2486 ms, finished with status code: 200
image

別のPhotoをUploadしたときも 下記のようにはやくapiの応答はかえしても cardが表示されない現象は発生した。
Function execution took 114 ms, finished with status code: 200

@isamu
Copy link
Contributor

isamu commented May 24, 2022

staticなページをどこかに用意して、どれくらいかかるか比較してみるとよいです。
それで問題の切り分けができます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants