loosie / github-readme-tistory-card Goto Github PK
View Code? Open in Web Editor NEWgithub profile readme에 tistory 카드를 올려보자
Home Page: https://github-readme-tistory-card.vercel.app
License: MIT License
github profile readme에 tistory 카드를 올려보자
Home Page: https://github-readme-tistory-card.vercel.app
License: MIT License
Tistory 포스트 카드 관련 api 요청시 -> Error: Request failed with status code 404
를 반환하고 있습니다.
저만 이런 건가 싶어서 다른 사람들이 사용한 것도 보았는데, 똑같이 엑스박스로 뜨고 있습니다. 제 노트북 환경 외에 다른 환경에서 이렇게 뜨는 지는 확인하지 못 했습니다.
사용한 코드 방식:
<img src="https://github-readme-tistory-card.vercel.app/api?name=nx006" alt="Tistory Post">
또한 다음과 같이 직접 postId=default
로 설정해두어도, 여전히 오작동합니다.
<img src="https://github-readme-tistory-card.vercel.app/api?name=nx006&postId=default" alt="Tistory Post">
재밌는 점은, 만약 제가 postId=28
이런 식으로 직접 제공한다면, 이건 또 뜹니다.
바로 아래 코드처럼요:
<img src="https://github-readme-tistory-card.vercel.app/api?name=nx006&postId=28" alt="Tistory Post">
그런데 모든 postId에 뜨는 건 아니고, 최신 post인 postId=29를 넣어봤는데, 이건 또 안 됩니다(postId=19는 존재합니다).
즉 종합적으로 봤을 때 가장 최신 포스트를 불러오는데 무엇인가 문제가 있어 보입니다. postId를 최신이 아닌 유효한 다른 포스트를 불러오려 했을 때는 잘 되다가, 꼭 최신의 포스트만 안 되는 것 같습니다.
이것은 해당 깃허브의 README.md의 모습인데, 똑같이 엑박이 뜨고 있습니다.
처음에는 API Key가 만료되었나 싶었지만, 최신 포스트를 제외한 다른 포스트들은 모두 정상적으로 보여지는 것을 보니 그러한 문제는 아닌 것 같습니다.
원래는 원인을 해결해보고자 시도하였으나, 마땅한 해결 방법은 찾지 못 하여서, 대신 버그 제보로 대신합니다.
아래는 각각 실제 tistory card를 받아오게끔 시도하는 코드입니다.
두 번째는 직접 postId를 지정했습니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.